
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.
For complete information about the commands listed below, see the
Exec Mode Commands
chapter of
the
Command Line Interface Reference
.
Important
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.
Crash log files are not synchronized when these commands are executed.
Important
The following command synchronizes the file systems between two SMCs:
[local]
host_name
#
filesystem synchronize { / flash | /pcmcia1 | all } [ checkonly ] [ from | to ] } [
-noconfirm ]
The following command synchronizes the file systems on two SMC /flash devices.
[local]
host_name
#
filsystem 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_name
#
mkdir { /flash | /pcmcia1 | /hd-raid } /dir_name
Use the following command to create a directory named
configs
:
[local]
host_name
#
mkdir /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.
[local]
host_name
#
rename { /flash | /pcmcia1 | /hd-raid } /src_filename { /flash | /pcmcia1 | /hd-raid }
/dst_filename [ -noconfirm ]
ASR 5000 System Administration Guide, StarOS Release 21.1
121
Software Management Operations
Maintaining the Local File System
Содержание ASR 5000
Страница 26: ...ASR 5000 System Administration Guide StarOS Release 21 1 xxvi Contents ...
Страница 44: ...ASR 5000 System Administration Guide StarOS Release 21 1 16 System Operation and Configuration Quoted Strings ...
Страница 114: ...ASR 5000 System Administration Guide StarOS Release 21 1 86 Config Mode Lock Mechanisms show administrators Command ...
Страница 184: ...ASR 5000 System Administration Guide StarOS Release 21 1 156 Monitoring the System Monitoring ASR 5000 Hardware Status ...
Страница 308: ...ASR 5000 System Administration Guide StarOS Release 21 1 280 Routing Viewing Routing Information ...
Страница 316: ...ASR 5000 System Administration Guide StarOS Release 21 1 288 VLANs VLAN Related CLI Commands ...
Страница 384: ...ASR 5000 System Administration Guide StarOS Release 21 1 356 Interchassis Session Recovery Fallback Procedure ...
Страница 400: ...ASR 5000 System Administration Guide StarOS Release 21 1 372 Engineering Rules ECMP Groups ...
Страница 426: ...ASR 5000 System Administration Guide StarOS Release 21 1 398 StarOS Tasks Management Processes ...
Страница 466: ...ASR 5000 System Administration Guide StarOS Release 21 1 438 ASR 5000 SDR CLI Strings ASR 5000 SDR CLI Command Strings ...