• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 556
  • Last Modified:

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.
0
ein_mann_betrieb
Asked:
ein_mann_betrieb
  • 2
1 Solution
 
Duncan RoeSoftware DeveloperCommented:
I would try xfs_repair
0
 
TobiasHolmCommented:
"xfs_repair repairs corrupt or damaged XFS filesystems (see xfs(5)). The filesystem is specified using the device argument which should be the device name of the disk partition or volume containing the filesystem. If given the name of a block device, xfs_repair will attempt to find the raw device associated with the specified block device and will use the raw device instead.Regardless, the filesystem to be repaired must be unmounted, otherwise, the resulting filesystem may be inconsistent or corrupt. "

Ref: http://linux.die.net/man/8/xfs_repair

If that doesn't work, I'd say you have to restore your backup.

Regards, Tobias
0
 
ein_mann_betriebAuthor Commented:
Hello...

Sorry I should have been more specific...

I know about xfs_repair... but that would require me to zero out my log.

I ended up with my answer on the xfs mailing list.

"echo t > /proc/sysrq-trigger"
This will output the stack trace associated with the hung mount/xfs-check process.

I will give duncan the points since he was first.
0
 
ein_mann_betriebAuthor Commented:
It is a solution, but I was looking for more in-depth debugging.
0

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now