BackupPC-users

[BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink

2008-12-26 15:32:07
Subject: [BackupPC-users] BackupPC_link got error -4 when calling MakeFileLink
From: Anand Gupta <anandiwp AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Sat, 27 Dec 2008 01:59:55 +0530
While looking at a log, i found the below, several hundred lines with the below error.

2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/f10.1/attrib, 8494a28f3472201156c68e7470fdd8b9, 1)
2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/f10.1/fISE/f.xinstall/f.cache/attrib, 8375fe55c3ecd7e3e0003e2109ba6091, 1)
2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/f10.1/fISE/attrib, 599b385dcfb43645333cc9580669570c, 1)
2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/fXilinx/attrib, bb28683a4b5944c4b03fa173ecf23845, 1)
2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/frsyncd/frsyncd.log, 07d31abf1321dcf66c45495b0a3ae54b, 1)
2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/frsyncd/attrib, 144d16df2b7b959139f778cf79c9e530, 1)
2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/fcdrive/attrib, 15a92da55d8a7f731afe80fb4214b63b, 1)
2008-12-27 01:14:51 BackupPC_link got error -4 when calling MakeFileLink(/backup/backups/pc/comp-076/1/attrib, 47e9c843d93fb13fecf434ea1c18fc69, 1)
2008-12-27 01:14:51 Finished comp-076 (BackupPC_link comp-076)

When i looked this up, i found this could be because of one of the below reasons.

1. Lack of inodes. Used df -i to check. The disk is a 4T Raid 5 array, and has lot of inodes
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sdc1            3538578592 9990036 3528588556    1% /backup
2. File system not supporting hard links. Checked, by creating them. It works. Besides i use the same volume to backup certain data with rsnapshot and that also uses hard links.

3. Directory Permissions. I changed the backuppc home directory from /var/lib/backuppc to /backup/backups. The /backup drive is actually mounted on a Raid5 disk array, which is were i wish to keep all the backups.
ls -al /backup/backups/
total 12
drwxr-xr-x 8 backuppc backuppc   64 Dec 25 14:51 .
drwxr-xr-x 6 root     root       32 Dec 21 01:18 ..
-rw------- 1 backuppc backuppc 1348 Dec 27 01:16 .bash_history
drwxr-x--- 2 backuppc backuppc    1 Dec 27 01:29 cpool
-rw------- 1 backuppc backuppc   35 Dec 27 01:29 .lesshst
drwxr-x--- 2 backuppc backuppc   16 Dec 21 01:06 passwd
drwxr-x--- 5 backuppc backuppc   48 Dec 26 19:03 pc
drwxr-x--- 2 backuppc backuppc    1 Mar 16  2008 pool
drwx------ 2 backuppc backuppc   48 Dec 21 01:15 .ssh
drwxr-x--- 2 backuppc backuppc    1 Dec 26 18:55 trash
Any other ideas why this error could be appearing ?

--
Thanks and Regards,

Anand
------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/