You created the pool using slices and not whole disks (that's why it's cXtXdXsX 
instead of just cXtXdX).

That's necessary only for the root pool, it's better not to do that for data 
pools.

If that pool is empty, destroy it and rebuild it using whole disks (just the 
cXtXdX part, no sX), then your commands will work as expected.

Bryan

Sent from my BlackBerry 10 smartphone.
  Original Message  
From: Michelle Knight
Sent: Tuesday, June 3, 2014 20:41
To: Discussion list for OpenIndiana
Reply To: Discussion list for OpenIndiana
Subject: [OpenIndiana-discuss] ZFS replacement problem

H Folks,

I've got the following...

mich@jaguar:~# cfgadm -al
Ap_Id Type Receptacle Occupant
Condition sata0/0::dsk/c3t0d0 disk connected
configured ok sata0/1 sata-port
empty unconfigured ok sata0/2::dsk/c3t2d0
disk connected configured ok
sata0/3::dsk/c3t3d0 disk connected configured
ok sata0/4::dsk/c3t4d0 disk connected
configured ok sata0/5::dsk/c3t5d0 disk
connected configured ok

mich@jaguar:~# zpool status
pool: rpool1
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
rpool1 ONLINE 0 0 0
c3t5d0s0 ONLINE 0 0 0

errors: No known data errors

pool: tank
state: ONLINE
scan: resilvered 1.70M in 0h0m with 0 errors on Tue Jun 3 18:19:48
2014 config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c3t4d0s1 ONLINE 0 0 0
c3t2d0s1 ONLINE 0 0 0
c3t3d0s1 ONLINE 0 0 0

errors: No known data errors


I try ... 

mich@jaguar:~# zpool replace -f tank c3t4d0 c3t0d0
cannot replace c3t4d0 with c3t0d0: no such device in pool

... which is what I am reading in countless articles on-line to do, but
it isn't working. I don't know why I'm getting this error, or which of
the two it is complaining about, because if I try...

mich@jaguar:~# zpool offline tank c3t4d0
cannot offline c3t4d0: no such device in pool

So I can't get the drive replaced.

Any help gratefully appreciated.

Michelle

_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss


_______________________________________________
openindiana-discuss mailing list
[email protected]
http://openindiana.org/mailman/listinfo/openindiana-discuss

Reply via email to