Solved

Can't read my XFS

Posted on 2008-10-13
2
801 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

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Usually shares are where we want them for our users and we tend to take them for granted. There are times, however, when those shares may disappear causing difficulty for your users. One of the first things to try is searching for files that shou…
this article is a guided solution for most of the common server issues in server hardware tasks we are facing in our routine job works. the topics in the following article covered are, 1) dell hardware raidlevel (Perc) 2) adding HDD 3) how t…
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…

808 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