[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2021-11-01 Thread James Page
** Changed in: charm-ceph-osd Status: New => Invalid ** Changed in: lvm2 (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878752 Title: vgcreate fails on

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-18 Thread Ryan Harper
I would very much agree with xnox (it's a duplicate) (and Dan, nothing for curtin to do); curtin generated dname rules rely upon pointing to a /dev/bcache/by- uuid/* symlink which is currently broken per https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941 which at this time points

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-18 Thread Dan Watkins
This doesn't seem to be a curtin bug to me; feel free to disagree (with reasoning!). ** Changed in: curtin (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878752

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-15 Thread James Page
** Attachment added: "lib-udev.tar.gz" https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1878752/+attachment/5372124/+files/lib-udev.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878752

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-15 Thread James Page
** Attachment added: "etc-udev.tar.gz" https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/1878752/+attachment/5372125/+files/etc-udev.tar.gz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878752

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-15 Thread Dimitri John Ledkov
"dropping unrelated symlinks" sounds a lot like "udev drops bcache/by- uuid names, when didn't ask for it". I wonder if this issue is a duplicate of https://bugs.launchpad.net/ubuntu/+source/linux-signed/+bug/1861941 CC rharper somehow. -- You received this bug notification because you are a me

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-15 Thread Dmitrii Shcherbakov
For context: focal kernels seem to contain raharper's patch for bcache that fixed LP: #1729145. https://paste.ubuntu.com/p/VkfPDBzqyt/ https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/commit/?id=67553dcd79051be43ef73207309bee4cb72e5189 -- You received this bug notificatio

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-15 Thread Christian Ehrhardt 
** Also affects: curtin (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878752 Title: vgcreate fails on /dev/disk/by-dname block devices To manag

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-14 Thread James Page
OK so it sees the pv* commands have a side-effect of dropping the by- dname entries, so when the charm creates the PV and then tries to use it for the VG its disappeared. ubuntu@node-licetus:~$ sudo pvcreate /dev/disk/by-dname/bcache3 Physical volume "/dev/disk/by-dname/bcache3" successfully cre

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-14 Thread James Page
ubuntu@node-licetus:~$ sudo vgcreate ceph-911bc34b-4634-4ebd-a055-876b978d0b0a /dev/disk/by-dname/bcache2 Physical volume "/dev/disk/by-dname/bcache2" successfully created. Volume group "ceph-911bc34b-4634-4ebd-a055-876b978d0b0a" successfully created ubuntu@node-licetus:~$ ls -l /dev/disk/by-d

[Bug 1878752] Re: vgcreate fails on /dev/disk/by-dname block devices

2020-05-14 Thread James Page
Removing the pv from the device also removes the by-dname entry ** Also affects: lvm2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1878752 Title: