Appendix B Using the CompactFlash Disk

Working with a CompactFlash Disk

Note If you order a spare CompactFlash Disk, it is shipped blank; therefore, you must format it before you can use it.

Use the following procedure to format a new CompactFlash Disk using the format command. (The procedure assumes you have already booted your system.)

Step 1 Insert the CompactFlash Disk into slot 0 using the procedures in the “Removing and Installing the CompactFlash Disk” section on page 4-3.

Step 2 Use the format disk0: command to format the CompactFlash Disk in slot 0 as follows: Router# 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: 125152

format: Total bytes in formatted partition: 64077824

Format: Operation completed successfully.

Format of disk0 complete

Note A 64-MB CompactFlash Disk was formatted in this example.

The new CompactFlash 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 B-2.)

Using the mkdir Command

To create a directory on the CompactFlash Disk, use the mkdir command. The following example shows how to create a directory called daily_dir on the CompactFlash Disk in slot 0, and then verify that it was created:

System# mkdir disk0:daily_dir

Created

dir disk0:daily_dir

 

System#

dir

 

 

 

Directory of disk0:/

 

 

 

1 drw-

0

Jul

25 1998 10:15:43 daily_dir

48755200 bytes total (48751104 bytes free) System#

 

Cisco 7201 Installation and Configuration Guide

B-10

OL-11364-04

Page 146
Image 146
Cisco Systems CISCO7201 manual Using the mkdir Command, System# mkdir disk0dailydir, Dir