Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#31200 - Missing symlinks in /dev/disk/by-uuid when partitions in lvm in luks are mount in initrd
Attached to Project:
Arch Linux
Opened by Alexander Kauer (kaueraal) - Sunday, 19 August 2012, 19:13 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 19 August 2012, 19:51 GMT
Opened by Alexander Kauer (kaueraal) - Sunday, 19 August 2012, 19:13 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 19 August 2012, 19:51 GMT
|
DetailsDescription:
Symlinks in /dev/disk/by-uuid are missing when the partitions are in a lvm in luks and are mounted in the initrd. The missing symlinks are exactly from those partitions, which get mounted in the initrd during boot. These partitions reside in a lvm in a luks partition (for more details of the partitions look below). After entering my password the luks partition gets successfully opened and also the lvm partitions all get activited and mounted, but no symlinks in /dev/disk/by-uuid are created. The other lvm in luks partition (home), which gets mounted via the /etc/rc.sysinit (/ crypttab) is mounted fine as well, but the symlinks are created this time. This behaviour is relativly new, not long ago everything worked as expected. Additional info: package version(s): mkinitcpio: 0.10-1 systemd-tools: 188-2 initscripts: 2012.08.2-1 mkinitcpio hooks: base udev v86d autodetect pata scsi sata keymap encrypt lvm2 resume filesystems usbinput fsck hdd setup: -sda: --sda1+2: windows --sda3: /boot --sda4: crypt_root (luks), which contains an lvm (mounted in initrd): ----lvm_root-lvm_root_data ----lvm_root-lvm_root_pacmandb ----lvm_root-lvm_root_root ----lvm_root-lvm_root_swap -sdb: --sdb1: crypt_home (luks), which contains an lvm (mounted in /etc/rc.sysinit via crypttab): ----lvm_home-lvm_home_home alexander@erika /dev/disk/by-uuid $ ll insgesamt 0 lrwxrwxrwx 1 root root 10 19. Aug 2012 4694406B94405F93 -> ../../sda1 lrwxrwxrwx 1 root root 10 19. Aug 2012 8698f2d7-cb9b-414d-852c-7e1de133782e -> ../../sda4 lrwxrwxrwx 1 root root 10 19. Aug 2012 bf5499af-f495-4b84-8966-6214bc5c941f -> ../../dm-6 lrwxrwxrwx 1 root root 10 19. Aug 2012 C828516428515314 -> ../../sda2 lrwxrwxrwx 1 root root 10 19. Aug 2012 ceae5778-ec06-4ef8-b04b-c020bbf49506 -> ../../sda3 lrwxrwxrwx 1 root root 10 19. Aug 2012 d0cf2268-1e50-4a37-8583-ec413e34f04b -> ../../sdb1 alexander@erika /dev/mapper $ ll insgesamt 0 crw------- 1 root root 10, 236 19. Aug 2012 control lrwxrwxrwx 1 root root 7 19. Aug 2012 crypt_home -> ../dm-5 lrwxrwxrwx 1 root root 7 19. Aug 2012 crypt_root -> ../dm-0 lrwxrwxrwx 1 root root 7 19. Aug 2012 lvm_home-lvm_home_home -> ../dm-6 lrwxrwxrwx 1 root root 7 19. Aug 2012 lvm_root-lvm_root_data -> ../dm-4 lrwxrwxrwx 1 root root 7 19. Aug 2012 lvm_root-lvm_root_pacmandb -> ../dm-2 lrwxrwxrwx 1 root root 7 19. Aug 2012 lvm_root-lvm_root_root -> ../dm-3 lrwxrwxrwx 1 root root 7 19. Aug 2012 lvm_root-lvm_root_swap -> ../dm-1 root@erika /home/alexander $ mount proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) dev on /dev type devtmpfs (rw,nosuid,relatime,size=2005236k,nr_inodes=501309,mode=755) run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755) /dev/mapper/lvm_root-lvm_root_root on / type ext4 (rw,relatime,data=ordered) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000) shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime) tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime) /dev/mapper/lvm_root-lvm_root_pacmandb on /var/lib/pacman type reiserfs (rw,relatime) /dev/mapper/lvm_home-lvm_home_home on /home type ext4 (rw,relatime,data=ordered) /dev/mapper/lvm_root-lvm_root_data on /home/alexander/tmp type ext4 (rw,relatime,data=ordered) /dev/sda3 on /boot type ext2 (rw,relatime) binfmt on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime) /etc/autofs/auto.misc on /autofs type autofs (rw,relatime,fd=7,pgrp=1383,timeout=600,minproto=5,maxproto=5,indirect) gvfs-fuse-daemon on /home/alexander/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,relatime,user_id=1000,group_id=100) Steps to reproduce: Having a luks partition containing lvm which gets mounted in the initrd. |
This task depends upon
alexander@erika ~ $ ll /dev/disk/by-uuid
insgesamt 0
lrwxrwxrwx 1 root root 10 19. Aug 2012 26344b51-5ef1-44c3-814c-d414899d912e -> ../../dm-3
lrwxrwxrwx 1 root root 10 19. Aug 2012 2edc3c58-a6ae-4ee2-8e1d-7a5406920a53 -> ../../dm-2
lrwxrwxrwx 1 root root 10 19. Aug 2012 4694406B94405F93 -> ../../sda1
lrwxrwxrwx 1 root root 10 19. Aug 2012 69c6707b-60af-40bc-ac80-5d7f8fcab1c1 -> ../../dm-4
lrwxrwxrwx 1 root root 10 19. Aug 2012 85066cf5-061d-4a3a-8783-e8ca4ad8ea64 -> ../../dm-1
lrwxrwxrwx 1 root root 10 19. Aug 2012 8698f2d7-cb9b-414d-852c-7e1de133782e -> ../../sda4
lrwxrwxrwx 1 root root 10 19. Aug 2012 bf5499af-f495-4b84-8966-6214bc5c941f -> ../../dm-6
lrwxrwxrwx 1 root root 10 19. Aug 2012 C828516428515314 -> ../../sda2
lrwxrwxrwx 1 root root 10 19. Aug 2012 ceae5778-ec06-4ef8-b04b-c020bbf49506 -> ../../sda3
lrwxrwxrwx 1 root root 10 19. Aug 2012 d0cf2268-1e50-4a37-8583-ec413e34f04b -> ../../sdb1
Sorry for the inconvenience, but please close this report, in case this wierd behaviour happens again I will comment here once again. I have absolutely no idea why this fixed now..