On Fri, 21 Nov 2014 13:31:21 +1100 Dmitry Smirnov <[email protected]>
wrote:
> Package: systemd
> Version: 215-5+b1
> Severity: normal
> 
> Switching to systemd with Wheezy to Jessie upgrade broke a particular
> Btrfs mount in fstab. Btrfs consists of three devices:
> 
> ~~~~ $ sudo btrfs fi show
> Label: 'tmp_area'  uuid: aa5965b1-a602-4f71-8535-8601dfaae540
>         Total devices 3 FS bytes used 528.00GiB
>         devid    4 size 601.00GiB used 517.03GiB path /dev/mapper/tmp@700
>         devid    6 size 834.00GiB used 547.03GiB path /dev/mapper/tmp@900
>         devid    7 size 834.00GiB used 30.00GiB path /dev/mapper/tmp@900hy
> ~~~~
> 
> Mounted from "/etc/fstab" as follows:
> 
> ~~~~ /etc/fstab:
> #LABEL="tmp_area"            /mnt/tmp  btrfs  
> _netdev,noatime,nodiratime,autodefrag    0    0
> /dev/disk/by-label/tmp_area  /mnt/tmp  btrfs  
> _netdev,noatime,nodiratime,autodefrag    0    0
> ~~~~
> 
> All underlying devices are successfully unlocked automatically
> as per "/etc/crypttab":
> 
> ~~~~ /etc/crypttab:
> tmp@700    UUID=eaa37bee-5df3-429c-b3e2-ee28f9fde282  /root/hddkey.txt  luks
> tmp@900    UUID=e66b87a9-1090-4077-b476-a33e19e9a341  /root/hddkey.txt  luks
> tmp@900hy  UUID=379dd7f5-f04e-4f45-8856-7bff929a34ce  /root/hddkey.txt  luks
> ~~~~
> 
> On boot systemd waits for 1.5 min. then gives up and goes on so first thing
> I have to do when system boots is to run the following command as root:
> 
>     mount -av
> 
> Which successfully mounts "/mnt/tmp".
> 
> I don't understand why systemd fails to notice appearance of
> "/dev/disk/by-label/tmp_area" long after all three block devices
> became available... As you can see I tried "_netdev" workaround
> to delay mount but it did not help...

Looks like a duplicate of #747629.
Could you check the output of udevadm info --query=all for the
underlying devices and see what ID_BTRFS_READY is set to.

Thanks


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to