Craig Barratt wrote:
Eric writes:

2007-04-08 21:20:02 BackupPC_link got error -4 when calling MakeFileLink(/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt, 5ee4aa1b190383553c1a7712ad260358, 1)

The -4 error means that a file cannot be added to the pool
(ie: a new hardlink cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358
to /data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt).

You've checked the obvious things.

      Filesystem            Inodes   IUsed   IFree IUse% Mounted on
      /dev/hdb1            39075840 1011307 38064533    3% /dev/backupdisk

Your TOPDIR is /data/BackupPC/backups, but your disk is mounted
on /dev/backupdisk.  Is that right?
Yes, This is correct.
What happens when you run:

    df /data/BackupPC/backups/pc/slacker
    df /data/BackupPC/backups/cpool
I get:
[EMAIL PROTECTED]:~# df /data/BackupPC/backups/pc/slacker
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb1            307663800 144787820 147247548  50% /dev/backupdisk
[EMAIL PROTECTED]:~# df /data/BackupPC/backups/cpool
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb1            307663800 144787820 147247548  50% /dev/backupdisk

Does it show the same file system?

Does the directory /data/BackupPC/backups/cpool/5/e/e exist?  What happens when
you try to manually make the link:

    su backuppc
    link /data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt 
/data/BackupPC/backups/cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358
link: cannot create link `/data/BackupPC/backups/cpool/5/e/e/5ee4aa1b190383553c1a7712ad260358' to `/data/BackupPC/backups/pc/slacker/2/fEric/fhello.txt': No such file or directory

I did a couple of things.

1) I changed the backup directory to be the one on the same drive that BackupPC runs from (hda) that holds the symlinks to the other drive. It created the links when I ran the backup. We know that my installation of BackupPC will make links OK to the same drive that it is installed on.

2) I created individual links for each directory (pc, cpool and pool) that point to actual directories on hdb and then tried the backup. The backup run fine and links were created on the target drive (hdb) inside dev/backupdisk/backups/cpool.

It seems that the problem only shows up when I have a single link of my topmost directory rather than individual links to each directory one level down.
???

Thanks,
Eric
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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