raid: fix op command syntax

This commit is contained in:
Robert Göhler 2022-03-24 07:23:39 +01:00 committed by GitHub
parent f42b7b8199
commit 6ffa0359b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -154,7 +154,7 @@ To replace a bad disk within a RAID 1 set, perform the following steps:
1 - Remove the failed disk from the RAID 1 set by issuing the following 1 - Remove the failed disk from the RAID 1 set by issuing the following
command: command:
.. opcmd:: delete raid RAID1device member diskpartition .. opcmd:: delete raid <RAID1device> member <diskpartition>
where RAID-1-device is the name of the RAID 1 device (for example, md0) and where RAID-1-device is the name of the RAID 1 device (for example, md0) and
disk-partition is the name of the failed disk partition (for example, sdb2). disk-partition is the name of the failed disk partition (for example, sdb2).
@ -166,7 +166,7 @@ hot-swappable, then you must shut down the system before removing the disk.
4 - Format the new disk for RAID 1 by issuing the following command: 4 - Format the new disk for RAID 1 by issuing the following command:
.. opcmd:: format <diskdevice1> like <diskdevice2> .. opcmd:: format disk <diskdevice1> like <diskdevice2>
where disk-device1 is the replacement disk (for example, sdb) and where disk-device1 is the replacement disk (for example, sdb) and
disk-device2 is the existing healthy disk (for example, sda). disk-device2 is the existing healthy disk (for example, sda).
@ -191,7 +191,7 @@ mirror synchronization, check and display information.
disk partition to a RAID 1 set initiates mirror synchronization, where all disk partition to a RAID 1 set initiates mirror synchronization, where all
data on the existing member partition is copied to the new partition. data on the existing member partition is copied to the new partition.
.. opcmd:: format <diskdevice1> like <diskdevice2> .. opcmd:: format disk <diskdevice1> like <diskdevice2>
This command is typically used to prepare a disk to be added to a preexisting This command is typically used to prepare a disk to be added to a preexisting
RAID 1 set (of which disk-device2 is already a member). RAID 1 set (of which disk-device2 is already a member).