Solved

Can't read my XFS

Posted on 2008-10-13
2
796 Views
Last Modified: 2013-12-06
I have 2 raid5 arrays that are tied together using LVM. and XFS, so both raids were mounted as /data.

Here is my fstab entry:
/dev/mapper/VolumeGroup01-DataVolume /data           xfs     noatime         0       2

I had problems rebuilding the raid so 3-ware sent me a scritp and it repaired the raid, but when I booted into the OS (debian) I was able to browse to /data and do an ls. I could see the directory contents and all seemd fine. I then did an ls a few seconds later and recieved:
ls: reading directory .: Input/output error


I looked in the dmesg logs and found:
xfs_force_shutdown(dm-0,0x8) called from line 1139 of file fs/xfs/xfs_trans.c.  Return address = 0xf8cb7708
Filesystem "dm-0": Corruption of in-memory data detected.  Shutting down filesystem: dm-0
Please umount the filesystem, and rectify the problem(s)
Ending XFS recovery on filesystem: dm-0 (logdev: internal)
xfs_force_shutdown(dm-0,0x1) called from line 424 of file fs/xfs/xfs_rw.c.  Return address = 0xf8cb7708
xfs_force_shutdown(dm-0,0x1) called from line 424 of file fs/xfs/xfs_rw.c.  Return address = 0xf8cb7708


Can anyone please help me get my data off this thing?

0
Comment
Question by:sneezewort
2 Comments
 
LVL 2

Expert Comment

by:GoBieN
ID: 22710018
With the partition being unmounted at the moment, can you a fsck on it to repairs the errors ?
Perhaps it's just a corrupt filesystem that can be fixed.
0
 

Accepted Solution

by:
sneezewort earned 0 total points
ID: 22733151
GoBieN,
Thanks for your reply, but AFAIK you cant run fsck on xfs filesystems or gpt partitions.
 
I ended up running xfs_repair -L md-0.
md-0 was the name of the LVM device.
I lost about 10% of my data due to corruption, but at least I got 90% back.  >:P
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
In this article we have discussed the manual scenarios to recover data from Windows 10 through some backup and recovery tools which are offered by it.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now