6.52 Unmount

unmount <pool_name>

Unmount a specified NSS pool. This removes the pool from NSS and causes any open files to be closed and any volumes to be deactivated. It also removes the Device Mapper object for the pool, the link to the Device Mapper object, and the mount point for the pool. This allows you to gracefully log out the server from an iSCSI device that contains a pool. Use this command with caution.

nlvm [nlvm_options] unmount  <pool_name>
Command Option
pool_name

Mandatory. Specify the name of the NSS pool to unmount.

Use the unmount command to temporarily unload a pool in order to manage underlying devices. Pools are by design auto mounted. Therefore, running the nssmu utility, or running most nlvm commands without the -m option can cause an unmounted pool to be remounted if underlying devices and partitions still exist. To execute an nlvm command without mounting the unmounted pools, you must include the -m option. The nlvm mount command internally sets the -m flag, so only the specified pool is mounted.

Example

MYPOOL1
Command Example
nlvm unmount MYPOOL1

Unmount the pool MYPOOL1.