Simon
2013-08-29 02:10:23 UTC
Hi There,
Just wondering if someone could assist me in understanding the below? Sorry if this is a bit of a noobie question...
We have a debian squeeze VM ("backup") that performs rsnapshot (1.3.1-1) backups of several other VMs (via ssh) to a NFS mount (/mnt/backup = Synology NAS). When check the size of directories from the backup VM, i see this:
backup:/mnt/backup/backup_files/mail# du -sh *
9.3M daily.0
460K daily.1
464K daily.2
440K hourly.0
460K hourly.1
464K hourly.2
460K hourly.3
Which (I'm guessing) is showing that the hard links are working as expected and providing a minimal disk usage. However, if i login to the NAS and check the same directory, I'm seeing this:
storage> du -hs *
9.2M daily.0
9.2M daily.1
9.2M daily.2
9.2M hourly.0
9.2M hourly.1
9.2M hourly.2
9.2M hourly.3
In this case, the original file is on the VM being backed up - i had thought that having hard links on the NFS mount would show as hard links?
Again - sorry if this is a stupid question, but: Which is correct in terms of real disk usage?
Simon
Just wondering if someone could assist me in understanding the below? Sorry if this is a bit of a noobie question...
We have a debian squeeze VM ("backup") that performs rsnapshot (1.3.1-1) backups of several other VMs (via ssh) to a NFS mount (/mnt/backup = Synology NAS). When check the size of directories from the backup VM, i see this:
backup:/mnt/backup/backup_files/mail# du -sh *
9.3M daily.0
460K daily.1
464K daily.2
440K hourly.0
460K hourly.1
464K hourly.2
460K hourly.3
Which (I'm guessing) is showing that the hard links are working as expected and providing a minimal disk usage. However, if i login to the NAS and check the same directory, I'm seeing this:
storage> du -hs *
9.2M daily.0
9.2M daily.1
9.2M daily.2
9.2M hourly.0
9.2M hourly.1
9.2M hourly.2
9.2M hourly.3
In this case, the original file is on the VM being backed up - i had thought that having hard links on the NFS mount would show as hard links?
Again - sorry if this is a stupid question, but: Which is correct in terms of real disk usage?
Simon