manpagez: man pages & more
man fsck_cs(8)
Home | html | info | man
fsck_cs(8)                BSD System Manager's Manual               fsck_cs(8)


NAME

     fsck_cs -- Verify and repair CoreStorage logical volume groups.


SYNOPSIS

     fsck_cs -q device ...
     fsck_cs -p device ...
     fsck_cs [-y | -n] [-g | -x] device ...


DESCRIPTION

     The fsck_cs utility verifies and repairs CoreStorage logical volume
     groups.

     The device parameter(s) should be path(s) to the "raw" disk device(s) (a
     character special device), such as /dev/rdisk1s1 that constitute the
     CoreStorage logical volume group.  If you specify a "non-raw" path (a
     block special device) such as /dev/disk1s1, or just the disk name such as
     disk1s1, it will automatically be converted to the corresponding raw disk
     device (/dev/rdisk1s1).

     Alternatively device can be specified as the UUID of the CoreStorage log-
     ical volume group or as the mountpoint of a CoreStorage-hosted logical
     volume.

     The options are as follows:

           -q      Performs a "quick" check and indicates if any corruptions
                   were found via the exit status.  In this mode logical vol-
                   umes are not checked, nor is proactive MLV scrubbing per-
                   formed.

           -p      Operates in "preen" mode.  MLV mirror blocks are repaired
                   where necessary.  Newer transactions may be invalidated to
                   force a roll-back to an older, but consistent, filesystem
                   state.

           -y      Causes fsck_cs to assume "yes" as the answer to all ques-
                   tions.  In other words, always attempt to repair any errors
                   that are found.

           -n      Causes fsck_cs to assume "no" as the answer to all ques-
                   tions.  In other words, never attempt to repair any errors
                   that are found.

           -g      Causes fsck_cs to produce its output in GUI-compatible
                   form.  This option is used when another application with a
                   graphical user interface (like Mac OS X Disk Utility) is
                   invoking the fsck_cs tool.

           -x      Causes fsck_cs to produce its output in an XML-like (plist)
                   form.


DIAGNOSTICS

     The fsck_cs utility exits with 0 if no corruption was detected or if all
     corruptions were repaired, and with >0 if any unrepaired corruption
     remains.


BUGS

     fsck_cs does not perform an exhaustive validation, nor is it able to fix
     many of the inconsistencies that it does detect.


HISTORY

     The fsck_cs utility first appeared along with CoreStorage in Mac OS X
     10.7.0.

Darwin                           July 26, 2010                          Darwin

Mac OS X 10.7 - Generated Mon Sep 5 12:51:36 CDT 2011
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.