Comment 10 for bug 1760879

Revision history for this message
Ryan Harper (raharper) wrote : Re: [Bug 1760879] Re: zfsroot fails: FileNotFoundError - [Errno 2] No such file or directory: '/dev/disk/by-id'

As per the collect logs, on an ephemeral node, you can find curtin here:

/curtin/bin/curtin collect-logs

On Tue, Apr 3, 2018 at 1:06 PM, Ryan Harper <email address hidden> wrote:
> OK,
>
> The issue here is that we want to follow zfs best-practices here which
> means specifying disks by-id;
> You don't have those here because your disks don't have serial numbers.
>
> That said, I think we could WARN and accept it; though it does mean
> the user is at risk if the drive names
> change.
>
>
>
> On Tue, Apr 3, 2018 at 12:26 PM, Andreas Hasenack <email address hidden> wrote:
>> This is what I have in /dev/disk:
>> ubuntu@46-f4:~$ sudo su -
>> root@46-f4:~# ls -la /dev/disk
>> total 0
>> drwxr-xr-x 4 root root 80 Apr 3 17:25 .
>> drwxr-xr-x 17 root root 3600 Apr 3 17:25 ..
>> drwxr-xr-x 2 root root 60 Apr 3 17:25 by-partuuid
>> drwxr-xr-x 2 root root 160 Apr 3 17:25 by-path
>> root@46-f4:~# ls -la /dev/disk/by-partuuid/
>> total 0
>> drwxr-xr-x 2 root root 60 Apr 3 17:25 .
>> drwxr-xr-x 4 root root 80 Apr 3 17:25 ..
>> lrwxrwxrwx 1 root root 10 Apr 3 17:25 9ef12100-01 -> ../../vda1
>> root@46-f4:~# ls -la /dev/disk/by-path/
>> total 0
>> drwxr-xr-x 2 root root 160 Apr 3 17:25 .
>> drwxr-xr-x 4 root root 80 Apr 3 17:25 ..
>> lrwxrwxrwx 1 root root 9 Apr 3 17:25 pci-0000:00:06.0 -> ../../vda
>> lrwxrwxrwx 1 root root 10 Apr 3 17:25 pci-0000:00:06.0-part1 -> ../../vda1
>> lrwxrwxrwx 1 root root 9 Apr 3 17:25 pci-0000:00:08.0 -> ../../vdb
>> lrwxrwxrwx 1 root root 9 Apr 3 17:25 virtio-pci-0000:00:06.0 -> ../../vda
>> lrwxrwxrwx 1 root root 10 Apr 3 17:25 virtio-pci-0000:00:06.0-part1 -> ../../vda1
>> lrwxrwxrwx 1 root root 9 Apr 3 17:25 virtio-pci-0000:00:08.0 -> ../../vdb
>>
>>
>> ** Changed in: curtin
>> Status: Incomplete => New
>>
>> --
>> You received this bug notification because you are subscribed to the bug
>> report.
>> https://bugs.launchpad.net/bugs/1760879
>>
>> Title:
>> zfsroot fails: FileNotFoundError - [Errno 2] No such file or
>> directory: '/dev/disk/by-id'
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/curtin/+bug/1760879/+subscriptions