On Feb 2, 2007, at 4:26 PM, Holger Parplies wrote: > Hi, > > Chantal Rosmuller wrote on 02.02.2007 at 20:08:46 [[BackupPC-users] > cannot cleanup /var/lib/backuppc/trash]: >> If I want to clean up /var/lib/backuppc/trash I get the following >> error: >> >> [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_trashClean >> processState running >> log BackupPC_trashClean failed to empty /var/lib/backuppc/trash >> processState idle
I'm having a similar issue: 007-02-05 16:57:21 BackupPC_trashClean failed to empty /usr/local/ backuppc/data/trash 2007-02-05 17:02:21 BackupPC_trashClean failed to empty /usr/local/ backuppc/data/trash 2007-02-05 17:07:22 BackupPC_trashClean failed to empty /usr/local/ backuppc/data/trash 2007-02-05 17:12:22 BackupPC_trashClean failed to empty /usr/local/ backuppc/data/trash 2007-02-05 17:17:22 BackupPC_trashClean failed to empty /usr/local/ backuppc/data/trash 2007-02-05 17:22:22 BackupPC_trashClean failed to empty /usr/local/ backuppc/data/trash Looking at the trash directory, there are a bunch of directories of varying ages. There are no files in the directories, but they can't be removed because their link count isn't 2. For example: [nebula]$ cd 1161071499_918_0/ [nebula]$ ls f%2f [nebula]$ sudo rm -rf f%2f Password: rm: f%2f/fusr/fshare/femacs/f21.4/flisp/fobsolete: Directory not empty rm: f%2f/fusr/fshare/femacs/f21.4/flisp: Directory not empty rm: f%2f/fusr/fshare/femacs/f21.4: Directory not empty rm: f%2f/fusr/fshare/femacs: Directory not empty rm: f%2f/fusr/fshare/fthemes/fBluecurve: Directory not empty rm: f%2f/fusr/fshare/fthemes: Directory not empty rm: f%2f/fusr/fshare: Directory not empty rm: f%2f/fusr: Directory not empty rm: f%2f: Directory not empty [nebula]$ ls -la f%2f/fusr/fshare/femacs/f21.4/flisp/fobsolete total 8 drwxr-x--- 5 backuppc backuppc 512 Oct 17 00:53 . drwxr-x--- 3 backuppc backuppc 6144 Oct 17 00:53 .. [nebula]$ ls -la f%2f/fusr/fshare/femacs/f21.4/flisp/ total 10 drwxr-x--- 3 backuppc backuppc 6144 Oct 17 00:53 . drwxr-x--- 3 backuppc backuppc 512 Oct 17 00:53 .. drwxr-x--- 5 backuppc backuppc 512 Oct 17 00:53 fobsolete Whereas an empty directory looks like: [nebula]$ mkdir test [nebula]$ cd test [nebula]$ ls -al . total 4 drwxr-xr-x 2 tony tony 512 Feb 5 17:25 . drwxr-xr-x 5 tony tony 1536 Feb 5 17:25 .. Someone with a better understanding of hardlinks and BackupPC can probably expand on this, but it is my guess that something happened out of order or was interrupted preventing the correct unlinking of the directories. You might take a look at what is in the trash directory to see if you have a similar situation. I haven't figured out how to remedy this yet. The above is a UFS filesystem under FreeBSD 5.4, BackupPC 2.1.2. HTH, Tony Del Porto SysAdmin USENIX Association 2560 9th Street, Suite 215, Berkeley CA 94710 [EMAIL PROTECTED] | www.usenix.org | www.sage.org http://www.usenix.org/about/tonyd.gpgkey ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/