XFS Question

Brett I. Holcomb brettholcomb
Mon May 17 11:46:33 PDT 2004


Thank you for the explanation.  I'll save this one.   From what I've seen 
and heard problems with XFS are rare - but then it's built to be stable and 
recoverable!

Andrew Mathews wrote:

> Brett I. Holcomb wrote:
>> Question about XFS.  It's a journeling system and does it's check at
>> mount.
>>  Suppose it finds a problem with the filesystem during the mount so it
>> would - I assume refuse to mount it.  How do you fix it?  fsck.xfs is a
>> do nothing routine since it assumes it's checked at mount?
>> 
>> 
> 
> If there's a problem with the filesystem and/or the journal can't be
> replayed (rare) it will drop you to a shell to run xfs_repair with the
> appropriate flags. You should run xfs_check first though to determine
> exactly what the problem is. In a very rare case you'll use it to
> determine if the filesystem needs dumped and restored. This could happen
> if your journal is stored externally and isn't accessible, or the log
> has grown beyond the internal default of 32k for a type 1 log and needs
> to be converted to a type 2 log using the suint suboption in mkfs.xfs.
> Essentially, as you say, fsck.xfs does nothing to the filesystem as it's
> called at a different layer than the normal xfs tools and isn't capable
> of manipulating the filesystem externally. It makes some people feel
> good though. <g>
> 

-- 
Brett I. Holcomb
brettholcomb at R777charter.net
AKA Grunt <><
Registered Linux User #188143
Remove R777 to email


More information about the Linux-users mailing list