Date: Sat, 23 Aug 2008 13:45:43 +0200 From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no> To: Randy Bush <randy@psg.com> Cc: freebsd-fs@freebsd.org Subject: Re: zfs bringing a new drive online Message-ID: <86skswdkew.fsf@ds4.des.no> In-Reply-To: <48AF4BA0.5040208@psg.com> (Randy Bush's message of "Fri, 22 Aug 2008 16:28:32 -0700") References: <48AF4BA0.5040208@psg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Randy Bush <randy@psg.com> writes: > one of the drives in my pool got funky. i put it offline > > 2008-07-26.16:23:44 zpool offline -t tank ad6s1 > 2008-07-26.16:24:28 zpool offline tank ad6s1 > > and then replaced it. i rebooted so the hw and driver would be happy > about the drive, and then > > # zpool online tank ad6s1 > Bringing device ad6s1 online The correct command is 'zpool replace tank ad6s1', as explained in the fine manual. BTW, it is generally a bad idea to feed ZFS slices instead of whole disks. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86skswdkew.fsf>