All right, after several days of searching for a fix and learning hours and hours about zfs in general and finally messing up a bit with good help on stackexchange i decided to reach out to you guys.
FYI i'm quiet new to this whole zfs thing.
Basically i had a esxi on which i had a freenas vm with 2 hdd's mapped into the freenas vm with raw device mapping. After the boot usb drive failed i also couldn't get the ssd on which the freenas boot was stored get to import into the new esxi installation and now there i am, installing a fresh freenas in which i can't import my pool.
zpool import has following results:
Now, what i already messed up is the '3073530158529594642' entry which originally was a 'gptid/4efeae5c-6fbe-11e6-a255-000c292268d7'.
My original configuration was 2x3tb on each one 2tb mirrored and the other tb striped together.
If i'm correct, the mirror is fine, however the stripe is broken. I don't need the stripe, i just want to restore the mirror and i would be fine with that.
Now the problem is, that i dont know how.
'zpool remove datastore 15540268895717230009' results in a 'cannot open 'datastore': no such pool'.
Same with replacing the hdd with the guid '3073530158529594642' which i messed up.
Importing isn't working because of either 'cannot import 'datastore': pool may be in use from other system, it was last accessed by...'
or with -f arg
I hope there is a solution to this, my girlfriend is going to kill me if all the pictures are gone...
FYI i'm quiet new to this whole zfs thing.
Basically i had a esxi on which i had a freenas vm with 2 hdd's mapped into the freenas vm with raw device mapping. After the boot usb drive failed i also couldn't get the ssd on which the freenas boot was stored get to import into the new esxi installation and now there i am, installing a fresh freenas in which i can't import my pool.
zpool import has following results:
Code:
pool: datastore id: 9178951695516496991 state: UNAVAIL status: The pool was last accessed by another system. action: The pool cannot be imported due to damaged devices or data. see: http://illumos.org/msg/ZFS-8000-EY config: datastore UNAVAIL insufficient replicas mirror-0 DEGRADED 3073530158529594642 UNAVAIL cannot open gptid/381bc8c5-f2d4-11e5-a788-000c292268d7 ONLINE 15540268895717230009 UNAVAIL cannot open
Now, what i already messed up is the '3073530158529594642' entry which originally was a 'gptid/4efeae5c-6fbe-11e6-a255-000c292268d7'.
My original configuration was 2x3tb on each one 2tb mirrored and the other tb striped together.
If i'm correct, the mirror is fine, however the stripe is broken. I don't need the stripe, i just want to restore the mirror and i would be fine with that.
Now the problem is, that i dont know how.
'zpool remove datastore 15540268895717230009' results in a 'cannot open 'datastore': no such pool'.
Same with replacing the hdd with the guid '3073530158529594642' which i messed up.
Importing isn't working because of either 'cannot import 'datastore': pool may be in use from other system, it was last accessed by...'
or with -f arg
Code:
cannot import 'datastore': no such pool or dataset Destroy and re-create the pool from a backup source.
I hope there is a solution to this, my girlfriend is going to kill me if all the pictures are gone...