Quote:
Originally Posted by lazardo
I run a dual disk, md (kernel raid) system using RAID0 with a RAID1 backup (cron rsync every 6 minutes). This gives both fast performance and a bit of sanity. For me, the individual disks are capable of 99MB/s each, the RAID0 device 178MB/s (about 90%).
|
Most rsync backup cycles average 6 to 10 seconds as only the change bytes are moved. The cycle is never noticed even for big downloads. rsync requires no special handling of suspend/resume or shutdown.
The /, /boot and /big partitions are RAID0, /Backup is RAID1 on a pair of 320GB WD Scorpio 2-1/2" SATAs.
Code:
/dev/md27 12G 6.5G 5.4G 55% /
/dev/md25 124M 71M 53M 58% /boot
/dev/md28 148G 110G 39G 75% /big
/dev/md29 208G 133G 75G 64% /Backup
sudo ionice -c 3 nice rsync -av <src> <target> \
--one-file-system --inplace --delete --exclude=/Backup/* \
--exclude=/dev/* --exclude=/tmp/* --exclude=/mnt/* --exclude=/media/*/* \
--exclude=/run/* --exclude=/proc/* --exclude=/srv/* --exclude=/sys/* \
--exclude-from=/global.rsync.excludes