Hello kind rsnapshot list,
I am seeking advice on how to best address an issue with cp -al on a
large filesystem.
Background: I have a fairly large (~10TB) filesystem that I have started
backing up with rsnapshot. So far almost everything seems to be running
smoothly (using sync_first), until I attempt the first level of periodic
rotations (in my case, weekly). This spawns a cp -al process that uses
all 4GB of physical memory on the machine (and based on the performance,
seems to be going into swap, though not thrashing swap yet).
My first idea, which might be a bit naive, is to comment out cmd_cp from
rsnapshot.conf, to let rsnapshot use its builtin copy instead. From
reading the man page, I'm not losing anything by doing this--as far as I
know, this filesystem should have no device files, and if there are any
FIFOs or sockets I don't really care about them.
Is there any other benefit I lose from using the builtin copy instead of
GNU cp? In my one test so far, memory usage seems much more reasonable
using the builtin copy, so I'm very much hoping to stay with it if I can.
Is there a better way of working around memory usage of cp on such a
large filesystem?
--keith
--
kkeller < at > wombat.san-francisco.ca.us
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
