beautypg.com

HP Hitachi Dynamic Link Manager Software User Manual

Page 264

background image

3. Creating an HDLM Environment

242

When using Sun Cluster (stripe type):

host1# metainit -s diskset1 d1 1 2 /dev/did/dsk/d10s0 /dev/
did/dsk/d11s0

5.

Create a file system on the shared volume of the shared diskset.
The following shows an example of executing the commands:

host1# newfs /dev/md/diskset1/rdsk/d1

6.

Mount the created file system to the mount point.
The following shows examples of executing the commands. One is for a normal

mount, when Sun Cluster is not being used, and the other is for a global mount,

when Sun Cluster is being used.
When not using Sun Cluster:

host1# mkdir /diskset1
host1# mount /dev/md/diskset1/dsk/d1 /diskset1

When using Sun Cluster:

host1# mkdir -p /global/diskset1/d1
host2# mkdir -p /global/diskset1/d1
host1# mount -g /dev/md/diskset1/dsk/d1 /global/diskset1/d1