Alcatel-Lucent 6850-48 Guida Di Riferimento
File Management Commands
page 7-30
OmniSwitch CLI Reference Guide
September 2009
fsck
Performs a file system check, including diagnostic information in the event of file corruption.
fsck /flash [no-repair | repair]
Syntax Definitions
/flash
Indicates that the file system check will be performed on the /flash
directory.
directory.
no-repair
Performs only the file system check on the /flash directory.
repair
Performs file system check on the /flash directory and also repairs any
errors found on the file system.
errors found on the file system.
Defaults
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• The file system check is performed on the /flash directory by default.
• Specifying the parameter repair along with the command performs the file system check and also
repairs any errors found.The switch will display the errors found and specify those errors that have
been repaired. If there are no errors found, then just the file system information is displayed.
been repaired. If there are no errors found, then just the file system information is displayed.
• This command only applies to the primary and secondary CMM in an OmniSwitch chassis-based
switch or the primary and secondary switch in an OmniSwitch stack.
Examples
-> fsck /flash no-repair
/flash/ - disk check in progress ...
/flash/ - Volume is OK
total # of clusters: 29,758
# of free clusters: 18,886
# of bad clusters: 0
total free space: 77,357,056
max contiguous free space: 55,451,648 bytes
# of files: 59
# of folders: 5
total bytes in files: 44,357,695
# of lost chains: 0
total bytes in lost chains: 0
parameter
default
no-repair | repair
no-repair