Technical data
Managing a Nonvolatile File System
303561-A Rev 00
4-21
Partitioning a Memory Card or SIMM
Memory partitioning enables you to use commands such as the
compact
command on one partitioned volume at a time. Partitioning also enables you to
store copies of boot images and configuration files on each partition to provide
redundancy.
The
partition
command only works with a 4-MB or greater memory card or
SIMM used with an AN or ASN loaded with Version 8.10 or later router software.
The command creates or deletes a partition on a specified volume, or on the
present working volume if a volume is not specified. Such partitioning provides
two independent file systems on two independent volumes.
Enter the following commands to partition the memory card or SIMM or delete a
memory partition:
partition create
[
<vol>
:]
partition
delete
[
<vol>
:]
When creating a partition, the current file system cannot exceed one-half the total
media size. For example, if you are using a 4-MB memory card that contains files
totaling more than 2 MB, you need to remove or edit some of those files until they
total 2 MB or less.
Once the partition has been created, the new volume is referred to as
<vol>
b, and
the existing volume is referred to as either
<vol>
a or
<vol>
.
Examples:
Caution:
Be careful when deleting a partition. When you issue the
partition
delete
command without specifying a subvolume, all files on
<vol>
b are lost.
partition create 1:
Divides memory card or SIMM volume 1 into two volumes,
storing all existing files in volume 1a and creating and
formatting a new volume 1b.
partition delete 1b:
or
partition delete 1:
Removes volume 1b (files included)