Print a list of the devices. For each device, display the device name, size, free available space, partitioning type, if it is marked as Shareable for Clustering, and if it is an NSS software RAID device. If no other options are specified, this prints a list of all devices and software RAID devices.
nlvm [-t] list devices [exclude] [more|all]
Command Options
Exclude the specified type of devices. This option can be used multiple times to add exclusions for different types. Valid device types are raid, nonraid, shared, nonshared, lvm, or nonlvm.
Example
exclude=raid exclude=nonshared
Use this NLVM option to format the output for parsing.
Prints more information than appears in the standard output. It can be used with or without the -t NLVM option.
Example
more
Prints detailed information about each of the devices. This is the same information that is printed for the nlvm list device <device_name> command. It can be used with or without the -t NLVM option.
Example
all
Command Example
Print detailed information for all non-LVM shared devices that are not software RAID devices.
You can issue the commands with the --terse NLVM option to output the same information in a format that is more easily parsed.
Standard Output
The command returns the following standard information about the devices on the server:
Label |
Description |
---|---|
Name |
Device name such as sdb or raid1 |
Size |
Total amount of space on the device in KB, MB, GB, or TB |
Used |
Used space on the device in KB, MB, GB, or TB |
Free |
Available space on the device in KB, MB, GB, or TB |
Format |
MSDOS, GPT, CSM (legacy EVMS Cluster Segment Manager), LVM (clustered Linux LVM volume), None (not initialized) |
Shared |
Yes or No; whether this device is marked as Shareable for Clustering |
RAID |
Yes or No; whether this is an NSS software RAID device |
Enabled |
Yes or No; whether the RAID is enabled on this node |
More Output
The command returns the following additional information about the devices on the server:
Label |
Description |
---|---|
RAID |
Type (0, 1, or 5) or No; type of NSS RAID device, or not a RAID |
Sync |
Yes or %; whether the RAID is in sync or percent completed |
M:M |
Major:Minor numbers, such as 8:112 |
SectorSize(logical/physical) |
Logical or physical sector size of a device |
Provisioning |
Thick or Thin provisioning type |
All Output
If the all option is used, the command returns the same information about each device as is displayed for the nlvm list device <device_name> command. This includes information about its partitions, or about its partitions and segments for RAID devices.
Name Size Used Free Format Shared RAID Enabled sda 1.63TB 1.63TB 0KB MSDOS No No sdb 931.00GB 206.00GB 724.99GB GPT No No sdc 931.00GB 699.99GB 231.00GB MSDOS No No sdd 1.63TB 1.63TB 0KB GPT No No sde 1.63TB 1.00GB 1.63TB MSDOS Yes No sdf 1.63TB 801.00GB 875.12GB GPT Yes No MYRAID0 15.00GB 10.00GB 4.99GB MSDOS Yes 0 No RD1 1023.98MB 1023.98MB 0KB None Yes 1 No
Name=sda Size=1.63TB Used=1.63TB Free=0KB Format=MSDOS Shared=No RAID=No Name=sdb Size=931.00GB Used=206.00GB Free=724.99GB Format=GPT Shared=No RAID=No Name=sdc Size=931.00GB Used=699.99GB Free=231.00GB Format=MSDOS Shared=No RAID=No Name=sdd Size=1.63TB Used=1.63TB Free=0KB Format=GPT Shared=No RAID=No Name=sde Size=1.63TB Used=1.00GB Free=1.63TB Format=MSDOS Shared=Yes RAID=No Name=sdf Size=1.63TB Used=801.00GB Free=875.12GB Format=GPT Shared=Yes RAID=No Name=MYRAID0 Size=15.00GB Used=10.00GB Free=4.99GB Format=MSDOS Shared=Yes RAID=0 Enabled=No Name=RD1 Size=1023.98MB Used=1023.98MB Free=0KB Format=None Shared=Yes RAID=1 Enabled=No
Name Size Used Free Format Shared RAID Sync Maj:Min SectorSize(logical/physical) Provisioning sda 1.63TB 1.63TB 0KB MSDOS No No 8:0 4096b/4096b Thick sdb 931.00GB 206.00GB 724.99GB GPT No No 8:16 512b/512b Thick sdc 931.00GB 699.99GB 231.00GB MSDOS No No 8:32 512b/512b Thick sdd 1.63TB 1.63TB 0KB GPT No No 8:48 4096b/4096b Thin sde 1.63TB 1.00GB 1.63TB MSDOS Yes No 8:64 4096b/4096b Thin sdf 1.63TB 801.00GB 875.12GB GPT Yes No 8:80 4096b/4096b Thin sdg 7.99GB 16KB 7.99GB MSDOS Yes No 8:96 512b/512b Thick sdh 7.99GB 5.00GB 2.99GB MSDOS Yes No 8:112 512b/512b Thin sdi 7.99GB 5.00GB 2.99GB MSDOS Yes No 8:128 512b/512b Thick sdj 8.40GB 5.00GB 3.40GB MSDOS Yes No 8:144 512b/512b Thin MYRAID0 15.00GB 10.00GB 4.99GB MSDOS Yes 0 NoEbl 254:4 512b/512b Thin RD1 1023.98MB 1023.98MB 0KB None Yes 1 NoEbl 254:3 4096b/4096b Thick
Name=sda Size=1.63TB(3515088896) Used=1.63TB(3515088896) Free=0KB(0) Format=MSDOS Shared=No RAID=No M:M=8:0 H:S=255:32 SectorSize(logical/physical)=4096b/4096b Provisioning=Thick Partitions on the device: Part Type Size Sectors Pool sda1.1 NSS 1.63TB 3515083168 POOL1 Name=sdb Size=931.00GB(1952448512) Used=206.00GB(432021568) Free=724.99GB(1520426911) Format=GPT Shared=No RAID=No M:M=8:16 H:S=255:32 SectorSize(logical/physical)=512b/512b Provisioning=Thick Partitions on the device: Part Type Size Sectors Pool sdb2 Linux 5.00GB 10491904 sdb3 Linux 1.00GB 2103296 sdb1 Linux 199.99GB 419426304 Name=sdc Size=931.00GB(1952448512) Used=699.99GB(1467987968) Free=231.00GB(484460544) Format=MSDOS Shared=No RAID=No M:M=8:32 H:S=255:32 SectorSize(logical/physical)=512b/512b Provisioning=Thick Partitions on the device: Part Type Size Sectors Pool sdc1 Linux LVM 99.99GB 209711104 sdc2 Linux LVM 199.99GB 419424256 sdc3 Linux LVM 199.99GB 419424256 sdc4 Linux LVM 199.99GB 419426304 Name=sdd Size=1.63TB(3515088896) Used=1.63TB(3515088856) Free=0KB(0) Format=GPT Shared=No RAID=No M:M=8:48 H:S=255:32 SectorSize(logical/physical)=4096b/4096b Provisioning=Thin Partitions on the device: Part Type Size Sectors Pool sdd1 Linux LVM 100.01GB 209741824 sdd2 Linux LVM 100.01GB 209745920 sdd3 Linux LVM 100.01GB 209743872 sdd4 Linux LVM 100.01GB 209745920 sdd5 Linux LVM 100.01GB 209743872 sdd6 Linux LVM 100.01GB 209743872 sdd7 Linux LVM 100.01GB 209745920 sdd8 Linux LVM 100.01GB 209743872 sdd9 Linux 876.01GB 1837129728 Name=sde Size=1.63TB(3515088896) Used=1.00GB(2097184) Free=1.63TB(3512991712) Format=MSDOS Shared=Yes RAID=No M:M=8:64 H:S=255:32 SectorSize(logical/physical)=4096b/4096b Provisioning=Thin Partitions on the device: Part Type Size Sectors Pool sde1.1 NSS 1.00GB 2097152 DATA3 Name=sdf Size=1.63TB(3515088896) Used=801.00GB(1679818816) Free=875.12GB(1835269816) Format=GPT Shared=Yes RAID=No M:M=8:80 H:S=255:32 SectorSize(logical/physical)=4096b/4096b Provisioning=Thin Partitions on the device: Part Type Size Sectors Pool sdf1.1 NSS 500.00GB 1048576000 DATA sdf1.2 NSS 300.00GB 629145600 WEB sdf1.3 NSS 1.00GB 2097152 DATA3 Name=MYRAID0 Size=15.00GB(31457280) Used=10.00GB(20971552) Free=4.99GB(10485728) Format=MSDOS Shared=Yes RAID=0 Sync=NoEbl M:M=254:4 H:S=255:32 SectorSize(logical/physical)=512b/512b Provisioning=Thin Segs=3 Enbl=No Missing=None Stripe=64k Segments of the RAID: Segment Name Device Size Sectors 0 sdj1.1 sdj 5.00GB 10485792 1 sdi1.1 sdi 5.00GB 10485792 2 sdh1.1 sdh 5.00GB 10485792 Partitions on the device: Part Type Size Sectors Pool MYRAID0p1.1 NSS 10.00GB 20971520 DATA4 Name=RD1 Size=1023.98MB(2097120) Used=1023.98MB(2097120) Free=0KB(0) Format=None Shared=Yes RAID=1 Sync=NoEbl M:M=254:3 H:S=255:32 SectorSize(logical/physical)=4096b/4096b Provisioning=Thick Segs=2 Enbl=No Segments of the RAID: Segment Name Device Size Sectors Sync 0 sde1.1 sde 1.00GB 2097152 NoEbl 1 sdf1.3 sdf 1.00GB 2097152 NoEbl