FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

LinkBack Thread Tools
Old 05-31-2010, 02:32 AM
Default How do I fsck an XFS file system in "Squeeze"

Stan Hoeppner wrote:

> lrhorer put forth on 5/20/2010 6:09 PM:
>> OK, I'm stumped. I was having some problems which were
>> likely related
>> to the old kernel in Debian "Lenny", so I upgraded to "Squeeze" in
>> order to alleviate the issue, which it apparently has. Now, however,
>> I
>> need to fsck the main array on the box, which is formatted as XFS.
>> The
>> xfs-repair utility is not on the upgraded system. (I was forced to
>> do
>> a fresh install of the boot drive.) How can I obtain the XFS file
>> utilities - particularly xfs-repair - under "Squeeze"?
> Unless you're seeing XFS errors in your logs or on the console you
> don't
> need to run xfs_check or xfs_repair. Typically these tools are only
> used when an XFS filesytem becomes damaged badly enough that it won't
> mount, or when XFS logs serious errors.
> For the most part XFS is self healing but for the most serious errors,
> which
> usually result from defective disk and/or controller hardware. XFS
> journal replay after power outages and kernel panics will either
> delete or zero files and directories that weren't fully written at the
> time of the crash, but the XFS filesystem itself will be fully intact.
> What is it that leads you to believe you need to perform a filesystem
> check or repair on your XFS filesystem?

Well, first of all, even if it is not needed now, it may be in the
future. To answer your question, however, it was needed because the
underlying array suffered a catastrophic failure, and has since been
rebuilt. Having rebuilt the array, and knowing that at least some data
had possibly been lost at the block device level, it is at least
prudent to double-check the health of the file system structures.
Indeed, xfs_repair found and repaired some corrupted structures. The
files were extracted and re-written to the drive from storage using

The simple answer to my original question was, "xfsprogs". Doing a
synaptic search for "xfs" returns far, far too many results through
which to easily sift, and searching for "xfs_repair" returns none at

To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 7dKdnUN8mtUngp7RnZ2dnUVZ_jWdnZ2d@giganews.com">htt p://lists.debian.org/7dKdnUN8mtUngp7RnZ2dnUVZ_jWdnZ2d@giganews.com

Thread Tools

All times are GMT. The time now is 07:04 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org