Yes, I am modifying TopDir and LogDir and yes, I WAS running a pre-3.2 version of BackupPC. I just updated to 3.2.1 and this fixed the problem. Links are now being created correctly in my cpool directory.
Problem solved, thanks. On 11/07/2011 01:16 AM, Les Mikesell wrote: > On Fri, Nov 4, 2011 at 3:43 PM, Stan Larson<[email protected]> wrote: >> For each file being backed up, I am getting the following error in my >> LOG file and a hard link is not getting created in my cpool dir. >> >> 2011-11-04 15:31:24 BackupPC_link got error -3 when calling >> MakeFileLink(/data1/BackupPC/pc/anthonypc/0/fdocs/attrib, >> fd60fd1d996f13992833d09698b85826, 1) >> >> I am also getting the same basic message but with "error -4" instead of >> "error -3", but in smaller quantities. >> >> Background: >> >> For various reasons, I've attempted to create a second data directory on >> my BackupPC server. The second data directory is on a different file >> system than the original data directory (both are ext3 with underlying >> LVM and software RAID 1). The initial data directory has been in place >> for a couple of years and works with no problems. To build the second >> data directory, I modified my config.pl file to change the TopDir and >> LogDir to point to the new data directory and the new log directory. I >> then duplicated the exact directory structure, permissions, and >> ownership for my new data directory, including the sub-directories in >> cpool. Backuppc comes up just fine with no errors and backs up >> clients. Everything appears to be working OK except for the fact the >> above errors and the fact that hard links are not getting created in my >> new cpool. I can manually create the hard links so I know the >> filesystem is OK. Looking at the perl code, it appears that the link() >> command is what's issuing the error. >> >> Is there something I didn't do correct when creating the cpool >> sub-directories? >> >> I would really like to get this second data storage directory working. >> Any suggestions would be highly appreciated. > Backuppc can't use a 2nd data directory, so I assume you are trying to > move the location of TopDir. Versions earlier than 3.2 can't change > this after initial installation (which has already been done in the > .deb or .rpm versions packaged for distributions). You need to mount > the replacement partition in the old location or symlink it there. > > -- > Les Mikesell > [email protected] > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > BackupPC-users mailing list > [email protected] > List: https://lists.sourceforge.net/lists/listinfo/backuppc-users > Wiki: http://backuppc.wiki.sourceforge.net > Project: http://backuppc.sourceforge.net/ ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
