This is for FreeBSD 8.3. I had two disks in the pool.
I was unable to do a replace.
I detached.
Have this now:
I have used gpart and created the system1. How do I get it to attach to zroot again? I tried this:
Code:
NAME STATE READ WRITE CKSUM
zroot DEGRADED 0 0 0
mirror-0 DEGRADED 0 0 0
gpt/system0 ONLINE 0 0 0
5565969487498398351 OFFLINE 0 0 0 was /dev/gpt/system1
I was unable to do a replace.
Code:
zpool replace zroot gpt/system1
invalid vdev specification
use '-f' to override the following errors:
/dev/gpt/system1 is part of active pool 'zroot'
I detached.
Have this now:
Code:
NAME STATE READ WRITE CKSUM
zroot ONLINE 0 0 0
gpt/system0 ONLINE 0 0 0
Code:
zpool attach zroot gpt/system1 /dev/gpt/system1
cannot attach /dev/gpt/system1 to gpt/system1: no such device in pool