Creating a New File System
Page 9-22

Creating a New File System

The newfs command removes a complete flash file system and all files within it. It then
creates a new flash file system, which is empty. You can use this command when you want
to reload all files in the file system from a readily-accessible backup device or in the unlikely
event that the flash file system becomes corrupted.
Important Note
Before you execute the newfs command you should
preserve your configuration file by saving it to another
host.
To re-initialize the flash memory, enter
newfs
at the system prompt. The following screen will display.
You are about to destroy all files on file system /flash. If you
are experiencing problems with the flash file system, you might
want to use the "fsck" command to help determine where problems
may exist.
Are you absolutely sure you want to strip the current file
system and create a new one? (n)
Enter y to re-initialize the flash memory or n to cancel (the default is n). If you enter y, you
will have to load new software into the switch.
Warning
Do not power-down the switch after running the newfs
command until you reload your image and configura-
tion files. If you do, you will have to reload the image
files at the boot monitor prompt using the serial inter-
face (e.g., ZMODEM), which can take several minutes.
You can then download new files via FTP or ZMODEM.

Creating a SIMM File System

If you have installed the 32 or 56 Mb SIMM upgrade and you want to create a new file system
in the SIMM’s memory, enter
cd /simm
at the system prompt before you execute the newfs command.