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 created.
ubuntu@node-licetus:~$ ls -l /dev/disk/by-dname/
total 0
lrwxrwxrwx 1 root root 13 May 15 06:18 bcache1 -> ../../bcache2
lrwxrwxrwx 1 root root 13 May 15 06:18 bcache2 -> ../../bcache1
lrwxrwxrwx 1 root root 13 May 15 06:18 bcache43 -> ../../bcache3
lrwxrwxrwx 1 root root 13 May 15 06:18 nvme0n1 -> ../../nvme0n1
lrwxrwxrwx 1 root root 15 May 15 06:18 nvme0n1-part1 -> ../../nvme0n1p1
lrwxrwxrwx 1 root root 15 May 15 06:18 nvme0n1-part2 -> ../../nvme0n1p2
lrwxrwxrwx 1 root root  9 May 15 06:18 sda -> ../../sda
lrwxrwxrwx 1 root root 10 May 15 06:18 sda-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 May 15 06:18 sda-part2 -> ../../sda2
lrwxrwxrwx 1 root root  9 May 15 06:18 sdb -> ../../sdb
lrwxrwxrwx 1 root root  9 May 15 06:18 sdc -> ../../sdc
lrwxrwxrwx 1 root root  9 May 15 06:18 sdd -> ../../sdd

-- 
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 manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ceph-osd/+bug/1878752/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to