Hi Karel, >On Fri, Oct 14, 2016 at 12:06:00PM +0200, Michael Hirmke wrote: >> Hi *, >> >> I've read the man pages and some more documentation about the mount >> behaviour of systemd, but I couldn't find a definitive answer to my >> questions. >> I have a backup script, that copies all files to backup to a hard disk >> partition, then duplicates the partition to one on a second disk, which >> in turn is changed every day. Before duplicating, the script tries to >> umount the partition on the original disk, does an fsck and then mounts >> the partition read only. When duplicating is finished, the original >> partition is remounted read write again.
>Not sure if you copy individual files or all partition (dd(1) or so), >but would be enough to use fsfreeze(8) to avoid umount/mount? I copy individual files with rsync. Therefore I want to make sure, the original partition is clean. >I guess you can call fsck on duplicated partition on the second disk. No, because when copying individual files I never can be sure, that everything goes right. >IMHO fsfreeze is less invasive than umount. Or use LVM snapshots ;-) I know :) But that is not what I need. > Karel Thx and bye. Michael. -- Michael Hirmke _______________________________________________ systemd-devel mailing list email@example.com https://lists.freedesktop.org/mailman/listinfo/systemd-devel