Datasheet

21
Using the Flash Disk
OL-6452-04
Working with a Flash Disk
Note A spare Flash Disk is shipped blank; therefore, you must format it before you can use it.
Use the following procedure to format a new Flash Disk using the format command. (The procedure
assumes you have already booted your system.)
Step 1 Insert the Flash Disk into PC Card slot 0 using the procedures in the “Installing and Removing a Flash
Disk in Vertically Oriented Systems” section on page 10, or in the “Installing and Removing a Flash Disk
in Horizontally Oriented Systems” section on page 12.
If slot 0 is not available, use slot 1, but in the following step use the format disk1: command, not the
format disk0: command, or you will format the Flash Disk that is being used in slot 0.
Step 2 Use the format disk0: command to format the Flash Disk in PC Card slot 0 as follows:
System# format disk0:
Format operation may take a while. Continue? [confirm]
Format operation will destroy all data in ‘disk0:’. Continue? [confirm]
Format:Drive communication & 1st Sector Write OK...
Writing Monlib
sectors.....................................................................
.......................
Monlib write complete
Format:All system sectors written. OK...
Format:Total sectors in formatted partition:81760
Format:Total bytes in formatted partition:49861120
Format:Operation completed successfully.
Format of disk0:complete
Note A 48-MB Flash Disk was formatted in this example.
The new Flash Disk is now formatted and ready to use in the system on which you formatted it.
(For specific formatting and compatibility requirements, see the “Compatibility Requirements” section
on page 4.)
Using the copy Command
To copy an image from a Flash Disk to another file system or from another file system to the Flash Disk,
use the copy command:
copy [tftp: | bootflash: | disk0: | disk1:]source-filename [tftp: | bootflash: | disk0: |
disk1:]destination-filename
In this example:
The file you want to copy is located in a file system (tftp:, bootflash:, and so forth).
The variable source-filename is the name of the file you want to copy to another file system (tftp:,
bootflash:, and so forth).
The variable destination-filename is the name you want to apply to this file after it is copied.
You do not need to change the filename; this is an option.