-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.6.4 and multipathing #3297
Comments
Yes, export the pool and then re-import it using |
Hello same problem, after reboot on Ubuntu 14.04.2 and upgrade 0.6.3 -> 0.6.4, module multipath comes after zfs module, so ZFS import at mountall step all volumes without multipath devices aliases. |
@smaurin I had a similar problem, do you have multipath-tools-boot installed? This adds multipath to the initramfs very early to get the disks setup. |
After further testing, I'm also experiencing this bug. It looks like zfs comes up before multipath, resulting in it importing via the raw disk interface instead of the multipath device. |
0.6.5 seems to correct this bug with ubuntu 14.04.3. |
Doesn't' seem to have solved my problem on 14.04.3. Right now, ZFS imports on the /dev/mapper/* interfaces, so at least its doing multipath, buy it's not using my vdev_id.conf names |
To do that, don't you have to use |
Yes, I have: vdev_id.conf
And /dev/disk/by-vdev is properly populated once the system is running:
By the zpool is imported on the entries in /dev/mapper, rather than the vdev entries. |
What I meant was, that you might have better luck running:
|
Sure, I can do that, but my issue is that it doesn't work properly during boot. I originally created this array using by-vdev devices and if I import after boot things are fine. |
@gdevenyi have you tried introducing a brief delay during the boot process. What's most likely happening is the pool is being imported before all the by-vdev links have had a chance to be created. If you have a large pool (10's of disks) you may need to wait a few seconds. |
It is indeed 10's of disks. I have increased the delays that ZFS offers in its configs, is there any other place I could add a delay? |
This has been resolved in master and will be further improved by #4794 when its merged. |
I did an upgrade from 0.6.3 to 0.6.4 where mpath devices were the previous device names (should have used dev-id perhaps), upon reboot ZFS came up using the dev-id disk names now losing the mpath capability. Is there a way to convert zfs to use different disk names from the current?
I see the code actually scans upon import based on a set of paths serialized, but is there a way to instruct the cache file to use new devices? (ie, scsi-xxxxx is replaced by mpath-xxxxxxx)
The text was updated successfully, but these errors were encountered: