LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-21-2010, 11:21 AM   #1
cloudon7281
LQ Newbie
 
Registered: Sep 2010
Posts: 1

Rep: Reputation: 0
Recovering lost files on LVM2 + RAID5 following disk failure & re-assembly?


Hi

Through finding a use for old hardware I'm now running Fedora 10 on a crappy old box with
- 1 x internal HD hosting the OS
- 4 x external USB drives, 2x500GB with single partitions, 2x1TB each partitioned into 2x500GB
- 2 x RAID partitions
- 1 RAID5, consisting of a 500GB partition from each drive
- 1 RAID1, consisting of the remaining 2 500GB partitions from the 1TB drive
- LVM2 on top; one PV per RAID, one VG, 5 LVs.

This has been happily acting as a backup-cum-DLNA media server for my family.

Recently one of the 1TB disks failed, and I had a power cut which rebooted the box. After some faff (the drives acquired different partitions on reboot) I've re-assembled and re-started both RAID arrays, and activated LVM on top. So far so good, but I've found that some of my LVs have lost recent files (i.e. no files exist with creation dates more recent than the last vgcfgbackup was taken), though some others are fully up-to-date.

I'm pretty sure I haven't done anything which ought to affect the LVM metadata since the last backup (I use the system-config-lvm GUI, which I believe automatically takes back-ups), but my guess is that the affected LVs are missing a record of some physical extents?

fsck reports clean on the affected LVs, and there's nothing in lost+found. I also haven't touched any of the data on any of the LVs since re-assembly.

Googling finds lots of the problems I had re-assembling and re-starting the arrays, but I can't find anything matching the recent file loss.

Any ideas on how to recover the lost files?

thanks in advance

Calum
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID5 disk failure during recovery gives weird result dbrazeau Linux - General 2 08-13-2010 11:16 AM
RAID5 two disk failure, botched recovery, need help finding filesystem GregIthaca Linux - Server 2 06-15-2010 08:57 AM
LVM - recovering data after a disk failure. bogaurd Linux - Software 2 12-19-2005 11:34 AM
multiple disk failure in RAID5 and dd gorets Linux - Hardware 1 07-22-2005 01:51 PM
multiple disk failure in RAID5 and dd gorets Linux - Software 1 07-21-2005 09:25 AM


All times are GMT -5. The time now is 01:28 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration