[zfs-discuss] Re: /dev/zd* and /dev/zvol missing with kernel 3.0.0-16

Christ Schlacta aarcane at aarcane.org
Mon Feb 20 02:32:12 EST 2012


On 2/19/2012 21:00, elventear wrote:
> On Feb 19, 11:36 am, e-t172<e-t... at akegroup.org>  wrote:
>> Sounds like #441 to me:https://github.com/zfsonlinux/zfs/issues/441
> I think I have discovered the cause of my issue, at least. I have a
> removable drive that I am using to do backups using send and receive.
> I imported the zpool in this drive without the -R which, I have
> recently discovered, is a must if it is removable media. Well anytime
> that I boot without the drive, I get that drive's zpool as UNAVAIL. I
> have tried destroying it when it's unavailable, import the zpool again
> with -R and then exporting. It always ends disappearing from my system
> but on the next reboot it will come back.
>
> If I boot with the drive attached, then all the zpools will be in a
> healthy state and I have no issues. I am wondering if udev is aborting
> doing anything because the there is an error with the zpools? In my
> case this zpool is the first one alphabetically, maybe udev bails out
> on the first error? I have not investigated the cause at all, these
> are wild guesses without really knowing well how ZOL works with udev.
>
> Until that gets resolved, I am wondering if someone can help me figure
> out how to stop this zpool to stop showing on boot?
>
> Thanks!
Try exporting the pool properly, recreate the initramfs 
(update-initramfs -c -k all), and reboot the system.  If it comes up 
properly, then re-import the pool and retry the reboot process.



More information about the zfs-discuss mailing list