BackupPC-users

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

2008-09-08 13:31:16
Subject: Re: [BackupPC-users] fsck of /var/lib/backuppc
From: Rob Owens <rob.owens AT biochemfluidics DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 08 Sep 2008 13:31:06 -0400

Les Mikesell wrote:
> 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...
> 
Agreed.  I'm giving it a shot.

>> 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.
> 
My concern was that if a file got corrupted, would BackupPC notice or
would it allow new files to be hardlinked to the corrupted files in the
pool.  I guess a full backup would take care of that, though.  Anyway,
thanks for the advice.  Looks like everything's working now.

-Rob
********************************************************

The information transmitted is intended only for the person or entity to
which it is addressed and may contain confidential and/or privileged
material. If you are not the addressee, any disclosure, reproduction,
copying, distribution, or other dissemination or use of this transmission in
error please notify the sender immediately and then delete this e-mail.
E-mail transmission cannot be guaranteed to be secure or error free as
information could be intercepted, corrupted lost, destroyed, arrive late or
incomplete, or contain viruses.
The sender therefore does not accept liability for any errors or omissions
in the contents of this message which arise as a result of e-mail
transmission. If verification is required please request a hard copy
version.

********************************************************


-------------------------------------------------------------------------
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>