S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
1-32
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 1 CLI Overview
Using the File System
Initializing bootflash:
When a switch is shipped, the
init system
command is already performed and you do not need to issue
it again. Initializing the switch resets the entire internal disk and erases all data in the bootflash:
partition. The internal disk is composed of several file systems with bootflash: being one of them. All
files in bootflash: are erased and you must download the system and kickstart images again. After issuing
an
init system
command, you don't have to format the bootflash: again since bootflash: is automatically
formatted.
Note
The
init system
command also installs a new loader from the existing (running) kickstart image. You
can access this command from the
switch(boot)#
prompt.
If bootflash: is found corrupted during a boot sequence, you will see the following message:
ERROR:bootflash: has unrecoverable error; please do “format bootflash:”
Use the
format bootflash:
command to only format the bootflash: file system. You can issue the
format
bootflash:
command from either the
switch#
or the
switch(boot)#
prompts.
If you issue the
format bootflash:
command, you must download the kickstart and system images again.
Formatting Slot0:
Be sure to format an external CompactFlash device before using it to save files or images.
You can verify if the external CompactFlash device is formatted by inserting it into slot0: and issuing
the
dir slot0:
command.
•
If the external CompactFlash device is already formatted, you can see file system usage information
(along with any existing files).
•
If the external CompactFlash device is unformatted (corrupted), you will see the following message:
Device unavailable
In this case, you need to format the CompactFlash device using the
format slot0:
command.
Note
The slot0: file system cannot be accessed from the standby the
loader>
prompt or the
switch(boot)#
prompt, if the disk is inserted after booting the switch.
Caution
The Cisco MDS NX-OS software only supports Cisco-certified CompactFlash devices that are formatted
using Cisco MDS switches. Using uncertified CompactFlash devices may result in unpredictable
consequences; formatting CompactFlash devices using other platforms may result in errors.
Using the File System
The switch provides the following useful functions to help you manage software image files and
configuration files:
•
Setting the Current Directory, page 1-33