From owner-freebsd-questions@FreeBSD.ORG Fri Jun 19 21:15:27 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88B7FFB0 for ; Fri, 19 Jun 2015 21:15:27 +0000 (UTC) (envelope-from kwoody@citywest.ca) Received: from backend.citywest.ca (backend.citywest.ca [69.176.191.101]) by mx1.freebsd.org (Postfix) with SMTP id 4A481E11 for ; Fri, 19 Jun 2015 21:15:27 +0000 (UTC) (envelope-from kwoody@citywest.ca) Received: (qmail 11692 invoked from network); 19 Jun 2015 21:08:46 -0000 Received: from 71conn217.rupert.net (HELO [10.10.100.68]) (kwoody@citywest.ca@69.176.191.217) by backend.citywest.ca with (DHE-RSA-AES256-SHA encrypted) SMTP (5f8dd97e-16c7-11e5-a1bb-00215edca3d4); Fri, 19 Jun 2015 14:08:46 -0700 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: hot swap: removing hard drives From: Keith X-Mailer: iPhone Mail (12F70) In-Reply-To: Date: Fri, 19 Jun 2015 14:08:45 -0700 Cc: freebsd-questions Content-Transfer-Encoding: quoted-printable Message-Id: <52126574-1F3E-4B55-A187-8C39023FFF1B@citywest.ca> References: To: Chris Stankevitz X-MagicMail-OS: Unknown X-MagicMail-UUID: 5f8dd97e-16c7-11e5-a1bb-00215edca3d4 X-MagicMail-Authenticated: kwoody@citywest.ca X-MagicMail-SourceIP: 69.176.191.217 X-MagicMail-EnvelopeFrom: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Jun 2015 21:15:27 -0000 We have some old dell 1950 and 2950s with fbsd 6.x 9..x and a 10 machine. Th= e 6 and 9's when a drive fails i just walk up to it pull the drive caddy swa= p in a new drive to the caddy and add it back.=20 Drive starts a rebuild. These have old perc 5 controllers.=20 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.=20= Had to manually fail the drive and make it hot spare dedicated only for a r= aid 5 partition.=20 > On Jun 19, 2015, at 13:35, Chris Stankevitz wr= ote: >=20 > Hello, >=20 > 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. >=20 > How do I safely remove the hard drives that make up this zpool? >=20 > 1. zpool export (of course) >=20 > 2. camcontrol stop (is this needed?) >=20 > 3. camcontrol eject (is this needed?) >=20 > 4. [some other commands?] >=20 > 5. verify that /dev/daX is not longer listed (is this needed?) >=20 > 6. Yank the drive >=20 >=20 > My guess is that only steps (1) and (6) are needed. Steps (2) through > (5) can be omitted. >=20 > Thank you, >=20 > Chris > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.or= g"