Solved

Can't read my XFS

Posted on 2008-10-13
2
805 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Flexible connectivity for any environment

The KE6900 series can extend and deploy computers with high definition displays across multiple stations in a variety of applications that suit any environment. Expand computer use to stations across multiple rooms with dynamic access.

Question has a verified solution.

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

Storage devices are generally used to save the data or sometime transfer the data from one computer system to another system. However, sometimes user accidentally erased their important data from the Storage devices. Users have to know how data reco…
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

707 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