Utility Commands; Displaying Free Memory Space; Performing A File System Check - Alcatel-Lucent OmniSwitch AOS Release 6 Manual

Omniswitch series
Table of Contents

Advertisement

File and Directory Management

Utility Commands

The utility commands include freespace, fsck, and newfs. These commands are used to check memory
and delete groups of files.

Displaying Free Memory Space

The
freespace
command displays the amount of free memory space available for use in the switch's file
system. You may issue this command from any location in the switch's directory tree.
-> freespace
/flash 16480256 bytes free

Performing a File System Check

The
fsck
command performs a file system check and can repair any errors found. It displays diagnostic
information in the event of file corruption. Note that the fsck 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.
There are two options available with the
option performs only the file system check on the /flash directory, whereas, specifying the repair option
performs the file system check on the /flash directory and also repairs any errors found on the file system.
If none of the options are specified, then the no-repair option is applied by default.
If you want to repair any errors found automatically while performing the file system check, you must
specify the flash directory as follows:
-> fsck /flash repair
The screen displays the following output:
/flash/
- disk check in progress ...
/flash/
- Volume is OK
Change volume Id from 0x0 to 0xef2e3c
total # of clusters:
# of free clusters:
# of bad clusters:
total free space:
max contiguous free space:
total bytes in files:
# of lost chains:
total bytes in lost chains:
While performing the repair operation, 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.
page 1-18
fsck
command: no-repair and repair. Specifying the no-repair
29,758
18,886
0
77,357,056
55,451,648 bytes
# of files:
59
# of folders:
5
44,357,695
0
0
OmniSwitch AOS Release 6 Switch Management Guide
Managing System Files
July 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Omniswitch aos 6

Table of Contents