beautypg.com

2 creating vxvm volumes – HP Hitachi Dynamic Link Manager Software User Manual

Page 234

background image

3. Creating an HDLM Environment

212

be removed from VxVM management. To remove non- HDLM devices from

VxVM management, see (2) Removing Devices from VxVM on a Controller

Basis or (3) Removing Devices From VxVM on a Path Basis of

3.13.3 Removing Devices from VxVM. To apply the settings performed in

procedure (2) or (3) in 3.13.3 Removing Devices from VxVM, restart the

host.

3.

Create a disk group by referring to the VxVM documentation.
An HDLM device can be added to VxVM as a disk of the

sliced

type or the

cdsdisk

type.

Note

Do not add an HDLM device to a disk group registered as

bootdg

. Also, do

not register a disk group containing an HDLM device in

bootdg

.

4.

If you are using Sun Cluster, register the created disk group into a Sun Cluster

disk device group.
For details, see 3.13.5 Linking VxVM and Sun Cluster.

3.13.2 Creating VxVM Volumes

A VxVM volume can be created by using the

vxassist

(or

vxmake)

command or

Veritas Enterprise Administrator. For details, refer to the VxVM documentation.
Note

If you have created a volume for a disk group registered in Sun Cluster, register

the change made to the VxVM disk group configuration into Sun Cluster. For

details, see 3.13.5 Linking VxVM and Sun Cluster.

When creating a VxVM volume, a block device file and character device file for

accessing volumes will be created:

Block device file

/dev/vx/dsk/

disk-group-name/volume-name

Character device file

/dev/vx/rdsk/

disk-group-name/volume-name

When creating a file system, mounting a file system, or specifying the layout of a

database using a raw partition, use the device file appropriate to each situation.
In the following example, the commands create and mount a file system.


# newfs /dev/vx/rdsk/dlmdg/vol01
# mount /dev/vx/dsk/dlmdg/vol01 /mnt