beautypg.com

Cli procedures, Creating mountpoints, Deleting mountpoints – HP StoreAll Storage User Manual

Page 16: Viewing mountpoint information, Mounting a file system, Unmounting a file system

background image

CLI procedures

The CLI commands are executed immediately on file serving nodes. For X9000 clients, the command
intention is stored in the management console. When X9000 Software services start on a client,
the client queries the management console for any commands. If the services are already running,
you can force the client to query the management console by executing either ibrix_client or
ibrix_lwmount -a

on the client, or by rebooting the client.

If you have configured hostgroups for your X9000 clients, you can apply a command to a specific
hostgroup. For information about creating hostgroups, see the administration guide for your system.

Creating mountpoints

Mountpoints must exist before a file system can be mounted. To create a mountpoint on file serving
nodes and X9000 clients, use the following command.

/bin/ibrix_mountpoint -c [-h HOSTLIST] -m MOUNTPOINT

To create a mountpoint on a hostgroup , use the following command:

/bin/ibrix_mountpoint -c -g GROUPLIST -m MOUNTPOINT

Deleting mountpoints

Before deleting mountpoints, verify that no file systems are mounted on them. To delete a mountpoint
from file serving nodes and X9000 clients, use the following command:

/bin/ibrix_mountpoint -d [-h HOSTLIST] -m MOUNTPOINT

To delete a mountpoint from specific hostgroups, use the following command:

/bin/ibrix_mountpoint -d -g GROUPLIST -m MOUNTPOINT

Viewing mountpoint information

To view mounted file systems and their mountpoints on all nodes, use the following command:

/bin/ibrix_mountpoint -l

Mounting a file system

File system mounts are managed with the ibrix_mount command. The command options and
the default file system access allowed for X9000 clients depend on whether the optional Export
Control feature has been enabled on the file system (see

“Using Export Control” (page 18)

for

more information). This section assumes that Export Control is not enabled, which is the default.

NOTE:

A file system must be mounted on the file serving node that owns the root segment (that

is, segment 1) before it can be mounted on any other host. X9000 Software automatically mounts
a file system on the root segment when you mount it on all file serving nodes in the cluster. The
mountpoints must already exist.

Mount a file system on file serving nodes and X9000 clients:

/bin/ibrix_mount -f FSNAME [-o {RW|RO}] [-O MOUNTOPTIONS] -h HOSTLIST
-m MOUNTPOINT

Mount a file system on a hostgroup:

/bin/ibrix_mount -f FSNAME [-o {RW|RO}] -g GROUP -m MOUNTPOINT

Unmounting a file system

Use the following commands to unmount a file system.

NOTE:

Be sure to unmount the root segment last. Attempting to unmount it while other segments

are still mounted will result in failure. If the file system was exported using NFS, you must unexport
it before you can unmount it (see

“Exporting a file system” (page 38)

).

To unmount a file system from one or more file serving nodes, X9000 clients, or hostgroups:

16

Creating and mounting file systems