Comment 5 for bug 1575921

Revision history for this message
Kyle Peterson (kyle-peterson1) wrote : Re: [Bug 1575921] Re: Cannot create zpool using links in /dev/disk/by-id

I think it might be fixed. Yesterday I split apart my zfs mirror, reattached the drive using /dev/disk/by-id and it worked without any issues. I am using the 4.8 kernel now which has zfs 0.6.5.8. It looks like the userland zfs tools are still at 0.6.5.7.

> On Apr 20, 2017, at 2:52 AM, Colin Ian King <email address hidden> wrote:
>
> @Kyle, is this still an issue? I'm not sure about the fix, as it seems
> to be in the current Xenial ZFS, so it should have addressed the issue
> for you.
>
> ** Changed in: zfs-linux (Ubuntu)
> Status: Confirmed => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1575921
>
> Title:
> Cannot create zpool using links in /dev/disk/by-id
>
> Status in Native ZFS for Linux:
> Unknown
> Status in zfs-linux package in Ubuntu:
> Incomplete
>
> Bug description:
> ZoL issue: https://github.com/zfsonlinux/zfs/issues/3708
>
> I see this issue on Ubuntu 16.04 server; creating a zpool using
> /dev/disk/by-id labels fail with error 'no such pool or dataset'. The
> problem also happens when uzing zpool attach to attach a drive to a
> single disk pool to create a mirror when using /dev/disk/by-id labels.
>
> $ sudo zpool attach storage ata-WDC_WD30EFRX-68EUZN0_WD-WCC4NPDEFNLP ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0879632
> cannot attach ata-WDC_WD30EFRX-68AX9N0_WD-WCC1T0879632 to ata-WDC_WD30EFRX-68EUZN0_WD-WCC4NPDEFNLP: no such pool or dataset
>
> Using /dev/sdx labels works as a workaround.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/zfs/+bug/1575921/+subscriptions