Thanks a lot.
i have setup raid0 and raid1 in the same disk and
i also create a RAID1 array with two different partition sizes, the
resultin array is the size of the
smaller partition.(it don't care the order. )
but how to use raidhotremove combination or the new mdadm?
i try it:
#raidstop /dev/md3
#raidhotremove /dev/md3
No target disk specified!
is there any doc about how to remove raid?
and what is the new mdadm?
thank very much!
Regards, Echo
On Fri, 24 May 2002 lilha@legend.com.cn wrote:
but how to use raidhotremove combination or the new mdadm?
i try it:
#raidstop /dev/md3
#raidhotremove /dev/md3
No target disk specified!
If you want the array completely removed, you don't need to use the
'raidhotremove' command. This is intended for removing a block device from
the array.
And you don't have to stop the array. You can remove the disk from an
active array. For example, assuming that it is /dev/hda3 you want to
remove:
# raidsetfaulty /dev/md3 /dev/hda3
# raidhotremove /deV/md3 /dev/hda3
For completely removing the array you should just stop it (raidstop
/dev/md3) and change the partition types from 0xfd, so the kernel won't
autodetect them at next boot. Otherwise, after issuing the raidstop, the
array is stopped and the partitions should be usable.
is there any doc about how to remove raid?
I think the RAID-HOWTO pretty much covers it.
http://unthought.net/Software-RAID.HOWTO/
and what is the new mdadm?
mdadm is a new utility for managing Linux SW RAID. You should check the
archive of this list for more about it.
D.