On Tue, Mar 29, 2016 at 5:42 PM, Jort Bloem <[email protected]> wrote:
> Hi guys, > > As mentioned in my previous email, I run a zpool, where drives are > identified by vdev (/dev/disk/by-vdev). > > Whenever I reboot my server, zpool status shows all the disks as /dev/sd_ > or /dev/sd__, rather than their by-vdev name. > > If I then export the pools, and run: > ZPOOL_IMPORT_PATH="/dev/disk/by-vdev/" zpool import -a > > it then works correctly. > > I have in /etc/default/zfs "USE_DISK_BY_ID=yes" > > I am running Ubuntu 14.04 LTS. > > Any ideas? > > Jort > > It appears that by-vdev only gets appended to the search path if it exists, so is it possible that at the time zfs-import is running, /dev/disk/by-vdev isn't yet there? If this only happened once per system, I'd guess that you needed a clean export to rewrite the cosmetic vdev names on the labels, but if it's every reboot, then that's probably not the case. - Rich ------------------------------------------- openzfs-developer Archives: https://www.listbox.com/member/archive/274414/=now RSS Feed: https://www.listbox.com/member/archive/rss/274414/28015062-cce53afa Modify Your Subscription: https://www.listbox.com/member/?member_id=28015062&id_secret=28015062-f966d51c Powered by Listbox: http://www.listbox.com
