[systemd-devel] systemd-fstab-generator and multiple mounts to same mount point
John Lane
systemd at jelmail.com
Wed Jan 2 04:01:41 PST 2013
Hello,
I have a configuration where a filesystem is mounted on /images.
Then a subdirectory of that filesystem, say /images/1, is bind mounted
on top as /images.
Prior to moving to systemd, this kind of thing has always worked fine
with /etc/fstab containing something like this:
# images uuid 8847d358-c4f6-4405-a65c-e0c514151f8e is on /dev/sda1
UUID=8847d358-c4f6-4405-a65c-e0c514151f8e /images ext3 defaults 0 1
# Bind mount current images on /images
#/images/1354 /images none rw,bind 0 0
With systemd, systemd-fstab-generator complains about the second use of
the /images mount point:
Jan 02 08:31:58 neon systemd-fstab-generator[79]: Failed to create unit
file /run/systemd/generator/images.mount: File exists
Jan 02 08:31:58 neon systemd[1]:
/usr/lib/systemd/system-generators/systemd-fstab-generator exited with
exit status 1.
How should this situation be handled with systemd ?
Thanks,
John
More information about the systemd-devel
mailing list