01-Fundamentals Command References

HomeSupportReference GuidesCommand ReferencesH3C MSR610[810][830][1000S][2600][3600] Routers Command References(V7)-R6749-6W10001-Fundamentals Command References
14-RAID management commands
Title Size Download
14-RAID management commands 49.98 KB

RAID commands

RAID commands are supported only on the H3C MSR3610-I iMC EAD End-user Admission Defense Gateway (also referred to as the EAD gateway).

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

network-operator

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

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网