[systemd-devel] /home Fails to Mount During Boot
Kay Sievers
kay at vrfy.org
Sat Jul 27 18:31:46 PDT 2013
On Sun, Jul 28, 2013 at 3:28 AM, Kay Sievers <kay at vrfy.org> wrote:
>> Is the use of /dev/sd* in the fstab racey in some way?
>
> Btrfs multi-device volumes need all be known to the kernel before
> mount can succeed.
>
> Which one of the device is given to mount does not matter, they all
> result in the same volume to be mounted.
>
> If you reference one of the volumes directly in fstab, the other
> needed volume needs to be already known to the kernel or it will fail.
> So yes, it is racy, it depends on discovery order.
The above should both read *devices* not *volumes*.
> Using the volume's UUID will make systemd check if the volume is ready
> for mount, and only after all devices are known to the kernel, the
> kernel will signify ready and we attempt to mount.
The checking will make the device known to the kernel's btrfs code.
Kay
More information about the systemd-devel
mailing list