Comment 4 for bug 1847263

Revision history for this message
Steve Langasek (vorlon) wrote :

Using the UUID in the fstab is wrong because it's racy. The individual member devices appear at boot, and are exposed via udev, before the system knows that they're part of a multipath set. And if systemd winds up mounting the member instead of the mpath device, you get degraded mounts without multipath redundancy.

The /etc/fstab needs to reference a device that is *unique* to the system, will only appear once, and points to the multipath device.

I don't remember which is the right name schema to use for multipath devices in particular - the mpathN-partM names may not be guaranteed to be stable - but prior art in debian-installer for partman-multipath should illuminate; or Matt may be able to provide some guidance.