6.34 List Partition

list partition <partition_name>

Print detailed information about a specified partition.

nlvm [nlvm_options] list partition  <partition_name>

Command Option

partition_name

Mandatory. Specify the node name (such as sdc1.1) for the partition.

Example

sdc1.1

Command Example

nlvm list partition sdc1.1

Print detailed information about the /dev/sdc1.1 partition.

Response Parameters

The command returns the following information about the specified partition:

Label

Description

Name

Name of the partition

Type

Partition type in both hex and type name if known

Start

Starting sector of the partition

Size

Size of the partition in MB, GB, or TB, and the number of whole sectors that consist in that space

Device

Device the partition is on, such as sda or raid1

Shared

Whether the partition is marked Shareable for Clustering (1, 0)

M:M

Major:minor numbers of the partition (if applicable)

Pool

Name of the NSS pool using this partition (if applicable)

Label

Label for SBD partition (if applicable). Typically, the same as the cluster name.

Sample Command Responses
Sample 1: Linux Swap Partition
nlvm list partition sda1

Name=sda1 
  Type=82(Linux Swap) Start-2048 Size=1.00GB(2103296)
  Device=sda Shared=No M:M=8:1 Pool=None
Sample 2: NSS Pool Partition
nlvm list partition sdd1.1

Name=sdd1.1
  Type=169(NSS) Start=32 Size=1023.96MB(2097088)
  Device=sdd Shared=No M:M=0:0 Pool=TEST2
Sample 3: NSS RAID Partition
nlvm list partition sde1.2

Name=sde1.2
  Type=1CF(NSS_Raid) Start=204832 Size=100.01MB(204832)
  Device=sde Shared=No M:M=0:0 Pool=None
Sample 4: NSS Pool Snapshot Partition
nlvm list partition sdi6.1

Name=sdi6.1
  Type=1AC(Snapshot) Start=206880 Size=75.00MB(153600)
  Device=sdi Shared=No M:M=253:17 Pool=SNAP1
Sample 5: OES Cluster Services SBD Partition
nlvm list partition clstr.sbd

Name=clstr.sbd
  Type=1AD(Cluster) Start=32 Size=100.00MB(204800)
  Device=sde Shared=No M:M=253:4 Pool=None
  Label: clstr
Sample 6: Linux Partition
nlvm list partition sdc1

Name=sdc1
  Type=83(Linux) Start=32 Size=103.57MB(212128)
  Device=sdc Shared=No M:M=8:33 Pool=None
Sample 7: Linux LVM Partition
nlvm list partition sdc2

Name=sdc2
  Type=8E(Linux_LVM) Start=212160 Size=103.59MB(212160)
  Device=sdc Shared=No M:M=8:34 Pool=None
Sample 8: DOS Extended Partition
nlvm list partition sdc4

Name=sdc4
  Type=5(DOS_Extended) Start=530400 Size=765.00MB(1566720)
  Device=sdc Shared=No M:M=8:36 Pool=None