Re: NFS help

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



On 27/10/16 21:23, Matt Garman wrote:
<snip>
> 
> If you have the ability to take these systems offline temporarily, you
> can also run "fsck" (file system check) on the C6 and C7 file systems.
> IIRC, ext4 can do a very basic kind of check on a mounted filesystem.
> But a deeper/more comprehensive scan requires the FS to be unmounted.
> Not sure what the rules are for xfs.  But C6 uses ext4 by default so
> you could probably at least run the basic check on that without taking
> the system offline.

Don't bother with fsck on XFS filesystems.  From the man page
[fsck.xfs(8)]: "XFS is a journaling filesystem and performs recovery at
mount(8)  time if necessary, so fsck.xfs simply exits with a zero exit
status".  If you need a deeper examination use xfs_repair(8) and note
that: "the filesystem to be repaired must be unmounted, otherwise, the
resulting filesystem may be inconsistent or corrupt" (from the man page).

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux