EasyManua.ls Logo

Alcatel-Lucent OmniSwitch 6800 Series - Utility Commands; Deleting the Entire File System; Displaying Free Memory Space; Performing a File System Check

Alcatel-Lucent OmniSwitch 6800 Series
292 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
File and Directory Management Managing System Files
page 1-20 OmniSwitch 6800/6850/9000 Switch Management Guide December 2007
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 automatically repair any errors found. It displays
diagnostic information in the event of file corruption. When you enter the command, you must specify the
flash directory as follows.
-> fsck /flash
The screen displays the following prompt:
Do you want fsck to automatically repair any errors found? (<CR> = No)
Press Enter to skip repairing files, or enter yes to start file repair. If you enter yes, the screen displays simi-
lar to the following:
/flash/ - disk check in progress ...
/flash/ - Volume is OK
total # of clusters: 14,773
# of free clusters: 9,621
# of bad clusters: 0
total free space: 19,242 Kb
max contiguous free space: 7,454,720 bytes
# of files: 28
# of folders: 4
total bytes in files: 10,262 Kb
# of lost chains: 0
total bytes in lost chains: 0
Deleting the Entire File System
The newfs command deletes the flash file system and all the files and directories contained in it. This
command is used when you want to reload all files in the file system.
Caution. This command will delete all of the switch’s system files. All configurations programmed into
the switch will be lost. Do not use this command unless you are prepared to reload all files.

Table of Contents

Other manuals for Alcatel-Lucent OmniSwitch 6800 Series

Related product manuals