Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Aug 2008 08:36:15 -0700
From:      Randy Bush <randy@psg.com>
To:        =?UTF-8?B?RGFnLUVybGluZyBTbcO4cmdyYXY=?= <des@des.no>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zfs bringing a new drive online
Message-ID:  <48B02E6F.6070008@psg.com>
In-Reply-To: <86skswdkew.fsf@ds4.des.no>
References:  <48AF4BA0.5040208@psg.com> <86skswdkew.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smørgrav wrote:
> 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.

<doh>  thanks.  read and reread man pages, not wikis.

> BTW, it is generally a bad idea to feed ZFS slices instead of whole
> disks.

i have four drives,
  o two with gmirrored boot/root slices and the second slice for zfs
  o two zpooled disks
so slicing was the mode of the day.

maybe i need to rethink this?

randy




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B02E6F.6070008>