Solved

Can't read my XFS

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best Server Board For The Money 19 116
New HP server install iLo 4 65
looking for a CENTOS ISO to download with x window installed 2 67
I NEED A "BARE" LINUX ... 9 89
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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