6.30 List Linux Volume

list linux volume <lx_volume_name>

Print detailed information about a specified Linux volume.

nlvm [nlvm_options] list linux volume <lx_volume_name>

Command Option

lx_volume_name

Mandatory. Specify the name of the Linux POSIX volume.

Use the name format as it is displayed in NSSMU or with the nlvm list volumes command. For a non-LVM that is not NCP-enabled, specify the name as a forward slash with the name of the final directory of the mount point (/<dir_name>). For an LVM volume that is not NCP-enabled, specify the volume name of the LVM logical volume. For an NCP-enabled volume, specify the NCP name.

Examples

LV_VOL1                   [ex: an LVM volume that is NCP-enabled]
lv_vol1                   [ex: an LVM volume that is not NCP-enabled]
MYLVMVOL                  [ex: an LVM volume that is not NCP-enabled]
HOME                      [ex: a non-LVM volume that is NCP-enabled]
/home                     [ex: a non-LVM volume that is not NCP-enabled]

Command Example

nlvm list linux volume MYLVMVOL

Print detailed information about the NCP-enabled LVM volume named MYLVMVOL.

Response Parameters

The Linux volume details include the following. Most labels are self-explanatory.

Label

Description

Name

Volume name. The format of the name depends on the type of volume and whether it is NCP-enabled.

Group

LVM group name or NA (not applicable) for non-LVM volumes

Mounted

Yes or No; whether the volume is mounted for user access

Size

Size of the volume in KB, MB, GB, or TB

Shared

Yes or No; whether volume’s device is marked as Shareable for Clustering

Type

Type of file system (such as btrfs, ext2, ext3, ext4, reiserfs, or xfs)

LVM

Yes or No; whether the volume is an LVM volume

NCP

Yes or No; whether the volume is NCP-enabled

Mountpoint

Full Linux path where the volume is mounted

Path

Path of the device or partition. For LVM, this is typically /dev/<volume_group_name>/<logical_volume_name>. If it is not LVM, this is the partition path.

MountOptions

Defaults or specified mount options, such as rw

Sample Command Responses
Sample 1: Non-LVM Volume
nlvm list linux volume /home
 Name=/home
  Group=NA Mounted=Yes Size=3.00GB
  Shared=No Type=ext4 LVM=No NCP=No
  Mountpoint=/home
  Path=/dev/sda3
  MountOptions=defaults
Sample 2: LVM Volume
nlvm list linux volume mylvm
 Name=mylvm
  Group=ajlvm Mounted=No Size=100.00MB
  Shared=No Type=ext4 LVM=Yes NCP=No
  Mountpoint=/usr/novell/mylvm
  Path=/dev/mylvm/mylvm
  MountOptions=rw
Sample 3: NCP-Enabled Non-LVM Volume
nlvm list linux volume NCP3 
 Name=NCP3
  Group=NA Mounted=Yes Size=103.59MB
  Shared=No Type=ext4 LVM=No NCP=Yes
  Mountpoint=/usr/novell/NCP3
  Path=/dev/sdc3
  MountOptions=rw
Sample 4: NCP-Enabled LVM Volume
nlvm list linux volume LVMNCP
 Name=LVMNCP
  Group=lvmncp Mounted=No Size=100.00MB
  Shared=No Type=ext4 LVM=Yes NCP=Yes
  Mountpoint=/usr/novell/lvmncp2
  Path=/dev/lvmncp/LVMNCP
  MountOptions=rw