[systemd-devel] remote-fs ordering, iSCSI and _netdev
Lennart Poettering
lennart at poettering.net
Mon Oct 27 18:29:35 PDT 2014
On Mon, 27.10.14 14:10, Chris Leech (cleech at redhat.com) wrote:
> So for any mounts to remote block devices (unlike remote file system
> protocols which are detected by the fs name), unless there is an fstab
> entry at the time fstab-generator is run they get treated like local fs
> mounts and connectivity to the storage target may be disrupted before
> unmounting (possibly resulting in file system errors).
>
> I'm currently at a loss for how to handle this, other than to claim that
> if filesystems are going to be left mounted they should be added to
> fstab and a daemon-reload is required.
IIRC mount nowadays stores the full mount option string, including all
the "userspace-only" options in /run. We could either read those
directly from there in systemd, or we could make systemd make use of
libmount to get that information.
Karel, what are the details there? Would it be OK if we read the files
in /run directly to augment whatever we got from /proc/self/mountinfo?
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list