7-25
Cisco CRS-1 Series Carrier Routing System Getting Started Guide
Chapter 7 RP Redundancy and Hardware Administration on Cisco IOS XR Software
Formatting Hard Drives, Flash Drives, and Other Storage Devices
For information on the use of these commands, refer to Cisco IOS XR Interface and Hardware
Component Command Reference.
Formatting Hard Drives, Flash Drives, and Other Storage Devices
To format a storage device on the router, use the format command in EXEC mode.
Caution Formatting a storage device deletes all data on that device.
The following command syntax is used:
format filesystem: [monlib-filename] [recover]
Table 7-5 describes the format command syntax.
Table 7-5 format command Syntax Description
In the following example, the format command is used to format the hard disk:
RP/0/RP0/CPU0:router# format harddisk:
For information on the use of these commands, see the File System Commands on Cisco IOS XR Software
in the Cisco IOS XR System Management Command Reference.
Variable Description
filesystem Specifies the memory device to format, followed by a colon. The supported file
systems are bootflash:, harddisk:, disk0:, and disk1:.
monlib-filename (Optional) Names the ROM monitor library file (monlib file) to use for
formatting the bootflash. The default monlib file is the one bundled with the
system software.
Note Note: monlib is used by ROMMON for accessing the file system on the
medium.
recover (Optional) Recovers any sector read errors on a flash disk (disk0:, disk1:).