16
Configuring RAID
Partitioning the hard disks and modifying the file system
format
About this task
On the EAD gateway, only SIC slot 1 and slot 2 support inserting SIC-M2-SATA drives to create RAID
1. The drive name of the SIC-M2-SATA drive installed in SIC slot 1 is
hdb
. The drive name of the
SIC-M2-SATA drive installed in SIC slot 2 is
hdc
. Before creating a RAID, you must ensure 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. To partition SIC-M2-SATA drives and set their file system format to EXT4, perform this task.
Restrictions and guidelines
The partition and file system format modification operations will delete all data from an SIC-M2-SATA
drive.
Procedure
1.
In user view, set the number of partitions to 1 for hard disks
hdb
and
hdc
.
<H3C> fdisk hdb: 1
<H3C> fdisk hdc: 1
2.
Set the file system format to EXT4 for hard disks
hdb0
and
hdc0
.
<H3C> format hdb0: ext4
<H3C> format hdc0: ext4
Creating a RAID
Restrictions and guidelines
On the EAD gateway, all data on the SIC-M2-SATA drives in SIC slot 1 and slot 2 will be cleared after
the RAID that contains the drives is created. The drive name of the RAID on the EAD gateway is
md0
.
Procedure
1.
Enter RAID view.
<H3C> system-view
[H3C] raid
[H3C-raid]
2.
Create RAID 1.
[H3C-raid] create raid level 1
Restoring a RAID
About this task
If one of the member SIC-M2-SATA drives in RAID 1 is damaged, you can replace the damaged drive
with a new drive to restore the RAID.
Restrictions and guidelines
Before removing the damaged SIC-M2-SATA drive, make sure the RAID is in synchronization
completion state (Done). You can use the
display raid status
command to display the RAID
synchronization status.