Richard Elling wrote:
> Tom Georgoulias wrote:
>> I need help again, this time with adding another disk to the rpool 
>> zpool that was created when I installed opensolaris so I can have a 
>> mirrored pool.

>> [EMAIL PROTECTED]:~# zpool attach rpool c9t0d0s0 c9t4d0s0
>> invalid vdev specification
>> use '-f' to override the following errors:
>> /dev/dsk/c9t4d0s0 is part of active ZFS pool rpool. Please see zpool(1M).
>>   
> 
> You really meant,
>    zpool attach rpool c9t4d0s0 c9t0d0s0
> 
> the syntax is:
>    zpool attach poolname existing-device new-device

Ah, thanks.  Missed that subtle difference!  It's working now, but I did 
get a failure and try the wrong way again before a second try with the 
above command worked.  Here's what happened (which I cannot explain, all 
commands were entered within seconds of each other)

[EMAIL PROTECTED]:~# zpool attach rpool c9t4d0s0 c9t0d0s0
cannot open '/dev/dsk/c9t0d0s0': I/O error
[EMAIL PROTECTED]:~# zpool attach rpool c9t4d0 c9t0d0
cannot attach c9t0d0 to c9t4d0: no such device in pool
[EMAIL PROTECTED]:~# zpool attach rpool c9t4d0s0 c9t0d0s0
[EMAIL PROTECTED]:~# zpool status
   pool: rpool
  state: ONLINE
status: One or more devices is currently being resilvered.  The pool will
         continue to function, possibly in a degraded state.
action: Wait for the resilver to complete.
  scrub: resilver in progress for 0h0m, 1.27% done, 0h15m to go
config:

         NAME          STATE     READ WRITE CKSUM
         rpool         ONLINE       0     0     0
           mirror      ONLINE       0     0     0
             c9t4d0s0  ONLINE       0     0     0
             c9t0d0s0  ONLINE       0     0     0

errors: No known data errors

Strange.

Anyway, the mirror is resilvering now.  Thanks for the help.

Tom
A
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to