LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-19-2007, 02:48 PM   #1
mopper1023
LQ Newbie
 
Registered: Mar 2007
Posts: 1

Rep: Reputation: 0
recovery procedure of XFS


We had three HDD failures back-to-back-to-back on a RAID-5 setup. Each of these disks has 2 partitions called 04 and 05. Only HDDs that contained 04 failed. 04 is xfs while the other partition (05) is reiserfs and is fine. For 04, the directories under 04 are accessible but they contain no data. I find it suspicious that 04 is on all the failed HDDs and not accessible but 05 is fine. I also think 3 HDDs failures in a row seems extremely unlikely but not impossible.

What is the recovery procedure for restoring xfs file systems? I have not tried anything yet but I believe the HDDs are fine and that they just can't see the data at the moment.
 
Old 03-19-2007, 04:44 PM   #2
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
Usually I do the following:

1. First off mount the partition, this will restore (if possible) the internal log.
2. Then umount it and run "xfs_check /dev/device"
3. Then "xfs_repair /dev/device"

If this doesn't work then you may have a problem. Hope it works...
 
Old 03-19-2007, 05:52 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
The risk of losing data from an xfs partition is far greater than that for any other type of filesystem. Files on are open during a power or other failure are filled with zeros by xfs so they may be damaged beyond repair; other filesystems are slower but tend to do better at recovering after a failure.
 
  


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
File recovery after partition table damage - XFS file system gracecourt Linux - General 4 09-28-2017 05:29 PM
XFS: recovery failed/IO error :( regavoga Linux - Hardware 9 10-05-2006 04:24 PM
sarge: root password recovery procedure doesn't work! fab65 Debian 6 03-15-2006 05:11 PM
Linux Hard Drive Recovery Procedure. DarkestHour Linux - Software 3 11-27-2004 09:20 PM
kdebase not recognizing XFree86-xfs package as xfs mikeyt_333 Linux - Software 1 08-17-2004 01:50 PM

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

All times are GMT -5. The time now is 08:30 AM.

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