Hostsvc/storage/info

From VI-Toolkit
Jump to navigation Jump to search

vimsh hostsvc/storage/info

Usage: info

Get the storage system information.

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/storage/info
(vim.host.StorageDeviceInfo) {
  dynamicType = <unset>,
  hostBusAdapter = (vim.host.HostBusAdapter) [
     (vim.host.InternetScsiHba) {
        dynamicType = <unset>,
        key = "key-vim.host.InternetScsiHba-vmhba32",
        device = "vmhba32",
        bus = -1,
        status = "unknown",
        model = "iSCSI Software Adapter",
        driver = "iscsi_mod",
        pci = "UNKNOWN - NULL PCI DEV IN VMKCTL",
        isSoftwareBased = true,
        discoveryCapabilities = (vim.host.InternetScsiHba.DiscoveryCapabilities) {
           dynamicType = <unset>,
           iSnsDiscoverySettable = false,
           slpDiscoverySettable = false,
           staticTargetDiscoverySettable = false,
           sendTargetsDiscoverySettable = false,
        },
        discoveryProperties = (vim.host.InternetScsiHba.DiscoveryProperties) {
           dynamicType = <unset>,
           iSnsDiscoveryEnabled = false,
           iSnsDiscoveryMethod = <unset>,
           iSnsHost = <unset>,
           slpDiscoveryEnabled = false,
           slpDiscoveryMethod = <unset>,
           slpHost = <unset>,
           staticTargetDiscoveryEnabled = false,
           sendTargetsDiscoveryEnabled = true,
        },
        authenticationCapabilities = (vim.host.InternetScsiHba.AuthenticationCapabilities) {
           dynamicType = <unset>,
           chapAuthSettable = true,
           krb5AuthSettable = false,
           srpAuthSettable = false,
           spkmAuthSettable = false,
        },
        authenticationProperties = (vim.host.InternetScsiHba.AuthenticationProperties) {
           dynamicType = <unset>,
           chapAuthEnabled = false,
           chapName = <unset>,
           chapSecret = <unset>,
        },
        ipCapabilities = (vim.host.InternetScsiHba.IPCapabilities) {
           dynamicType = <unset>,
           addressSettable = false,
           ipConfigurationMethodSettable = false,
           subnetMaskSettable = false,
           defaultGatewaySettable = false,
           primaryDnsServerAddressSettable = false,
           alternateDnsServerAddressSettable = false,
        },
        ipProperties = (vim.host.InternetScsiHba.IPProperties) {
           dynamicType = <unset>,
           mac = <unset>,
           address = <unset>,
           dhcpConfigurationEnabled = false,
           subnetMask = <unset>,
           defaultGateway = <unset>,
           primaryDnsServerAddress = <unset>,
           alternateDnsServerAddress = <unset>,
        },
        iScsiName = "iqn.2009-01.com.vmware:localhost-15682e24",
        iScsiAlias = "localhost.example.com",
        configuredSendTarget = (vim.host.InternetScsiHba.SendTarget) [
           (vim.host.InternetScsiHba.SendTarget) {
              dynamicType = <unset>,
              address = "10.10.0.10",
              port = 3260,
           }
        ],
        maxSpeedMb = <unset>,
        currentSpeedMb = <unset>,
     },
     (vim.host.BlockHba) {
        dynamicType = <unset>,
        key = "key-vim.host.BlockHba-vmhba0",
        device = "vmhba0",
        bus = 0,
        status = "unknown",
        model = "82371AB/EB/MB PIIX4 IDE",
        driver = "ide",
        pci = "00:07.1",
     },
     (vim.host.ParallelScsiHba) {
        dynamicType = <unset>,
        key = "key-vim.host.ParallelScsiHba-vmhba1",
        device = "vmhba1",
        bus = 0,
        status = "unknown",
        model = "53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI",
        driver = "mptscsi_2xx",
        pci = "00:10.0",
     }
  ],
  scsiLun = (vim.host.ScsiLun) [
     (vim.host.ScsiLun) {
        dynamicType = <unset>,
        deviceName = "/vmfs/devices/genide/vmhba0:0:0",
        deviceType = "cdrom",
        key = "key-vim.host.ScsiLun-vmhba0:0:0",
        uuid = "000a000200654e56261303a12343a54303a4c30",
        canonicalName = "vmhba0:0:0",
        lunType = "cdrom",
        vendor = "VMware  ",
        model = "Block device    ",
        revision = "1.0 ",
        scsiLevel = 3,
        serialNumber = "unavailable",
        durableName = (vim.host.ScsiLun.DurableName) null,
        standardInquiry = (byte) [
           10,
           0,
           2,
           0,
           32,
           0,
           0,
           115,
           86,
           77,
           119,
           97,
           114,
           101,
           32,
           32,
           66,
           108,
           111,
           99,
           107,
           32,
           100,
           101,
           118,
           105,
           99,
           101,
           32,
           32,
           32,
           32,
           49,
           46,
           48,
           32,
           0,
           57,
           0,
           63,
           -4,
           124,
           -57,
           3,
           -105,
           70,
           104,
           0,
           0,
           66,
           2,
           63,
           -128,
           -120,
           1,
           63,
           0,
           0,
           0,
           0,
           120,
           125,
           -57,
           3,
           -40,
           65,
           125,
           0,
           0,
           66,
           2,
           63,
           -128,
           -120,
           1,
           63,
           0,
           0,
           0,
           0,
           -2,
           15,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           -128,
           70,
           2,
           63,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           -99,
           4,
           0,
           0,
           8,
           8,
           0,
           0,
           0,
           0,
           0,
           0,
           8,
           8,
           0,
           0,
           -52,
           125,
           -57,
           3,
           51,
           67,
           125,
           0,
           31,
           0,
           -83,
           11,
           -72,
           125,
           -57,
           3,
           -68,
           125,
           -57,
           3,
           24,
           57,
           0,
           63,
           12,
           0,
           0,
           0,
           8,
           14,
           0,
           63,
           8,
           8,
           0,
           0,
           -128,
           70,
           2,
           63,
           118,
           109,
           104,
           98,
           0,
           57,
           0,
           63,
           31,
           0,
           -83,
           11,
           79,
           39,
           1,
           0,
           31,
           0,
           -83,
           11,
           0,
           0,
           0,
           0,
           -128,
           70,
           2
        ],
        queueDepth = <unset>,
        operationalState = (string) [
           "unknown"
        ],
     },
     (vim.host.ScsiDisk) {
        dynamicType = <unset>,
        deviceName = "/vmfs/devices/disks/vmhba1:0:0:0",
        deviceType = "disk",
        key = "key-vim.host.ScsiDisk-vmhba1:0:0",
        uuid = "0000000000856de88242312a41243a14303a4c30",
        canonicalName = "vmhba1:0:0",
        lunType = "disk",
        vendor = "VMware, ",
        model = "VMware Virtual S",
        revision = "1.0 ",
        scsiLevel = 3,
        serialNumber = "unavailable",
        durableName = (vim.host.ScsiLun.DurableName) null,
        standardInquiry = (byte) [
           0,
           0,
           2,
           2,
           31,
           0,
           0,
           115,
           86,
           77,
           119,
           97,
           114,
           101,
           44,
           32,
           86,
           77,
           119,
           97,
           114,
           101,
           32,
           86,
           105,
           114,
           116,
           117,
           97,
           108,
           32,
           83,
           49,
           46,
           48,
           32,
           0,
           57,
           0,
           63,
           -4,
           124,
           -56,
           3,
           -105,
           70,
           104,
           0,
           0,
           66,
           2,
           63,
           -128,
           -120,
           1,
           63,
           0,
           0,
           0,
           0,
           120,
           125,
           -56,
           3,
           -40,
           65,
           125,
           0,
           0,
           66,
           2,
           63,
           -128,
           -120,
           1,
           63,
           0,
           0,
           0,
           0,
           -2,
           15,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           95,
           2,
           63,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           -95,
           4,
           0,
           0,
           8,
           8,
           0,
           0,
           0,
           0,
           0,
           0,
           8,
           8,
           0,
           0,
           -52,
           125,
           -56,
           3,
           51,
           67,
           125,
           0,
           31,
           0,
           -83,
           11,
           -72,
           125,
           -56,
           3,
           -68,
           125,
           -56,
           3,
           24,
           57,
           0,
           63,
           12,
           0,
           0,
           0,
           8,
           14,
           0,
           63,
           8,
           8,
           0,
           0,
           -52,
           125,
           -56,
           3,
           -39,
           -35,
           -120,
           0,
           0,
           57,
           0,
           63,
           31,
           0,
           -83,
           11,
           -27,
           41,
           1,
           0,
           31,
           0,
           -83,
           11,
           0,
           0,
           0,
           0,
           0,
           95,
           2
        ],
        queueDepth = <unset>,
        operationalState = (string) [
           "unknown"
        ],
        capacity = (vim.host.DiskDimensions.Lba) {
           dynamicType = <unset>,
           blockSize = 512,
           block = 16777216,
        },
        devicePath = "/vmfs/devices/disks/vmhba1:0:0:0",
     },
     (vim.host.ScsiDisk) {
        dynamicType = <unset>,
        deviceName = "/vmfs/devices/disks/vml.010000000011223344556677445542",
        deviceType = "disk",
        key = "key-vim.host.ScsiDisk-vmhba32:0:0",
        uuid = "010000000011223344556677445542",
        canonicalName = "vmhba32:0:0",
        lunType = "disk",
        vendor = "IET     ",
        model = "VIRTUAL-DISK    ",
        revision = "0   ",
        scsiLevel = 5,
        serialNumber = "unavailable",
        durableName = (vim.host.ScsiLun.DurableName) {
           dynamicType = <unset>,
           namespace = "SERIALNUM",
           namespaceId = 4,
           data = (byte) [
              32,
              32,
              32,
              32
           ],
        },
        alternateName = (vim.host.ScsiLun.DurableName) [
           (vim.host.ScsiLun.DurableName) {
              dynamicType = <unset>,
              namespace = "SERIALNUM",
              namespaceId = 4,
              data = (byte) [
                 32,
                 32,
                 32,
                 32
              ],
           },
           (vim.host.ScsiLun.DurableName) {
              dynamicType = <unset>,
              namespace = "UNKNOWN",
              namespaceId = 5,
              data = (byte) [
                 1,
                 1,
                 0,
                 24,
                 73,
                 69,
                 84,
                 0,
                 0,
                 0,
                 0,
                 0,
                 0,
                 0,
                 0,
                 0,
                 1,
                 0,
                 0,
                 0,
                 8,
                 8,
                 0,
                 0,
                 13,
                 0,
                 0,
                 0
              ],
           }
        ],
        standardInquiry = (byte) [
           0,
           0,
           4,
           66,
           59,
           0,
           0,
           2,
           73,
           69,
           84,
           32,
           32,
           32,
           32,
           32,
           86,
           73,
           82,
           84,
           85,
           65,
           76,
           45,
           68,
           73,
           83,
           75,
           32,
           32,
           32,
           32,
           48,
           32,
           32,
           32,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           3,
           32,
           9,
           96,
           3,
           0,
           -40,
           65,
           125,
           0,
           0,
           66,
           2,
           63,
           -128,
           -120,
           1,
           63,
           0,
           0,
           0,
           0,
           -2,
           15,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           -128,
           121,
           2,
           63,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           1,
           0,
           0,
           0,
           0,
           0,
           15,
           5,
           0,
           0,
           8,
           8,
           0,
           0,
           8,
           -112,
           2,
           63,
           0,
           57,
           0,
           63,
           -48,
           -3,
           -29,
           3,
           -38,
           66,
           125,
           0,
           8,
           -112,
           2,
           63,
           8,
           8,
           0,
           0,
           -48,
           -3,
           -29,
           3,
           31,
           -71,
           103,
           0,
           0,
           57,
           0,
           63,
           8,
           14,
           0,
           63,
           8,
           8,
           0,
           0,
           -48,
           -3,
           -29,
           3,
           -39,
           -35,
           -120,
           0,
           0,
           57,
           0,
           63,
           0,
           0,
           0,
           0,
           -34,
           -119,
           1,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           0,
           -128,
           121,
           2
        ],
        queueDepth = <unset>,
        operationalState = (string) [
           "ok"
        ],
        capacity = (vim.host.DiskDimensions.Lba) {
           dynamicType = <unset>,
           blockSize = 512,
           block = 1249475712,
        },
        devicePath = "/vmfs/devices/disks/vml.010000000011223344556677445542",
     }
  ],
  scsiTopology = (vim.host.ScsiTopology) {
     dynamicType = <unset>,
     adapter = (vim.host.ScsiTopology.Interface) [
        (vim.host.ScsiTopology.Interface) {
           dynamicType = <unset>,
           key = "key-vim.host.ScsiTopology.Interface-vmhba32",
           adapter = <vim.host.InternetScsiHba:key-vim.host.InternetScsiHba-vmhba32>,
           target = (vim.host.ScsiTopology.Target) [
              (vim.host.ScsiTopology.Target) {
                 dynamicType = <unset>,
                 key = "key-vim.host.ScsiTopology.Target-vmhba32:0",
                 target = 0,
                 lun = (vim.host.ScsiTopology.Lun) [
                    (vim.host.ScsiTopology.Lun) {
                       dynamicType = <unset>,
                       key = "010000000011223344556677445542",
                       lun = 0,
                       scsiLun = <vim.host.ScsiDisk:key-vim.host.ScsiDisk-vmhba32:0:0>,
                    }
                 ],
                 transport = (vim.host.InternetScsiTargetTransport) {
                    dynamicType = <unset>,
                    iScsiName = "iqn.2009-01.com.example:storage.disk2.sys1.xyz",
                    iScsiAlias = "",
                    address = (string) [
                       "10.10.0.10:3260"
                    ],
                 },
              }
           ],
        },
        (vim.host.ScsiTopology.Interface) {
           dynamicType = <unset>,
           key = "key-vim.host.ScsiTopology.Interface-vmhba0",
           adapter = <vim.host.BlockHba:key-vim.host.BlockHba-vmhba0>,
           target = (vim.host.ScsiTopology.Target) [
              (vim.host.ScsiTopology.Target) {
                 dynamicType = <unset>,
                 key = "key-vim.host.ScsiTopology.Target-vmhba0:0",
                 target = 0,
                 lun = (vim.host.ScsiTopology.Lun) [
                    (vim.host.ScsiTopology.Lun) {
                       dynamicType = <unset>,
                       key = "000c000000855e393121202b62581a12118b2d21",
                       lun = 0,
                       scsiLun = <vim.host.ScsiLun:key-vim.host.ScsiLun-vmhba0:0:0>,
                    }
                 ],
                 transport = (vim.host.BlockAdapterTargetTransport) {
                    dynamicType = <unset>,
                 },
              }
           ],
        },
        (vim.host.ScsiTopology.Interface) {
           dynamicType = <unset>,
           key = "key-vim.host.ScsiTopology.Interface-vmhba1",
           adapter = <vim.host.ParallelScsiHba:key-vim.host.ParallelScsiHba-vmhba1>,
           target = (vim.host.ScsiTopology.Target) [
              (vim.host.ScsiTopology.Target) {
                 dynamicType = <unset>,
                 key = "key-vim.host.ScsiTopology.Target-vmhba1:0",
                 target = 0,
                 lun = (vim.host.ScsiTopology.Lun) [
                    (vim.host.ScsiTopology.Lun) {
                       dynamicType = <unset>,
                       key = "000c000000855e393121202b62581a12118b2d21",
                       lun = 0,
                       scsiLun = <vim.host.ScsiDisk:key-vim.host.ScsiDisk-vmhba1:0:0>,
                    }
                 ],
                 transport = (vim.host.ParallelScsiTargetTransport) {
                    dynamicType = <unset>,
                 },
              }
           ],
        }
     ],
  },
  multipathInfo = (vim.host.MultipathInfo) {
     dynamicType = <unset>,
     lun = (vim.host.MultipathInfo.LogicalUnit) [
        (vim.host.MultipathInfo.LogicalUnit) {
           dynamicType = <unset>,
           key = "key-vim.host.MultipathInfo.LogicalUnit-vmhba32:0:0",
           id = "vmhba32:0:0",
           lun = <vim.host.ScsiDisk:key-vim.host.ScsiDisk-vmhba32:0:0>,
           path = (vim.host.MultipathInfo.Path) [
              (vim.host.MultipathInfo.Path) {
                 dynamicType = <unset>,
                 key = "key-vim.host.MultipathInfo.Path-vmhba32:0:0",
                 name = "vmhba32:0:0",
                 pathState = "active",
                 adapter = <vim.host.InternetScsiHba:key-vim.host.InternetScsiHba-vmhba32>,
                 lun = <vim.host.MultipathInfo.LogicalUnit:key-vim.host.MultipathInfo.LogicalUnit-vmhba32:0:0>,
                 transport = (vim.host.InternetScsiTargetTransport) {
                    dynamicType = <unset>,
                    iScsiName = "iqn.2009-01.com.example:storage.disk2.sys1.xyz",
                    iScsiAlias = "",
                    address = (string) [
                       "10.10.0.10:3260"
                    ],
                 },
              }
           ],
           policy = (vim.host.MultipathInfo.FixedLogicalUnitPolicy) {
              dynamicType = <unset>,
              policy = "fixed",
              prefer = "vmhba32:0:0",
           },
        },
        (vim.host.MultipathInfo.LogicalUnit) {
           dynamicType = <unset>,
           key = "key-vim.host.MultipathInfo.LogicalUnit-vmhba0:0:0",
           id = "vmhba0:0:0",
           lun = <vim.host.ScsiLun:key-vim.host.ScsiLun-vmhba0:0:0>,
           path = (vim.host.MultipathInfo.Path) [
              (vim.host.MultipathInfo.Path) {
                 dynamicType = <unset>,
                 key = "key-vim.host.MultipathInfo.Path-vmhba0:0:0",
                 name = "vmhba0:0:0",
                 pathState = "active",
                 adapter = <vim.host.BlockHba:key-vim.host.BlockHba-vmhba0>,
                 lun = <vim.host.MultipathInfo.LogicalUnit:key-vim.host.MultipathInfo.LogicalUnit-vmhba0:0:0>,
                 transport = (vim.host.BlockAdapterTargetTransport) {
                    dynamicType = <unset>,
                 },
              }
           ],
           policy = (vim.host.MultipathInfo.FixedLogicalUnitPolicy) {
              dynamicType = <unset>,
              policy = "fixed",
              prefer = "vmhba0:0:0",
           },
        },
        (vim.host.MultipathInfo.LogicalUnit) {
           dynamicType = <unset>,
           key = "key-vim.host.MultipathInfo.LogicalUnit-vmhba1:0:0",
           id = "vmhba1:0:0",
           lun = <vim.host.ScsiDisk:key-vim.host.ScsiDisk-vmhba1:0:0>,
           path = (vim.host.MultipathInfo.Path) [
              (vim.host.MultipathInfo.Path) {
                 dynamicType = <unset>,
                 key = "key-vim.host.MultipathInfo.Path-vmhba1:0:0",
                 name = "vmhba1:0:0",
                 pathState = "active",
                 adapter = <vim.host.ParallelScsiHba:key-vim.host.ParallelScsiHba-vmhba1>,
                 lun = <vim.host.MultipathInfo.LogicalUnit:key-vim.host.MultipathInfo.LogicalUnit-vmhba1:0:0>,
                 transport = (vim.host.ParallelScsiTargetTransport) {
                    dynamicType = <unset>,
                 },
              }
           ],
           policy = (vim.host.MultipathInfo.FixedLogicalUnitPolicy) {
              dynamicType = <unset>,
              policy = "fixed",
              prefer = "vmhba1:0:0",
           },
        }
     ],
  },
  softwareInternetScsiEnabled = true,
}