zfs bringing a new drive online
Dag-Erling Smørgrav
des at des.no
Sat Aug 23 11:45:44 UTC 2008
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.
BTW, it is generally a bad idea to feed ZFS slices instead of whole
disks.
DES
--
Dag-Erling Smørgrav - des at des.no
More information about the freebsd-fs
mailing list