Hi,

We have an x4500 server running OpenSolaris snv_127. We suffered a disk failure 
(c7t0d0) - or rather, a disk started throwing up a large number of checksum 
errors, so I resilvered onto a spare drive, which succeeded:

# zpool history data
<snip>
2010-04-20.14:45:08 zpool offline data c7t0d0
2010-04-20.14:58:19 zpool replace -f data c7t0d0 c7t1d0

# zpool status data
pool: data
state: ONLINE
scrub: resilver completed after 43h58m with 0 errors on Thu Apr 22 10:56:50 2010
config:

NAME STATE READ WRITE CKSUM
data ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
c11t1d0 ONLINE 0 0 0
c10t1d0 ONLINE 0 0 0
c13t1d0 ONLINE 0 0 0
c12t0d0 ONLINE 0 0 0
c8t1d0 ONLINE 0 0 0
c12t1d0 ONLINE 0 0 0
c10t0d0 ONLINE 0 0 0
c10t7d0 ONLINE 0 0 0
c12t2d0 ONLINE 0 0 0
c8t0d0 ONLINE 0 0 0
c7t1d0 ONLINE 0 0 0 381G resilvered


As you can see, the drive c7t0d0 has been successfully replaced and no longer 
appears in any zpool:

# zpool status | grep c7t0d0
# 
# iostat -En | grep c7t0d0
c7t0d0 Soft Errors: 2 Hard Errors: 4 Transport Errors: 0

# cfgadm -l | grep c7t0d0
sata1/0::dsk/c7t0d0 disk connected configured ok

However when I attempt to unconfigure the sata port in preperation for 
replacing the drive, it doesn't work:

# cfgadm -c unconfigure sata1/0
Unconfigure the device at: /devices/p...@0,0/pci1022,7...@1/pci11ab,1...@1:0
This operation will suspend activity on the SATA device
Continue (yes/no)? yes
cfgadm: Hardware specific failure: Failed to unconfig device at ap_id: 
/devices/p...@0,0/pci1022,7...@1/pci11ab,1...@1:0

I'm not sure if this is unrelated, but during the last disk failure we pulled 
the disk out without unconfiguring the port first, which left to an unusable 
unconfigured port:

# cfgadm -l | grep unusable
sata6/0 disk connected unconfigured unusable

So I'm guessing this means we'll have to shut this server down to replace the 
disks. Not ideal!

I'm fairly certain this used to work fine.

Could this be a bug? Is it worth filing a report? Anyone have any comments?

Regards,

Alasdair
-- 
This message posted from opensolaris.org
_______________________________________________
storage-discuss mailing list
storage-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/storage-discuss

Reply via email to