[CentOS] fsck problems

Tue Mar 23 03:25:38 UTC 2010
Robert Nichols <rnicholsNOSPAM at comcast.net>

On 03/22/2010 08:33 PM, sync wrote:
> Well , Thanks for your suggestions.
>
> 1.Which kind of file system is being used on the volume having trouble?
>   A:  it uses the ext2fs filesystem on CentOS  4.6 x86_64
>
> 2.Do you have backups?
> A: that server is used to backup other servers data , so itself  has not
> any backups
>
> 3.Is the volume small enough and do you trust yourself enough with dd to
> duplicate it off to a
> USB|firewire|esata disk? (now THIS _is_ risky. :)
>
>
> 4.have you read `man fsck` to see why it was being suggested to run it
> WITHOUT the a or p options?
> A: Yeah ~ I have read that .  In particular , "-p" options ,. This
> option is mainly provided for those sysadmins
> who don't want to repartition the root system to be small and compact(
> which is really the right solution)

You need to look more closely at the manpage.  That comment is for the
"-P" (capital P) option, not the "-p" (lower case) option.  The latter
is not an option to 'fsck' itself but is passed down to 'fsck.ext2',
where it has an entirely different meaning.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.