Hi Jorgen,

Jorgen Lundman wrote:
> Although, I'm having some issues finding the exact process to go from
> fmdump's "HD_ID_9"  to zpool offline "c0t?d?" style input.
> 
> I can not run "zpool status", nor "format" command as they hang. All the 
> Sun documentation already assume you know the c?t?d? disk name. Today, 
> it is easier to just pull out the HDD since the x4500 doesn't want to 
> mark it dead.
> 
...

>> # fmdump -v -u 949038eb-f474-421b-bb79-981810c48f25
>>
>> TIME                 UUID                                 SUNW-MSG-ID
>> Apr 16 09:16:00.6628 949038eb-f474-421b-bb79-981810c48f25 DISK-8000-0X
>>    100%  fault.io.disk.predictive-failure
>>
>>          Problem in: 
>> hc://:product-id=Sun-Fire-X4500:chassis-id=0738AMT047:server-id=x4500-01.unix:serial=KRVN67ZBHDPX3H:part=HITACHI-HDS7250SASUN500G-0726KDPX3H:revision=K2AOAJ0A/bay=9/disk=0
>>             Affects: 
>> dev:///:devid=id1,[EMAIL PROTECTED]//[EMAIL PROTECTED],0/pci1022,[EMAIL 
>> PROTECTED]/pci11ab,[EMAIL PROTECTED]/[EMAIL PROTECTED],0
>>                 FRU: 
>> hc://:product-id=Sun-Fire-X4500:chassis-id=0738AMT047:server-id=x4500-01.unix:serial=KRVN67ZBHDPX3H:part=HITACHI-HDS7250SASUN500G-0726KDPX3H:revision=K2AOAJ0A/bay=9/disk=0
>>            Location: HD_ID_9

You get three extra pieces of information in the fmdump output:
the device path, the devid and from that the device manufacturer
model number and serial number.

The device path is
        /[EMAIL PROTECTED],0/pci1022,[EMAIL PROTECTED]/pci11ab,[EMAIL 
PROTECTED]/[EMAIL PROTECTED],0
which you can grep for in /etc/path_to_inst and then map using
the output from iostat -En.

The devid is the unique device identifier and this shows up
in the output from prtpicl -v and prtconf -v. Both of these
utilities should also then show you the "devfs-path" property
which you should be able to use to map to a cXtYdZ number.

Finally, you can see that you've got a Hitachi HDS7250S
with serial number KRVN67ZBHDPX3H - this will definitely be
reported in your iostat -En output.


cheers,
James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
               http://www.jmcp.homeunix.com/blog
                   http://blogs.sun.com/jmcp
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to