Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13196 - fsck attempted even on non xfs systems
Summary: fsck attempted even on non xfs systems
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-03 17:56 UTC by Brett I. Holcomb
Modified: 2003-01-21 08:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brett I. Holcomb 2003-01-03 17:56:42 UTC
The boot runlevel attempts to fsck a file system that is not efs2.  I have an
all XFS system and the boot scripts run fsck instead of the xfs scripts -
actually as I understand it nothing is needed for xfs as it does it on it's own.
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-05 11:24:00 UTC
Daniel, shouldnt fsck run the xfs utils if they are installed and its an XFS
filesystem ?
Comment 2 Bjoern Brauel (RETIRED) gentoo-dev 2003-01-20 02:14:47 UTC
The asumption that journalized filesystems (xfs in this case) do never need an 
fsck is not correct. In case the journals metadata is corrupt (Ive seen such 
cases even with xfs) it is required to run xfs_check. Now , the fsck utility is 
basically only a wrapper to the filesystems' native fsck (fsck.xfs in this 
case) and must be invoked on every boot. In case the filesystems metatdata 
information has been correctly committed upon mount (metadata checks do ocurr 
on fs mount), fsck.xfs will exit imediately and take no action. If the 
filesystem marks the metadata as being corrupt, fsck.xfs will perform a full 
filesystem check and eventually force single user mode requireing to run 
xfs_repair on the affected partition.
IMO the behaviour of fsck being called on every boot is correct.
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-01-21 08:36:37 UTC
Oh, bleh, I read wrong .. thought it ran ext2 fsck, and not the xfs one ...

Anyhow, Bjoern is correct, this happens even with ext3.  Usually you would
just set the amount of days to check to 0:

  # e2fstune -i 0 /dev/hd??

I do not know how to do this with xfs.

Anyhow, marking invalid ...