Page 1 of 1

zpool online -e no such device in pool

PostPosted: Wed Dec 23, 2015 6:31 pm
by gregthegeek
Hello all!
I recently installed new 4Tb drives into a mirror pool, which went fine, but the size didn't expand. expandsize does show 2.73TB which I would expect, but zfs list does not show the new sizes. When I try running a zpool online -e command, I get "no such device in pool". Even if I try using the GUID for the disk it does this. I can only "online" the disk if I do not use the -e switch. It will find the device normally without that. Problem is, it won't expand without that. At least thats my understanding.

Any thoughts?
Thanks for the help!

Greg

Re: zpool online -e no such device in pool

PostPosted: Wed Dec 30, 2015 11:17 pm
by ilovezfs
Probably the same as discussed here:
viewtopic.php?f=11&t=2384

Export and then import -d /dev, and it should work. Then export and import -d /private/var/run/disk/by-id to get the persistent names back.

Re: zpool online -e no such device in pool

PostPosted: Sat Jan 02, 2016 12:44 pm
by gregthegeek
Oh cool, it didn't occur to me to simply try -d /dev. I'll give that a shot and report back.
Thank you!

Re: zpool online -e no such device in pool

PostPosted: Sun Jan 03, 2016 9:07 pm
by gregthegeek
That worked great to see the devices as disk3 and disk4 in /dev. But I still got the error when I tried to do an "online -e". So I tried an "offline" first, then it worked!

Code: Select all
zpool offline MYPOOL disk3
zpool online -e MYPOOL disk3


That worked! But I'm thinking having the zpool import -d /dev first did help with device naming.

Thanks for the help!

Re: zpool online -e no such device in pool

PostPosted: Mon Jan 04, 2016 10:18 pm
by ilovezfs