[Dirvish] dirvish not making hard links but copying files, consuming much space

Eric Mountain em-dirvish-1 at nerim.net
Sun Jun 11 14:46:59 UTC 2006


On Sunday 11 June 2006 12:18, Team Bloombox spake thus:


> nemesis41:/backup/dirvish/n41/20060603-2304# dirvish-locate n41
> apache2.conf ###
> 2 matches in 11 images
> /etc/apache2/apache2.conf
>     Aug  8  2005 20060609-2304
>     Aug  8  2005 20060608-2304
>     Aug  8  2005 20060607-2304
>     Aug  8  2005 20060606-2304
>     Aug  8  2005 20060605-2304
>     Aug  8  2005 20060604-2304
>     Aug  8  2005 20060603-2304
>     Aug  8  2005 20060602-2304, 20060602-0958, 20060602-0912, 20060602-0852

As which user did the 4 dirvish runs on the bottom line run as?  root?  And 
the others?


>
> ###
> STAT-Runs
> ###
>
> nemesis41:/backup/dirvish/n41/20060602-2304# stat
> tree/etc/apache2/apache2.conf
>   File: ,,tree/etc/apache2/apache2.conf"
>   Size: 12895           Blocks: 32         IO Block: 4096   reguläre Datei
> Device: 305h/773d       Inode: 8144412     Links: 4
> Access: (0644/-rw-r--r--)  Uid: ( 1001/tapeback)   Gid: (    0/    root)
> Access: 2006-06-03 23:05:50.000000000 +0200
> Modify: 2005-08-08 10:47:00.000000000 +0200
> Change: 2006-06-02 23:36:34.000000000 +0200
>
> nemesis41:/backup/dirvish/n41/20060603-2304# stat
> tree/etc/apache2/apache2.conf
> ###
>   File: ,,tree/etc/apache2/apache2.conf"
>   Size: 12895           Blocks: 32         IO Block: 4096   reguläre Datei
> Device: 305h/773d       Inode: 10601284    Links: 1
> Access: (0644/-rw-r--r--)  Uid: ( 1001/tapeback)   Gid: (    0/    root)
> Access: 2006-06-04 23:06:04.000000000 +0200
> Modify: 2005-08-08 10:47:00.000000000 +0200
> Change: 2006-06-03 23:49:43.000000000 +0200
>
>
> and later on:
>
> nemesis41:/backup/dirvish/n41/20060609-2304# stat
> tree/etc/apache2/apache2.conf
>   File: ,,tree/etc/apache2/apache2.conf"
>   Size: 12895           Blocks: 32         IO Block: 4096   reguläre Datei
> Device: 305h/773d       Inode: 7606218     Links: 1
> Access: (0644/-rw-r--r--)  Uid: ( 1001/tapeback)   Gid: (    0/    root)
> Access: 2006-06-10 23:06:00.000000000 +0200
> Modify: 2005-08-08 10:47:00.000000000 +0200
> Change: 2006-06-10 00:05:42.000000000 +0200
>
>
> And guess, what a diff run finds out about differences of both
> apache2.conf: diff /etc/apache2/apache2.conf
> /backup/dirvish/n41/20060609-2304/tree/etc/apache2/apache2.conf
>
> Right, nothing. :-(

What is the output of stat for /etc/apache2/apache2.conf?

In particular, who owns the file?  The backups are owned by "tapeback".  Is 
this the user that runs the dirvish backups?

What rsync version are you using? (rsync --version)  If it is less than 2.6.1 
and you are not running your backups as root, then you may be hitting the bug 
where -o causes --link-dest to function improperly.

Cheers,
Eric
-- 
Eric Mountain


More information about the Dirvish mailing list