Re: gmirror with hot spare
- From: "Giovanni P. Tirloni" <gpt@xxxxxxxxxxx>
- Date: Tue, 25 Apr 2006 09:54:51 -0300
On Tue, April 25, 2006 9:19 am, Vladimir Terziev said:
Hi hackers,
is there a way to assign a hot spare disk/partition to a gmirror -ed
disks/partitions ?
That's a good question. From the man pages there doesn't seem to exist
anything to mark a insert disk as "disabled". Atacontrol has a "addspare"
option.
Just in case, to replace a faulty (SCSI) disk:
gmirror remove gm0 da1
camcontrol stop da1
camcontrol rescan all
camcontrol rescan all (after inserting replacement)
gmirror insert gm0 da1
The same procedure in atacontrol would be similar to:
atacontrol detach 3
atacontrol attach 3
atacontrol addspare ar0 ad6
atacontrol rebuild ar0
Good luck,
--
Giovanni P. Tirloni
http://www.tirloni.org
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- gmirror with hot spare
- From: Vladimir Terziev
- gmirror with hot spare
- Prev by Date: gmirror with hot spare
- Next by Date: Re: [ANN] unionfs patchset-11 release
- Previous by thread: gmirror with hot spare
- Next by thread: Re: gmirror with hot spare
- Index(es):
Relevant Pages
- Re: opinion on which software RAID to use
... The handbook RAID page ... doesn't even mention gmirror. ... The
atacontrol seems very simple to ... after a simulated failure. ... (freebsd-stable) - Re: ad0: WARNING - removed from configuration (atacontrol and gmirror relationship?)
... ATA channel 0: ... What is the relationship between atacontrol and gmirror?
... (freebsd-hackers) - Re: <$100 SATA RAID Card 5.3 compatible
... > I was able to make the atacontrol method work flawlessly via a simulated ...
> disk failure (formated it and did a atacontrol rebuild). ... Is gmirror
more ... (freebsd-questions) - ad0: WARNING - removed from configuration (atacontrol and gmirror relationship?)
... ATA channel 0: ... What is the relationship between atacontrol and gmirror?
... gmirror insert data ad0 ... (freebsd-hackers)