Hey everyone.
Last night I finally upgraded to FreeNAS 8.3-RELEASE from 8.0.4. Since then, my zpool "main" has not come online automatically on boot. I did some digging, and found something interesting...
So it appears that zpool import thinks that I have two pools with the same name... I can assure you, I have one pool. Since they have the same name, I tried importing them based on ID. Lets try the first one that will surely fail:
That date... okay... Something's fishy here. Lets do the second one that looks healthy and online, presumably the one with my data:
There's my data. Phew!
The web GUI was complaining about a volume with a duplicate name when I tried to do the auto-import. Now have found this stale/rouge zpool, I would imagine the next thing to do would be to destroy it and then try the import again.
Thing is, zpool destroy does not accept an ID as a parameter, only a name... I have two zpools with the same name, so now what?
Anyway, somebody please tell me if I'm on the right path with this logic. And if I am, can somebody please advise me with the next step on how to nuke this stale zpool (id: 5551600229828797753) and proceed on to getting my system online again.
Thank you all for your time and have a great night,
-- devsforev
Last night I finally upgraded to FreeNAS 8.3-RELEASE from 8.0.4. Since then, my zpool "main" has not come online automatically on boot. I did some digging, and found something interesting...
Code:
[root@roku] /data/zfs# zpool import pool: main id: 5551600229828797753 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://www.sun.com/msg/ZFS-8000-EY config: main UNAVAIL insufficient replicas 4790801146886228091 UNAVAIL cannot open 2805911385260330571 UNAVAIL cannot open 651395760516798873 UNAVAIL cannot open 1799081482536981512 UNAVAIL cannot open pool: main id: 9440702576656588814 state: ONLINE action: The pool can be imported using its name or numeric identifier. config: main ONLINE raidz1-0 ONLINE gptid/92469923-51ef-11e0-8ae7-001b219e8995 ONLINE gptid/9257de68-51ef-11e0-8ae7-001b219e8995 ONLINE gptid/92691460-51ef-11e0-8ae7-001b219e8995 ONLINE gptid/927ab515-51ef-11e0-8ae7-001b219e8995 ONLINE
So it appears that zpool import thinks that I have two pools with the same name... I can assure you, I have one pool. Since they have the same name, I tried importing them based on ID. Lets try the first one that will surely fail:
Code:
[root@roku] /data/zfs# zpool import 5551600229828797753 cannot import 'main': pool may be in use from other system, it was last accessed by unset (hostid: 0xeaafaa42) on Wed Dec 31 19:00:00 1969 use '-f' to import anyway
That date... okay... Something's fishy here. Lets do the second one that looks healthy and online, presumably the one with my data:
Code:
[root@roku] /data/zfs# zpool import -R /mnt 9440702576656588814 [root@roku] /data/zfs# zpool status pool: main state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM main ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/92469923-51ef-11e0-8ae7-001b219e8995 ONLINE 0 0 0 gptid/9257de68-51ef-11e0-8ae7-001b219e8995 ONLINE 0 0 0 gptid/92691460-51ef-11e0-8ae7-001b219e8995 ONLINE 0 0 0 gptid/927ab515-51ef-11e0-8ae7-001b219e8995 ONLINE 0 0 0 errors: No known data errors [root@roku] /data/zfs# ls /mnt/ ./ ../ .snap/ main/ md_size [root@roku] /data/zfs# ls /mnt/main/ ./ .AppleDesktop/ .TemporaryItems/ Network Trash Folder/ home/ ../ .AppleDouble/ .apdisk* Temporary Items/ .AppleDB/ .DS_Store .freenas/ data/
There's my data. Phew!
The web GUI was complaining about a volume with a duplicate name when I tried to do the auto-import. Now have found this stale/rouge zpool, I would imagine the next thing to do would be to destroy it and then try the import again.
Thing is, zpool destroy does not accept an ID as a parameter, only a name... I have two zpools with the same name, so now what?
Anyway, somebody please tell me if I'm on the right path with this logic. And if I am, can somebody please advise me with the next step on how to nuke this stale zpool (id: 5551600229828797753) and proceed on to getting my system online again.
Thank you all for your time and have a great night,
-- devsforev