Web lists-archives.com

Re: A Very Bad umount





On 9/11/18 9:28 PM, Martin McCormick wrote:
> #Combine 2 256-GB drives in to 1 512 GB drive.
> 
> mount /rsnapshot1
> mount /rsnapshot2
> mhddfs /rsnapshot1,/rsnapshot2 /var/cache/rsnapshot -o mlimit=100M 
>
---------8<----------------8<--------
> 	I have actually tried 
> 
> umount /rsnapshot2 /rsnapshot1 /var/cache/rsnapshot
> 
> as well as
> 
> umount /var/cache/rsnapshot /rsnapshot2 /rsnapshot1 .  I was
> thinking that the order might make a difference but have gotten
> as many good runs with either order.

Good Day,

Not sure if that is the kind of answer you would wish to
expect, but have you considered doing umounts sequentially?
(optionally after synchronizing file systems)

	sync
	umount /var/cache/rsnapshot
	umount /rsnapshot2
	umount /rsnapshot1

Each call is blocking, so it will help perhaps...

Kind Regards,
-- 
Étienne Mollier <etienne.mollier@xxxxxxxxxx>