HP XP P9500 Storage User Manual

Page 256

Advertising
background image

For example, to remove virtual disks vdisk1 and vdisk2 from the guest

domain ldg2, execute the command as follows:

# ldm rm-vdisk vdisk1 ldg2

# ldm rm-vdisk vdisk2 ldg2

5

.

Execute the ldm rm-vdsdev command to stop exporting virtual disk

backends from the service domain on the I/O domain to which HDLM will

be installed.
For example, to stop exporting virtual disk backends vol1 and vol2 from

the service domain ldg1, execute the command as follows:

# ldm rm-vdsdev vol1@ldg1-vds0

# ldm rm-vdsdev vol2@ldg1-vds0

6

.

Log in to the I/O domain.

7

.

Remove HDLM from the I/O domain.
Use the virtual disk backends exported before removing HDLM to perform

the following operations:

¢

For a physical disk and physical disk slice
No action is required.

¢

For a UFS or VxFS file system
Unmount the file system.

¢

For a ZFS file system
Export the ZFS file system.

¢

For a VxVM logical volume
Deport the disk group.

¢

For an SVM logical volume
Cancel the volume group setting.

For details on the HDLM removal procedure, see

Removing HDLM from

the Local Boot Disk Environment on page 3-185Removing HDLM on page

3-185

. After removing HDLM, restore the volume group and file system

that will be used as the virtual disk backend.

8

.

On the control domain, execute the ldm add-vdsdev command to export

the virtual disk backends from the service domain on the I/O domain to

which HDLM will be installed.
For example, to export virtual disk backends vol1 and vol2 from the

service domain ldg1, execute the command as follows:

# ldm add-vdsdev /dev/dsk/c2t50060E8010027A82d0s2 vol1@ldg1-vds0

#

# ldm add-vdsdev /dev/dsk/c2t50060E8010027A82d1s2 vol2@ldg1-vds0

#

#

/dev/dsk/c2t50060E8010027A82d0s2 and /dev/dsk/
c2t50060E8010027A82d1s2 are sd or ssd device names after

exporting.

3-190

Creating an HDLM Environment

Hitachi Dynamic Link Manager User Guide for Solaris

®

Advertising
This manual is related to the following products: