6.32 Linux Mount

linux mount <lx_volume_name>

Mount a specified Linux POSIX volume on Linux. If the volume is NCP-enabled, this command also mounts the volume for NCP, and NCP assigns it a volume ID.

nlvm [nlvm_options] linux mount <lx_volume_name>

Command Options

lx_volume_name

Mandatory. Specify the name of the Linux POSIX volume to mount.

Use the name format as it is displayed in NSSMU or with the nlvm list volumes command. For a non-LVM volume 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 in all capital letters. Volume names are case sensitive.

Examples

LV_VOL1                   [ex: an LVM volume that is NCP-enabled]
lv_vol1                   [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]
mntopt=<option1[,option2][,...]>

Specify the options to use when mounting the volume. For a list of available options, see the mount(8) man page. The default mntopt option is rw.

Example

mntopt=rw

Command Examples

nlvm linux mount LV_VOL1

Mounts the NCP-enabled LVM volume LV_VOL1 in Linux using the parameters from the /etc/fstab file, and then mounts it in NCP. NCP automatically assigns a volume ID.

nlvm linux mount /home

Mounts the non-LVM volume using the parameters from the /etc/fstab file.

nlvm linux mount HOME

Mounts the NCP-enabled non-LVM volume in Linux using the parameters from the /etc/fstab file, and then mounts it in NCP. NCP automatically assigns a volume ID.

nlvm linux mount HOME mntopt=rw,user_xattr

Mounts the NCP-enabled non-LVM volume in Linux using the specified mount parameters for an Ext3 file system type, and then mounts the volume in NCP. NCP automatically assigns a volume ID.