BackupPC-users

Re: [BackupPC-users] Debian Etch to Lenny problem with external disks

2009-03-16 14:18:18
Subject: Re: [BackupPC-users] Debian Etch to Lenny problem with external disks
From: Les Mikesell <lesmikesell AT gmail DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 16 Mar 2009 13:09:55 -0500
olafkewl wrote:
> Hello,
> 
> I'm using backuppc as a package distributed by the Debian distro. The 
> version I use was delivered by Etch so that it's been upgraded when I 
> upgraded to Lenny.
> 
> Here's my conf :
> 2 external disks are plugged on this box through ESATA connection => 
> /dev/sdb and /dev/sdc
> There is only one partition on each of these discs => /dev/sdb1 and 
> /dev/sdc1 (both ext3)
> 
> Everything was going well, backing up of Unix and MS machines worked 
> well since I upgraded the distro (I know...)

You should probably read this:
http://backuppc.wiki.sourceforge.net/change+archive+directory

> Now, each time a backup is trying to start for a host, i get this error 
> message on the logfile :
> 
> "2009-03-16 17:31:25 Can't create a test hardlink between a file in 
> /var/lib/backuppc/pc/linuxsrv1 and /var/lib/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..."
> 
> /var/lib/backuppc/pc/linuxsrv1 is dynamically linked to /mnt/sdb1/linuxsrv1

Earlier versions didn't check at startup and would just fail to pool 
anything.  Your old logs were probably full of "can't link" messages.

> The FS is not full at all (50% free). I tried to manually hardlink from 
> /var/lib/backuppc/pc/linuxsrv1 to /var/lib/backuppc/cpool, it works.

What command did you use?  It _should_ fail if these are on different 
filesystems.

> All 
> the files are owned by the 'backuppc' user, then no permissions problem.

> I've only been able to run a backup for a host which is not attached to 
> a ESATA disc (that's to say no symlinked in /var/lib/backuppc/pc/)
> 
> I don't really know what to do...

The whole archive needs to be on the same filesystem.  If you use a 
separate disk/partition it needs to be mounted or symlinked at the 
/var/lib/backuppc level.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com



------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
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/