LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-22-2008, 10:35 PM   #1
tea of evil
Member
 
Registered: Aug 2006
Location: South Florida
Distribution: openSuSE, Ubuntu
Posts: 46

Rep: Reputation: 15
Recovering XFS


I was hoping for a filesystems forum, but here goes.

I had a nice big XFS partition spanning two disks using LVM. Key word here is had; one of the disks went. dd_rescue and 25.9 hours later I had my LVM restored.

Problem is my XFS partition is now corrupted (or so xfs_check tells me). I ran xfs_repair, but it only brought back about 5% of the files I had on there, everything else is gone.

Is there a better way to recover XFS aside from xfs_repair? Did I just destroy nearly everything by using it?
 
Old 11-22-2008, 11:14 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
Unless you where using LVM on a Hardware Raid or Software Raid then I am going to say I am pretty sure that yes you have lost some or at worst most of your data. LVM is a way to take multiple hard drives and make it appear as on very large volume, not a Raid replacement but more of a supplement.
 
Old 11-24-2008, 09:05 AM   #3
tea of evil
Member
 
Registered: Aug 2006
Location: South Florida
Distribution: openSuSE, Ubuntu
Posts: 46

Original Poster
Rep: Reputation: 15
Calling it a loss

Yeah, I figured it was mostly gone. I probably should have done xfs_dump to an image then xfs_restore to try to pull off data, instead of trying to repair the FS directly.

Oh well, at least my database is still intact.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kdebase not recognizing XFree86-xfs package as xfs mikeyt_333 Linux - Software 1 08-17-2004 01:50 PM
recovering bad xfs filesystem? ss59 Linux - Newbie 0 05-04-2004 01:38 PM
recovering xfs volumes after ext2 formating Crypt Linux - Software 0 04-15-2004 09:27 AM
2.4.22+xfs BedriddenTech Linux - Software 0 09-01-2003 06:30 AM
Xfs mikeshn Linux - Newbie 1 02-18-2002 07:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration