LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 09-13-2010, 01:54 PM   #1
pbrunnen
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
Unhappy XFS Filesystem not mounting


Hello all,

I have an XFS filesystem (not my root filesystem) that is not mounting.

We had a power failure over the weekend. All but one of our XFS mounts is comming up. Its a large mount (2TB) and I am not seeing errors per se...

But after attempting to mount it, it has been 4 hours and all we see in either dmesg output or in the messages file from the kernel is:

"Starting FXS recovery on filesystem: sdd1 (logdev: internal)"

Our mount process is dead and I don't see any disk i/o going on. Am I missing something here on this?

I rebooted the box once earlier and was able mount read-only with norecovery...

I tried xfs_check and it also produced a dead "xfs_df -i -p xfs_check -c check /dev/sdd1"

Thoughts? Ideas?

Thanks!! -Peter.
 
Old 09-13-2010, 10:25 PM   #2
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
Can you see the partition table with fdisk? Does dmesg say anything? Or /var/log/messages? What kind of disk is it? You might be able to check the SMART status:

smartctl -Hc /dev/sda

If you have another 2TB lying around you could try using dd to copy data

dd if=/dev/sdd1 of=/dev/sde1

When you say
Quote:
and it also produced a dead "xfs_df -i -p xfs_check -c check /dev/sdd1"
, what do you mean? Did it produce an error? Did it hang? How long did you leave it running?

Last edited by mcd; 09-13-2010 at 10:27 PM.
 
Old 09-14-2010, 12:18 AM   #3
pbrunnen
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Hi mcd,

The partition is sitting on a RAID 6 sas disk array. All the other filesystems on the array are fine... Hardware diags are clean for the controller and no failed disks.

Quote:
When you say
Quote:
and it also produced a dead "xfs_df -i -p xfs_check -c check /dev/sdd1"
* Sorry, there was a typo there. It should read xfs_db not xfs_df...

When I run xfs_check on /dev/sdd1, nothing reports. From another terminal, when I do ps ax|grep xfs, I see the xfs_db as D and xfs_check as sleeping.

Nothing in dmesg or /var/log/messages outside the normal "Starting FXS recovery on filesystem: sdd1 (logdev: internal)"... no disk activity either.

Almost like there is something in the journal log causing it to hang on recovery...
A mount with -o ro,norecovery works. I am copying the files now before I 'experiment' on this volume any further.

Real puzzler here.

Thanks so much! :-)
-Cheers, Peter.
 
Old 09-14-2010, 06:43 AM   #4
Coburn64
LQ Newbie
 
Registered: Jul 2009
Location: Australia
Distribution: Debian GNU/Linux 6.0 Squeeze
Posts: 27

Rep: Reputation: 16
Backup and reformat the drive(s). It could be a internal filesystem glitch.

I prefer using EXT4 over XFS, EXT4 is super fast.
 
Old 09-14-2010, 10:33 AM   #5
mcd
Member
 
Registered: Aug 2003
Location: Boulder, CO
Distribution: Slackware, RHEL, CentOS
Posts: 825

Rep: Reputation: 33
I agree, reformat it and see if that helps.
 
Old 09-14-2010, 12:37 PM   #6
pbrunnen
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Ended up getting it resolved with "xfs_repair -L" from a newer clonezilla live cd.

The log was apparently corrupted somehow... but just was not 'mentioning' it.

Either way... got my files back and only lost what what happening during the crash. -- understandable.

Thanks everyone.
-Cheers, Peter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I undelete files on an XFS filesystem felbvts Linux - Software 17 07-02-2012 08:53 AM
What is the best filesystem? (mainly xfs vs ext3) calimer Linux - Software 16 03-02-2005 01:07 AM
XFS Filesystem on RH 9.0 Necessary? GATTACA Red Hat 7 12-29-2003 05:42 AM
how to format a disk in XFS filesystem bennethos Linux - Newbie 2 10-14-2003 08:43 AM
XFS 64-bit filesystem sneeze Linux - Newbie 3 07-14-2003 06:15 AM


All times are GMT -5. The time now is 06:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration