zpool online -e no such device in pool

All your general support questions for OpenZFS on OS X.

zpool online -e no such device in pool

Postby gregthegeek » Wed Dec 23, 2015 6:31 pm

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
gregthegeek
 
Posts: 9
Joined: Wed Dec 23, 2015 6:25 pm

Re: zpool online -e no such device in pool

Postby ilovezfs » Wed Dec 30, 2015 11:17 pm

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.
ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am

Re: zpool online -e no such device in pool

Postby gregthegeek » Sat Jan 02, 2016 12:44 pm

Oh cool, it didn't occur to me to simply try -d /dev. I'll give that a shot and report back.
Thank you!
gregthegeek
 
Posts: 9
Joined: Wed Dec 23, 2015 6:25 pm

Re: zpool online -e no such device in pool

Postby gregthegeek » Sun Jan 03, 2016 9:07 pm

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!
gregthegeek
 
Posts: 9
Joined: Wed Dec 23, 2015 6:25 pm

Re: zpool online -e no such device in pool

Postby ilovezfs » Mon Jan 04, 2016 10:18 pm

ilovezfs
 
Posts: 232
Joined: Thu Mar 06, 2014 7:58 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 25 guests

cron