BackupPC-users

Re: [BackupPC-users] fsck of /var/lib/backuppc

2008-09-08 13:23:16
Subject: Re: [BackupPC-users] fsck of /var/lib/backuppc
From: Les Mikesell <les AT futuresource DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 08 Sep 2008 12:24:17 -0500
Rob Owens wrote:
> I rebooted my BackupPC server after a RAM upgrade, and warned me of
> errors on my /var/lib/backuppc partition.  So I ran e2fsck -p -v on the
> partition, and I get a whole lot of:
> 
> /dev/md5: Problem in HTREE directory inode 33115457: node (712) has bad
> max hash
> /dev/md5: Problem in HTREE directory inode 33115457: node (712) not
> referenced
> /dev/md5: Problem in HTREE directory inode 33115457: node (713) has
> invalid depth
> 
> and it tells me to run fsck manually.  (there are hundreds of these
> entries).
> 
> Running fsck manually gives me:
> 
> Invalid HTREE directory inode 33115457
> (/pc/app-server/357/fBEST/fPAPERLESS HAL).  Clear HTree index<y>?
> 
> I'm not sure if I should say yes, because I don't know what kind of
> repercussions this could have.

If you have to ask advice, you probably need to say yes here.  And if 
there are hundreds of errors you might as well run fsck with the -y 
option.  fsck knows more than most of us about how to recover a 
filesystem...

> If I trash anything in my pool, will I
> know it right away?  If I lose my backups, it would be bad but not the
> end of the world.  However, if I think I have good backups and I really
> don't, that would be worse.  I guess I'm looking for any advice you guys
> might have...

fsck will fix things so the directories make sense, the free space isn't 
actually being used by files, etc.  It may make some entries in your 
lost+found directory with data where it can't determine the old 
filenames.   It can't verify the content of the files, though, but they 
will probably still be mostly correct and certainly better than nothing 
as backups.  I'd schedule full runs as soon as possible after fixing 
things, though.

-- 
   Les Mikesell
    lesmikesell AT gmail DOT com


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>