Verifying the fix from the PPA:
(k)rafaeldtinoco@keoan:~$ ls /dev/disk/by-id ls: cannot access '/dev/disk/by-id': No such file or directory
(k)rafaeldtinoco@keoan:~$ sudo grub-mkdevicemap --no-floppy -m - (hd0) /dev/vda (hd1) /dev/vdb
This is the expected behavior (by installer).
(k)rafaeldtinoco@keoan:~$ sudo pvcreate /dev/vdb Physical volume "/dev/vdb" successfully created.
(k)rafaeldtinoco@keoan:~$ sudo vgcreate vgubuntu /dev/vdb Volume group "vgubuntu" successfully created
(k)rafaeldtinoco@keoan:~$ sudo lvcreate -l100%VG -n lvubuntu vgubuntu Logical volume "lvubuntu" created.
(k)rafaeldtinoco@keoan:~$ sudo grub-mkdevicemap --no-floppy -m - (hd0) /dev/disk/by-id/lvm-pv-uuid-tdcf0A-qcPJ-1A1H-Oh2G-I1vE-GQPx-tjjeva (hd1) /dev/vda
After installing the fix:
(k)rafaeldtinoco@keoan:~$ ls -1 /dev/disk/by-id dm-name-vgubuntu-lvubuntu dm-uuid-LVM-btjm85kImnUtxMqC6ObQmM64kO1Bop7Gv7v1qbZIaKsBfOB0uyFfC3cG37LaB3KN lvm-pv-uuid-tdcf0A-qcPJ-1A1H-Oh2G-I1vE-GQPx-tjjeva
Back to same behavior!
Verifying the fix from the PPA:
(k)rafaeldtinoc o@keoan: ~$ ls /dev/disk/by-id
ls: cannot access '/dev/disk/by-id': No such file or directory
(k)rafaeldtinoc o@keoan: ~$ sudo grub-mkdevicemap --no-floppy -m -
(hd0) /dev/vda
(hd1) /dev/vdb
This is the expected behavior (by installer).
(k)rafaeldtinoc o@keoan: ~$ sudo pvcreate /dev/vdb
Physical volume "/dev/vdb" successfully created.
(k)rafaeldtinoc o@keoan: ~$ sudo vgcreate vgubuntu /dev/vdb
Volume group "vgubuntu" successfully created
(k)rafaeldtinoc o@keoan: ~$ sudo lvcreate -l100%VG -n lvubuntu vgubuntu
Logical volume "lvubuntu" created.
(k)rafaeldtinoc o@keoan: ~$ sudo grub-mkdevicemap --no-floppy -m - by-id/lvm- pv-uuid- tdcf0A- qcPJ-1A1H- Oh2G-I1vE- GQPx-tjjeva
(hd0) /dev/disk/
(hd1) /dev/vda
After installing the fix:
(k)rafaeldtinoc o@keoan: ~$ ls -1 /dev/disk/by-id vgubuntu- lvubuntu LVM-btjm85kImnU txMqC6ObQmM64kO 1Bop7Gv7v1qbZIa KsBfOB0uyFfC3cG 37LaB3KN uuid-tdcf0A- qcPJ-1A1H- Oh2G-I1vE- GQPx-tjjeva
dm-name-
dm-uuid-
lvm-pv-
(k)rafaeldtinoc o@keoan: ~$ sudo grub-mkdevicemap --no-floppy -m -
(hd0) /dev/vda
(hd1) /dev/vdb
Back to same behavior!