On Monday 27 October 2014, Patrick Shanahan wrote:
* Carlos E. R. <carlos.e.r@opensuse.org> [10-27-14 11:43]:
On 2014-10-25 23:57, Michael Hamilton wrote:
I had the same problem when trying to merge partitions and grow a filesystem. It was really quite scary to see the /home remounted while in the middle of re-partitioning and re-sizing (I had to spend some time diffing the result against a backup to make sure it was OK).
I had similar issues when creating image backups of partitions, or adding partitions: they were mounted again behind my back. I'm not sure if this was recently or not.
I was told to use "noauto" in fstab, but that won't do for a mount that is expected to be mounted again, automatically, on the next boot.
We need that what is "umounted" manually sticks.
procedural change :^), temporarily edit fstab to not "auto-mount" the subject fs, perform the work, restore the "auto-mount".
Does this work instantaneously? Or do you have to "reload" fstab? man systemd-fstab-generator: "systemd-fstab-generator is a generator that translates /etc/fstab (see fstab(5) for details) into native systemd units early at boot and when configuration of the system manager is reloaded." I've tried to edit fstab by adding test mount points but couldn't see new units (systemctl list-units | grep mount). I had tried "systemctl daemon-reload" and executing "systemd-fstab-generator" manually. cu, Rudi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org