101
•
Creating, deleting, starting, or stopping an MDC.
If you remove a storage medium while a directory or file on the medium is being accessed, the device
might not recognize the medium when you reinstall it. To reinstall this kind of storage medium,
perform one of the following tasks:
•
If you were accessing a directory on the storage medium, change the working directory.
•
If you were accessing a file on the storage medium, close the file.
•
If another administrator was accessing the storage medium, unmount all partitions on the
storage medium.
Make sure a USB disk is not write protected before an operation that requires the write right on the
disk.
You cannot access a storage medium that is being partitioned, or a file system that is being formatted
or repaired. To access a storage medium after it is partitioned or a file system after it is formatted or
repaired, use one of the following methods:
•
Use the absolute path to specify a file or directory. For example, use the
dir flash:/
command to
display the files and directories in the file system on the flash memory.
•
Use the
cd
command to change the working directory to the root directory of the file system
before accessing a file or directory in the file system. For example, to display the files and
directories in the root directory of the file system on the flash memory, perform the following
tasks:
a.
Use the
cd flash:/
command to change the working directory to the root directory of the file
system.
b.
Execute the
dir
command.
Before managing file systems, directories, and files, make sure you know the possible impact.
Managing storage media and file systems
Partitioning a CF card or a USB disk
A CF card or a USB disk can be divided into logical devices called partitions. Operations on one
partition do not affect the other partitions.
Restrictions and guidelines
A partition must have a minimum of 32 MB of storage space.
The actual partition size and the specified partition size might have a difference of less than 5% of
the storage medium's total size.
Before partitioning a CF card or USB disk, perform the following tasks:
•
Back up the files in the storage medium. The partition operation clears all data on the medium.
•
To partition a USB disk, make sure the disk is not write protected. If the disk is write protected,
the partition operation will fail, and you must remount or reinstall the disk to restore access to
the USB disk.
•
Make sure no other users are accessing the medium.
After partitioning a CF card or USB disk, perform the following tasks:
•
Reconfigure paths of image files to include the correct partition information.
•
If the device starts up from the CF card, put the startup software image and configuration files in
the first partition of the CF card.
•
To make sure the first partition has sufficient storage space for software image and
configuration files, set the log file directory to a different partition. By default, the system
automatically saves log files to the second partition. If the directory does not exist, use the
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...