Gaetano writes: > After full localhost backup (many gigabyte) I got the following error: > > BackupPC_link got error -4 when calling > MakeFileLink(/data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib, > cb5bab76b89c25b11c8f575a567b571a, 1) > > I checked the following facts: > > 1) /data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib > is in the same file system than /data/BackupPC/cpool > > 2) The directory cpool can be written by backuppc. On the other hand it is > completely empty (no subdirectory /c/b/5) and the ln command cannot work > because the subdirectory are not created > ln /data/BackupPC/pc/localhost/1/f%2f/famule/fIncoming/attrib > /data/BackupPC/cpool/c/b/5/cb5bab76b89c25b11c8f575a567b571a > > 3) The disk is new with many thousand of inode.
Looks like you have checked all the right things. I can't explain this. Here's the code: mkpath($newDir, 0, 0777) if ( !-d $newDir ); return -4 if ( !link($name, $rawFile) ); It creates the cpool path first and then adds the hardlink. Perhaps you can add some debug statements around this code to try to figure out why the mkpath doesn't work. Craig ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/