Hi,
Found a bug, or more that behaviour has changed since the 3.0.0 series.
In 3.0.0 if you started backuppc with an empty disk (such as when using
usb drives for offsite rotation) it would create all the top level
directories as required.
old behaviour - 3.0.0
lets say my install point is /mnt/usbdisk/BackupPC
/mnt/usbdisk is a mount point for an external usb drive that gets
swapped out weekly.
now lets say i put a new usbdisk in, previously unused. I format it and
make sure that after its mounted that /mnt/usbdisk has appropriate
permissions for the backuppc user to create directories underneath it.
Thus all i have is...
# ls -la /mnt/usbdisk
total 32
drwxrwxr-x 4 root backuppc 4096 Dec 3 11:20 .
drwxr-xr-x 5 root root 4096 Nov 16 17:54 ..
drwx------ 2 root root 16384 Dec 3 11:09 lost+found
Now when backuppc comes to decide it needs to do a backup it would
automatically create any necessary directories, i.e. BackupPC, pc,
cpool, pool, etc, and carry on.
new bahaviour - 3.1.0
same process as before however if i start backuppc with an empty disk i
get.....
Starting BackupPC: 2007-12-03 11:23:43 Can't create a test hardlink
between a file in /mnt/usbdisk/BackupPC/pc and
/mnt/usbdisk/BackupPC/cpool. Either these are different file systems,
or this file system doesn't support hardlinks, or these directories
don't exist, or there is a permissions problem, or the file system is
out of inodes or full. Use df, df -i, and ls -ld to check each of these
possibilities. Quitting...
[FAILED]
I have to manually create /mnt/usbdisk/BackupPC/pc and
/mnt/usbdisk/BackupPC/cpool before i can start backuppc successfully.
So it seems the new code to test for hard links is "too high" in the
chain. we should create top level directories first, then test for
hardlink capabilities.
Can this be changed back to the old behaviour please?
Regards,
Les
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
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/