내 Raid0
배열은 두 개의 partition components
.
[root@rhel-85 ~]# mdadm --detail /dev/md0
/dev/md0:
Version : 1.2
Creation Time : Sun Jan 9 17:25:26 2022
Raid Level : raid0
Array Size : 3141632 (3.00 GiB 3.22 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Sun Jan 9 17:25:26 2022
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Layout : original
Chunk Size : 512K
Consistency Policy : none
Name : rhel-85:0 (local to host rhel-85)
UUID : bf76445f:08e4dab7:3861a780:76912221
Events : 0
Number Major Minor RaidDevice State
0 259 8 0 active sync /dev/nvme0n2p1
1 259 5 1 active sync /dev/nvme0n1p5
[root@rhel-85 ~]#
raid0 배열의 모든 데이터를 백업했습니다. 이제 배열 /dev/nvme0n2p5
에 파티션 구성요소를 추가하고 싶습니다.Raid0
백업을 수행한 후 다음 명령을 실행합니다.
[root@rhel-85 ~]# umount /dev/md0
umount: /dev/md0: not mounted.
[root@rhel-85 ~]# cat /proc/mdstat
Personalities : [raid0] [raid1]
md0 : active raid0 nvme0n2p1[0] nvme0n1p5[1]
3141632 blocks super 1.2 512k chunks
[root@rhel-85 ~]# mdadm --add /dev/md0 /dev/nvme0n2p5
mdadm: add new device failed for /dev/nvme0n2p5 as 2: Invalid argument
어레이 /dev/nvme0n2p5
에 파티션을 추가 할 수 있는 명령이 무엇인지 알려주십시오 .Raid0