On Thu, Jan 16, 2014 at 4:55 PM, Adam Hardy
<[email protected]> wrote:
> I'm trying to get this running and I've changed topDir in config.pl to point
> to a directory on my USB drive, but backuppc complains bitterly and refuses
> to start.
>
> This is the error:
>
> 2014-01-16 22:44:37 Can't create a test hardlink between a file in
> /media/adam/WDPassport2T/backuppc/pc and
> /media/adam/WDPassport2T/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...
>
> I don't see what the problem is.
If you 'su -s /bin/bash - backuppc' and try the ln command with those
paths from the command line you might get a better diagnostic message.
Does the backuppc user have at least rx permission on all the
directories up that long path?
> df
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sdb1 1922698040 111316 1824896308 1% /media/adam/WDPassport2T
>
> df -i
> Filesystem Inodes IUsed IFree IUse% Mounted on
> /dev/sdb1 122093568 9931 122083637 1% /media/adam/WDPassport2T
>
> ls -ld /media/adam/WDPassport2T/backuppc/*
> drwxr-x--- 18 backuppc backuppc 4096 Jan 15 13:00
> /media/adam/WDPassport2T/backuppc/cpool
> drwxr-x--- 2 backuppc backuppc 4096 Jan 15 13:56
> /media/adam/WDPassport2T/backuppc/log
> drwxr-x--- 4 backuppc backuppc 4096 Jan 15 13:00
> /media/adam/WDPassport2T/backuppc/pc
> drwxr-x--- 2 backuppc backuppc 4096 Jan 9 2013
> /media/adam/WDPassport2T/backuppc/pool
>
> Or am I wrong?
>
> I figure I've done something else wrong by moving these drives over from
> /var/lib/backuppc - should I have moved the whole contents over and changed
> the home directory setting?
I'd normally mount it as /var/lib/backuppc or at least put a symlink
there just because previous versions would have required it, but the
current version shouldn't care. Assuming you formatted with a linux
filesystem that handles symlinks, all you should need is permission to
go through those upper directories - I'm not sure how USB automounts
work in that respect.
--
Les Mikesell
[email protected]
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
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/