hot swap: removing hard drives
kwoody at citywest.ca
Fri Jun 19 21:15:27 UTC 2015
We have some old dell 1950 and 2950s with fbsd 6.x 9..x and a 10 machine. The 6 and 9's when a drive fails i just walk up to it pull the drive caddy swap in a new drive to the caddy and add it back.
Drive starts a rebuild. These have old perc 5 controllers.
Only time i had to do any messing about was when a 500gb drive took over for a failed 36 gb drive. Didnt realize the 500 was set for global hot spare.
Had to manually fail the drive and make it hot spare dedicated only for a raid 5 partition.
> On Jun 19, 2015, at 13:35, Chris Stankevitz <chrisstankevitz at gmail.com> wrote:
> My hardware, caddies, BIOS, OS, etc etc etc all support hot swapping
> drives. My drives are used only by ZFS. The zpool on these drives is
> not needed for the system to run. There are no swap partitions or
> anything else on these drives. These are /dev/daX drives.
> How do I safely remove the hard drives that make up this zpool?
> 1. zpool export (of course)
> 2. camcontrol stop (is this needed?)
> 3. camcontrol eject (is this needed?)
> 4. [some other commands?]
> 5. verify that /dev/daX is not longer listed (is this needed?)
> 6. Yank the drive
> My guess is that only steps (1) and (6) are needed. Steps (2) through
> (5) can be omitted.
> Thank you,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions