Discussion:
Disk Unavailable
(too old to reply)
Kiley, Heather L (IS)
2013-02-13 15:30:47 UTC
Permalink
I am trying to replace a failed disk on my zfs system.
I replaced the disk and while the physical drive status is now OK, my logical drive is still failed.
When I do a zpool status, the new disk comes up as unavailable:
spare DEGRADED 0 0 0
c9t17d0 UNAVAIL 0 0 0 cannot open
c9t23d0 ONLINE 0 0 0

And when I try to replace the disk I get the following errors:


***@xxxxxx:/usr/local/scripts# zpool online data c9t17d0
warning: device 'c9t17d0' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present

***@xxxxx:/usr/local/scripts# zpool replace data c9t17d0
cannot open 'c9t17d0': no such device in /dev/dsk
must be a full path or shorthand device name

This is the second disk I have used as a replacement and I am getting the same errors with both new disks. I am new to all of this and am NOT a sys admin! Please help!
Sašo Kiselkov
2013-02-13 15:43:19 UTC
Permalink
Post by Kiley, Heather L (IS)
I am trying to replace a failed disk on my zfs system.
I replaced the disk and while the physical drive status is now OK, my logical drive is still failed.
spare DEGRADED 0 0 0
c9t17d0 UNAVAIL 0 0 0 cannot open
c9t23d0 ONLINE 0 0 0
warning: device 'c9t17d0' onlined, but remains in faulted state
use 'zpool replace' to replace devices that are no longer present
cannot open 'c9t17d0': no such device in /dev/dsk
must be a full path or shorthand device name
This is the second disk I have used as a replacement and I am getting the same errors with both new disks. I am new to all of this and am NOT a sys admin! Please help!
Hi Kiley,

Can you post the listing of the "format" command?
It should print something like:

Searching for disks...done

AVAILABLE DISK SELECTIONS:
0. c9t0d0 <ATA-WDCWD5003ABYX-1-1S02 cyl 60797 alt 2 hd 255 sec 63>
/***@0,0/pci1028,***@1f,2/***@0,0
1. c9t1d0 <ATA-WDCWD5003ABYX-1-1S02 cyl 60797 alt 2 hd 255 sec 63>
/***@0,0/pci1028,***@1f,2/***@1,0
Specify disk (enter its number):

(Just hit Control-C to return back to the command line.)

This should give you a listing of all the drives you have available on
your machine. If c9t17d0 isn't there, then there's a good chance that
you'll need to run something like "devfsadm -c disks" to force a SCSI
bus rescan (to discover new drives).

Cheers,
--
Saso

Loading...