We have a QNAP TS-410 in our office. Its hardware is:
- 256MB DDR2 RAM
- CPU Marvell 6281 800MHz
- 4 x 1.4GB Seagate SATA disks mounted on RAID5
We thought it would be sufficient to make backups for our servers, but we have encountered several problems:
- It takes about 5 hours to make a daily
rsync
between two 100GB directories. The directory tree is big and complex, because it's our production server with 200 websites. But changes should be minor. And network bandwidth is certainly not a problem (we have made tests with regular files upload/download). - Once the rsync is made and all changes has been transferred, it takes more than 15 hours to make a rotation of these backups. We are using a
cp -al
approach to create hard links instead of copying. - The built-in program
vs_refresh
takes almost a whole day to achieve its task.
We think every problem is directly related with the complexity and size of the directory tree. Imagine two hundred websites, being each one of them a Joomla, or a WordPress, or a Moodle, etc.
We think it is relatively normal for rsync
and cp
to take a certain amount of time. But so much time? Is this an expected and normal behaviour?
If so, what can be done to improve the NAS performance? Maybe increasing the RAM to avoid swap replacements?
Thanks!
iostat -x 5
.cp -al
of new backup faster. I'll check theiostat
and tell something about it.dstat
revealed that while a backup rotation, IO values are between 220 and 350. I don't know what these values mean exactly. I'm asking a new question regarding this.