pvcmount Command

Purpose

The pvcmount command is used to display, mount, or unmount an Network File System (NFS) export.

Syntax

pvcmount [-h] [mount | unmount | display]

Description

You can use the pvcmount command to display the mount status. You can also use this command to mount or unmount the exported NFS.
Note: You can create a custom mount point in the /powervchome/mnt/ folder.

Flags

Table 1. Flags
Item Description
-h or --help Displays help about the pvcmount command.

Subcommands

Note: Run the following command to display help for a subcommand:
pvcmount -h
or
pvcmount --help
Table 2. Subcommands
Subcommand Options
mount server, export, mount-point
unmount mount-point
display  

Examples

  1. To mount on a default path, enter the following command:
    pvcmount mount --server <server_ip/name> --export <export_path>
  2. To mount on a specific mount point, enter the following command:
    pvcmount mount --server <server_ip/name> --export <export_path> --mount-point <mount-point>
  3. To unmount on a default path, enter the following command:
    pvcmount unmount
  4. To unmount from a specific mount point, enter the following command:
    pvcmount unmount --mount-point <mount-point>
  5. To display the mount points, enter the following command:
    pvcmount display