- Table of Contents
-
- 01-Fundamentals Command Reference
- 00-Preface
- 01-CLI commands
- 02-RBAC commands
- 03-Login management commands
- 04-FTP and TFTP commands
- 05-File system management commands
- 06-Configuration file management commands
- 07-Software upgrade commands
- 08-Emergency shell commands
- 09-Automatic configuration commands
- 10-Device management commands
- 11-Tcl commands
- 12-Python commands
- 13-License management commands
- 14-RAID management commands
- Related Documents
-
Title | Size | Download |
---|---|---|
14-RAID management commands | 49.91 KB |
RAID management commands
RAID management commands are supported only on the H3C MSR3610-I iMC EAD End-user Admission Defense Gateway (referred to as the EAD gateway in this document).
create raid
Use create raid to create a RAID.
Syntax
create raid level level-number
Views
RAID view
Predefined user roles
network-admin
Parameters
level level-number: Specifies a RAID level. The level-number argument is fixed at 1.
Usage guidelines
On the EAD gateway, only SIC slot 1 and slot 2 support inserting SIC-M2-SATA drives with SSD to create a RAID. All data on the drives will be cleared after they form a RAID.
Before creating a RAID, make sure that the SIC-M2-SATA drives in SIC slot 1 and slot 2 each have only one partition and the file system format is EXT4.
Examples
# Create a level-1 RAID.
<Sysname> system-view
[Sysname] raid
[Sysname-raid] create raid level 1
Related commands
fdisk
format
display raid status
Use display raid status to display detailed RAID information.
Syntax
display raid status
Views
Any view
Predefined user roles
network-admin
Examples
# Display detailed RAID information.
<Sysname> display raid status
Name Level Status Disks Resync Size(GB)
--------------------------------------------------------------------
md0 raid1 active hdb0[0]hdc0[1] 0.3% 447
Table 1 Command output
Field |
Description |
Name |
RAID drive name. |
Level |
RAID level. |
Status |
RAID running status. |
Disks |
RAID member disks. |
Resync |
RAID member disk synchronization status: · A percentage—Synchronizing. · Done—The synchronization has completed. · None—The RAID has only one member disk. |
Size(GB) |
Available amount of storage space. |
raid
Use raid to enter RAID view.
Syntax
raid
Views
System view
Predefined user roles
network-admin
Examples
# Enter RAID view.
<Sysname> system-view
[Sysname] raid
[Sysname-raid]
remove raid
Use remove raid to remove a RAID.
Syntax
remove raid target
Views
RAID view
Predefined user roles
network-admin
Parameters
target: Specifies a RAID by its drive name, which is fixed at md0.
Examples
# Remove a RAID.
<Sysname> system-view
[Sysname] raid
[Sysname-raid] remove raid md0
restore raid
Use restore raid to manually restore a RAID after replacing a damaged drive in the RAID with a new drive.
Syntax
restore raid target
Views
RAID view
Predefined user roles
network-admin
Parameters
target: Specifies a RAID by its drive name.
Usage guidelines
Verify that the new SIC-M2-SATA drive has only one partition and the file system format is EXT4.
· If yes, the system automatically restores the RAID.
· If no, configure the drive to have only one partition and set the file system format to EXT4. Then, use this command to manually restore the RAID.
RAID restoration will clear all data from the new SIC-M2-SATA drive.
Examples
# Manually restore the level-1 RAID.
<Sysname> system-view
[Sysname] raid
[Sysname-raid] restore raid md0