Cisco Cisco Packet Data Gateway (PDG)

Página de 453
Software Management Operations   
▀  Maintaining the Local File System 
 
 
▄  ASR 5000 System Administration Guide, StarOS Release 18 
132 
   
Maintaining the Local File System 
Use CLI commands to manage and maintain the devices that make up the local file system. Execute all the commands 
described in this section in the Exec Mode. Unless otherwise specified, you must have security administrator or 
administrator privileges to execute these commands. 
Important:
  For complete information about the commands listed below, see the Exec Mode Commands chapter 
of the Command Line Interface Reference
File System Management Commands 
Use the commands in this section to manage and organize the local file system. 
Synchronizing the File System 
Commands are supported for mirroring the local file systems from the active SMC to the standby SMC in systems 
containing two cards. Use these commands to synchronize any or all of the local devices. 
Important:
  Crash log files are not synchronized when these commands are executed. 
The following command synchronizes the file systems between two SMCs: 
[local]host_namefilesystem synchronize { / flash | /pcmcia1 | all } [ checkonly ] 
[ from | to ] } [ -noconfirm ]
 
The following command synchronizes the file systems on two SMC /flash devices. 
[local]host_namefilsystem synchronize /flash 
Creating Directories 
Use the mkdir command to create a new directory on the specific local device. This directory can then be incorporated 
as part of the path name for any file located in the local file system. 
[local]host_namemkdir { /flash | /pcmcia1 | /hd-raid } /dir_name 
Use the following command to create a directory named configs
[local]host_namemkdir /flash/configs 
Renaming Files and Directories 
Use the rename command to change the name of a file from its original name to a different name. Remember to use the 
same file extension, if applicable, to ensure that the file type remains unchanged.