Solved

Can't read my XFS

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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HP P440ar Smart Array 6 56
Bios update is not supported using rbu method 12 70
Server HP DL380 G7 13 43
RAID, not sure what Type ?? 14 127
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
In this article you will get to know about pros and cons of storage drives HDD, SSD and SSHD.
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…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.

895 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

17 Experts available now in Live!

Get 1:1 Help Now