LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How can I add new device(disk or partition) into a raid0 array (https://www.linuxquestions.org/questions/linux-hardware-18/how-can-i-add-new-device-disk-or-partition-into-a-raid0-array-562574/)

xqkp77 06-18-2007 01:37 AM

How can I add new device(disk or partition) into a raid0 array
 
Hi

I simulated a disk array -- RAID0 on my personal machine with Soft RAID setting.

Firstly, I create md0 as RAID0 including 2 partitions.

mdadm -C /dev/md0 -l 0 -n 2 /dev/sdb1 /dev/sdb2

After I checked the man page of mdadm, it said that the RAID0 dose not support the failure stat. That means I can't use the command "mdadm /dev/md0 -f /dev/sdb1". is it right?

Since that reason, how can I add another partition to this array? I tried the command "mdadm /dev/md0 -a /dev/sdb3", but it was failed with following output:

md0: personality does not support diskops!
mdadm: hot add failed for /dev/sdb3: Invalid argument

Do those error messages mean this soft RAID0 type does not support the hot adding method?

Thanks in advance for giving pieces of advice


All times are GMT -5. The time now is 06:20 AM.