Re: File system checking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



--- Scott Becker <scottb@xxxxxxxx> wrote:

> Does anybody know the best way to check that a
> filesystem is healthy?
> 
> I'm working on a light selfcheck script (to be ran
> once a minute) and 
> creating a file and checking it's existence may not
> work because of 
> write caching. Checking the mount status is probably
> better but I don't 
> know. I've had full filesystems and once the kernel
> detected an error 
> and remounted read only. Other times, when a drive
> in the raid array was 
> slowly failing, it would hang on all IO for a spell.
> 
> If there's an existing source module or a script
> somebody is aware of 
> that would be great.

take a look at fs.sh, you might find some good
functions and  procedure to get what you want

cu
roger

__________________________________________
RedHat Certified ( RHCE )
Cisco Certified ( CCNA & CCDA )


      ____________________________________________________________________________________
Be a better pen pal. 
Text or chat with friends inside Yahoo! Mail. See how.  http://overview.mail.yahoo.com/

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux