Garith Dugmore writes:

> I'm running backuppc 3 beta but found some files aren't being pooled and
> taking up huge amounts of disk space.
> 
> For example if i check the inodes of the same file across a few random
> backups of a single workstation i get:
> 
> ls -li ./25/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> ./24/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> ./23/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> ./28/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> ./26/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> 3758108800 -rw-r-----  1 apache garith 1046993128 Nov  6 16:22
> ./23/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
>   536884889 -rw-r-----  1 apache garith 1046993128 Nov  8 09:02
> ./24/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> 2684362650 -rw-r-----  1 apache garith 1046993128 Nov  8 15:10
> ./25/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> 3221232291 -rw-r-----  1 apache garith 1046993128 Nov  9 15:02
> ./26/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
>   536913559 -rw-r-----  1 apache garith 1046993128 Nov 13 12:03
> ./28/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
> 
> The size of 1046993128 is the same over all 5 files but the inodes are
> all different. After reading:
> 
> *Identical Files*
>      BackupPC pools identical files using hardlinks. By ``identical
>      files'' we mean files with identical contents, not necessary the
>      same permissions, ownership or modification time. Two files might
>      have different permissions, ownership, or modification time but will
>      still be pooled whenever the contents are identical. This is
>      possible since BackupPC stores the file meta-data (permissions,
>      ownership, and modification time) separately from the file contents.
> I thought that these files will be hardlinked and therefore save some
> space..
> 
> I do find though that a good few other files are hardlinked properly
> just not the ones above.
> 
> [EMAIL PROTECTED] garith]# find . -links 2 | wc -l
> 12306
> [EMAIL PROTECTED] garith]# find . -links 3 | wc -l
> 2836
> [EMAIL PROTECTED] garith]# find . -links 4 | wc -l
> 3055
> [EMAIL PROTECTED] garith]# find . -links 5 | wc -l
> 22130
> [EMAIL PROTECTED] garith]# find . -links 6 | wc -l
> 1393
> [EMAIL PROTECTED] garith]# find . -links 7 | wc -l
> 622
> 
> etc....
> 
> Attached is my config.pl file.
> 
> In my per pc config file i have:

Hmmm.  First please check if the files are really the, eg:

    cmp ./25/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB 
./24/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
    cmp ./23/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB 
./28/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB
    cmp ./25/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB 
./26/fbackup/f.wine/fdrive_c/fTHE_FILM/fVIDEO_TS/fVTS_03_1.VOB

Second, was your hardlink check for the same host?  You should double
check that this host is really on the same file system as the cpool
directory (eg: sometimes people try incorrectly to use symlinks for
TOPDIR/pc/HOST).  You check with this:

    df TOPDIR/pc/HOST
    df TOPDIR/cpool

Finally, are there any errors in the XferLOG file?

Craig

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to