AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
  • 1.  Can i run fsck?

    Posted Wed May 14, 2008 03:35 PM

    Originally posted by: Miztiik


    Can i run fsck on a mounted FS?
    #AIX-Forum


  • 2.  Re: Can i run fsck?

    Posted Wed May 14, 2008 03:52 PM

    Originally posted by: SystemAdmin


    I think the fsck man page says it best:

    1. The fsck command does not make corrections to a mounted file system.
    2. The fsck command can be run on a mounted file system for reasons other than repairs. However, inaccurate error messages may be returned when the file system is mounted.
    #AIX-Forum


  • 3.  Re: Can i run fsck?

    Posted Wed May 14, 2008 03:53 PM

    Originally posted by: esv


    yes you can run fsck on a mounted filesystem, however no changes will be made to it.
    #AIX-Forum


  • 4.  Re: Can i run fsck?

    Posted Thu May 15, 2008 10:38 AM

    Originally posted by: Yanuly


    Not really useful on a mounted fs, bring down any processes running over it (check with fuser) and use the -y option to correct inconsistencies automatically. It's a little more complicated if the fs belongs to AIX OS. Before running, have a backup at hand.
    #AIX-Forum