[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Software raid 1 w/raidhotadd



hi ya nate

>    Device Boot    Start       End    Blocks   Id  System
> /dev/sdb1   *         1         2     16033+  83  Linux

i'd make sdb1 also "raid autodetect"
	so you can boot even if sda or sdb dies

> /dev/sdb2             3      2213  17759857+   5  Extended
> /dev/sdb5             3        63    489951   fd  Linux raid autodetect
> /dev/sdb6            64       428   2931831   fd  Linux raid autodetect
> /dev/sdb7           429       914   3903763+  fd  Linux raid autodetect
> /dev/sdb8           915      2189  10241406   fd  Linux raid autodetect
> /dev/sdb9          2190      2213    192748+  82  Linux swap

..

> but when I try raidhotadd, it says the disk is busy:
> 
> tux:/var/log# raidhotadd /dev/md0 /dev/sdb5
> /dev/md0: can not hot-add disk: disk busy!


to swap out a disk

#	raidsetfaulty /dev/md0 /dev/sdb2
#	raidhotremove /dev/md0 /dev/sdb2
#
#	-- after adding a new disk... watch it resync
#	raidhotadd /dev/md0 /dev/sdb2

more sw raid stuff
	http://www.1U-Raid5.net/HowTo/Commands.uhow2.txt

c ya
alvin

anybody wanna use 12 laptop drives ( 80GB each ) for their raid boxes ??
( its an interesting idea )



Reply to: