[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: rsync 10 times slower in Etch than in Sarge!



On 2008-01-18 15:32 +0100, Rodolfo Medina wrote:

> I do my daily backup with the following command:
>
>  $ rsync -vr --delete Mail News /mnt/sda
>
> (where `sda' is the pendrive), and I've calculated that in my new Debian
> Etch system the process is about 10 times slower than it was in Sarge!
> It is the same with both my desktop PC and my laptop.  In /etc/fstab I
> have the following entry:
>
>  /dev/sda        /mnt/sda 	vfat    sync,rw,user,noauto  0       0
>
> .  The backup that would take only a few minutes now takes almost one
> hour!  Can anybody please explain this strange phenomena?

IIRC it's an issue with vfat file systems and the "sync" mount option in
2.6 kernels.  I noticed the same phenomenon when I switched from 2.4 to
2.6; the solution is not to use the "sync" option, that also increases
your drive's lifetime.  You may want to add "sync" as the last command in
your backup script do avoid data loss.

Sven


Reply to: