7.3 Viewing Device Details

You can use the nlvm list device <device_name> command to view details about a specified device on the system. For command usage information, see List Device in the OES 2015 SP1 Beta: NLVM Reference.

The command returns the following information:

  • Device name
  • Device major:minor
  • Size of device in MB, GB, or TB
  • Free space remaining on the device in KB, MB, GB, or TB
  • Partitioning format – MSDOS, GPT, CSM, LVM (meaning Clustered Linux LVM volume), None
  • Geometry heads:sectors per track
  • Shared – (Yes or No) Whether this device is marked as shared
  • RAID – (Yes or No) Whether this is an NSS software RAID device

For RAID devices, it provides the following information:

  • Type – 0, 1, or 5 Software RAID type
  • Segs – Number of segments that this RAID should have
  • Missing – Segment number (if any) that is missing in the RAID
  • Stripe – RAID stripe size in bytes (typically kilobytes)
  • Enbl – (Yes or No) Whether the RAID is enabled on this node
  • Sync – (1 or 0) Whether the RAID is in sync
  • % – Percent complete of remirror or restripe

For RAID segments, it provides the following information:

  • Segment index
  • Segment (partition) name
  • Device name of the segment
  • Segment size
  • Sync – (1 or 0) If this mirror segment is in sync
  • % – Percent this mirror segment is remirrored

For a device’s partitions, it provides the following information:

  • Partition name
  • Partition size
  • Partition type
  • Pool name if the partition is the NSS type and it contains a pool

To view device details:

  1. Log in to the server as the root user, then open a terminal console.

  2. View details about a device by entering

    nlvm list device <device_name>
    

    For example:

    nlvm list device sde
    
     Name=sde
     Size=512.00MB(1048576) Used=16KB(32) Free=511.98MB(1048544)
     Format=MSDOS Shared=No RAID=No M:M=8:64 H:S=255:32