zfs bringing a new drive online
Randy Bush
randy at psg.com
Sat Aug 23 15:36:17 UTC 2008
Dag-Erling Smørgrav wrote:
> Randy Bush <randy at 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
More information about the freebsd-fs
mailing list