3 Replies Latest reply: Nov 8, 2011 3:57 PM by 805789 RSS

    T5220: how to map disk device name (c1t0d0) to physical disk ?

    898175
      Hi,

      I am working with a T5220 server with two hard drives. The top drive is HDD1 and the lower drive is HDD0. Only HDD0 is being used. I would like to physically remove HDD1 from the server while the server is in service. Before removing the disk, I think I should use the command following command to mark the disk unconfigured.

      cfgadm -x remove_device c1::dsk/c1t?d0

      Given the following cfgadm output, which device name maps to HDD1? Is it as simple as c1t0d0 is HDD0 and c1t1d0 is HDD1? I guess I really don't understand the c1t0d0 naming.

      $ cfgadm -al
      Ap_Id Type Receptacle Occupant Condition
      c1 scsi-bus connected configured unknown
      c1::dsk/c1t0d0 disk connected configured unknown
      c1::dsk/c1t1d0 disk connected configured unknown
      usb0/1 unknown empty unconfigured ok
      usb0/2 unknown empty unconfigured ok
      usb0/3 unknown empty unconfigured ok
      usb1/1 unknown empty unconfigured ok
      usb1/2 unknown empty unconfigured ok
      usb2/1 unknown empty unconfigured ok
      usb2/2 usb-storage connected configured ok
      usb2/3 unknown empty unconfigured ok
      usb2/4 unknown empty unconfigured ok

      Thanks!
        • 1. Re: T5220: how to map disk device name (c1t0d0) to physical disk ?
          805789
          Hi;

          It should be:

          c1::dsk/c1t1d0. But just to be sure, you can check (or post here):

          format
          iostat -En

          ....and I have a ??, those disks ¿are connected via FC controller or SCSI controller? Because if those disks are FC you can usee luxadm too.

          Regards.

          </SQ>
          • 2. Re: T5220: how to map disk device name (c1t0d0) to physical disk ?
            898175
            Hi,

            Thanks for the information. It looks like format supports the same conclusion. It The disks are attached to a SCSI controller.

            format output
            AVAILABLE DISK SELECTIONS:
            0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
            /pci@0/pci@0/pci@2/scsi@0/sd@0,0
            1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
            /pci@0/pci@0/pci@2/scsi@0/sd@1,0
            Specify disk (enter its number):

            iostat -En
            c0t0d0 Soft Errors: 1 Hard Errors: 0 Transport Errors: 0
            Vendor: TSSTcorp Product: CD/DVDW TS-T632A Revision: SR03 Serial No:
            Size: 0.00GB <0 bytes>
            Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
            Illegal Request: 1 Predictive Failure Analysis: 0
            c1t1d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
            Vendor: SEAGATE Product: ST914603SSUN146G Revision: 0768 Serial No: 092680MM55
            Size: 146.81GB <146810536448 bytes>
            Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
            Illegal Request: 0 Predictive Failure Analysis: 0
            c1t0d0 Soft Errors: 0 Hard Errors: 0 Transport Errors: 0
            Vendor: SEAGATE Product: ST914603SSUN146G Revision: 0768 Serial No: 092680JGM8
            Size: 146.81GB <146810536448 bytes>
            Media Error: 0 Device Not Ready: 0 No Device: 0 Recoverable: 0
            Illegal Request: 0 Predictive Failure Analysis: 0

            Cheers,
            BK
            • 3. Re: T5220: how to map disk device name (c1t0d0) to physical disk ?
              805789
              Hi;


              Disk 1 will be at the path: /pci@0/pci@0/pci@2/scsi@0/sd@1,0

              As I told you before, c1t1d0 will be your choice (HDD1)

              From your porst:

              1. c1t1d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848>
              /pci@0/pci@0/pci@2/scsi@0/sd@1,0

              Cheers. </SQ>