beautypg.com

2 registering hdlm devices – HP Hitachi Dynamic Link Manager Software User Manual

Page 262

background image

3. Creating an HDLM Environment

240

or

boot -r

(at the

ok

prompt)

For more information on SVM settings, refer to the SVM documentation.

3.15.2 Registering HDLM Devices

If SVM is used, perform the following settings after installing HDLM, and register the

SVM volume.

(1) To Use a Local Volume

To use a local volume:
1.

Create a replica of the state database.
Create three replicas of the local state database on the disk (slice). Create these

replicas on a disk that is not managed by HDLM, not shared, and has not been

connected to a Fibre Channel.
The following shows an example of executing the command:

host1# metadb -a -f c1t1d0s1 c1t1d0s3 c1t1d0s7

2.

Create a local volume.
Use the HDLM device (slice) to create a local volume (logical disk).
The types of volumes include coupled, stripe, mirrored, and RAID5.
The following shows an example of executing the command to create a local

volume (

d0

) of type stripe (

1

) comprised of two HDLM devices (slices).

host1# metainit d0 1 2 c5t1d0s7 c5t2d1s7

3.

Create a file system on the local volume.
The following shows an example of executing the command:

host1# newfs /dev/md/rdsk/d0

4.

Mount the created file system to the mount point.
The following shows an example of executing the commands:

host1# mkdir -p /mnt/filesystem1
host1# mount /dev/md/dsk/d0 /mnt/filesystem1

(2) To Use a Shared Diskset

For disks registered with the shared diskset, SVM automatically allocates the minimal

number of state databases that store the configuration and status of shared volumes