On Sun, Jul 28, 2013 at 3:28 AM, Kay Sievers <[email protected]> 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 _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
