Maintaining The Local File System; File System Management Commands; Synchronizing The File System; Creating Directories - Cisco ASR 5000 Administration Manual

Staros release 21.1
Hide thumbs Also See for ASR 5000:
Table of Contents

Advertisement

Software Management Operations

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

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
The following command synchronizes the file systems between two SMCs:
[local]
-noconfirm ]
The following command synchronizes the file systems on two SMC /flash devices.
[local]

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]
Use the following command to create a directory named configs:
[local]

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]
/dst_filename [ -noconfirm ]
For complete information about the commands listed below, see the Exec Mode Commands chapter of
the Command Line Interface Reference.
Crash log files are not synchronized when these commands are executed.
host_name
filesystem synchronize { / flash | /pcmcia1 | all } [ checkonly ] [ from | to ] } [
#
host_name
filsystem synchronize /flash
#
host_name
mkdir { /flash | /pcmcia1 | /hd-raid } /dir_name
#
host_name
mkdir /flash/configs
#
host_name
rename { /flash | /pcmcia1 | /hd-raid } /src_filename { /flash | /pcmcia1 | /hd-raid }
#
Maintaining the Local File System
ASR 5000 System Administration Guide, StarOS Release 21.1
121

Advertisement

Table of Contents
loading

Table of Contents