On 02/13/2013 04:30 PM, Kiley, Heather L (IS) wrote: > 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: > > > root@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 > > root@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!
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> /pci@0,0/pci1028,28c@1f,2/disk@0,0 1. c9t1d0 <ATA-WDCWD5003ABYX-1-1S02 cyl 60797 alt 2 hd 255 sec 63> /pci@0,0/pci1028,28c@1f,2/disk@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 _______________________________________________ zfs-discuss mailing list firstname.lastname@example.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss