R0106-HP MSR Router Series Fundamentals Configuration Guide(V7)
99
Creating a directory
Perform this task in user view.
Task Command
Create a directory. mkdir directory
Removing a directory
To remove a directory, you must delete all files and subdirectories in this directory. To delete a file, use the
delete command. To delete a subdirectory, use the rmdir command.
Removing a directory permanently deletes all its files in the recycle bin, if any.
Perform this task in user view.
Task Command
Remove a directory. rmdir directory
Managing storage media
CAUTION:
To avoid file system corruption, do not perform the following operations:
• Install or remove a storage medium while the system is repairin
g
, formattin
g
, mountin
g
, or unmountin
g
a storage medium. (On an MSR2000 or MSR3000.)
• Install or remove storage media or cards or perform active/standby switchover while the system is
repairing, formatting, , mounting, or unmounting a storage medium. (On an MSR4000.)
If you remove a storage medium while a folder or file on the storage medium is being accessed, the
device might not recognize the storage medium when you reinstall it. To reinstall this kind of a storage
medium, complete one of the following tasks:
• If you were accessing a folder on the storage medium, change the current directory.
• If you were accessing a file on the storage medium, close the file.
Before you repair or format a USB disk, make sure the disk is not write protected.
Repairing a storage medium
If part of a storage medium is inaccessible, use the fixdisk command to examine and repair the medium.
Before repairing a storage medium, make sure no other users are accessing the medium. Otherwise, the
repair operation fails.
Perform this task in user view.
Task Command
Repair a storage medium. fixdisk medium-name