beautypg.com

HP XP P9500 Storage User Manual

Page 112

background image

option specified, the logical device files of the sd or ssd devices to be

managed by HDLM will be deleted. Back up all pertaining to the logical

device files under the /dev/dsk and /dev/rdsk directories to another

directory.
The following shows an example of executing the commands:

# mkdir /var/tmp/bkfile1

# ls -l /dev/dsk > /var/tmp/bkfile1/devices1

# ls -l /dev/rdsk > /var/tmp/bkfile1/devices2

5

.

Unregister the device.
If the device is registered with any cluster software program applications

(other than Volume Manager), unregister it. Since HDLM devices are

accessed with the logical device file names assigned by HDLM, these

applications will no longer be able to access such devices using the logical

device file names currently used.

6

.

Unmount the device.
If the device is mounted, unmount it. Also, if the device is set to be

mounted automatically when the host starts, delete this setting from

the /etc/vfstab file. The following is an example of this command.

¢

Unmounting a device.
First, check the current settings.
# mount -p
The current settings will be output as shown in the following figure.

Figure 3-2 Execution Results of the mount -p Command

The shaded portion shows the device to be managed by HDLM. In the

ZFS file system, execute the following command to export the device

to be managed by HDLM:
# zpool export zpool1
In other file systems, execute the following command to unmount the

device.
# umount /mntpt

¢

Clear the automatic mount setting.
The following figure shows an example of how to edit the /etc/
vfstab file.

3-46

Creating an HDLM Environment

Hitachi Dynamic Link Manager User Guide for Solaris

®

This manual is related to the following products: