HP Hitachi Dynamic Link Manager Software Licenses User Manual

Page 245

Advertising
background image

host1# metaset -s diskset1 -a -h host1 host2

3

.

Register a disk into the shared diskset.
The following shows examples of executing the commands:

When not using Sun Cluster:

host1# metaset -s diskset1 -a c5t1d2 c5t1d3

When using Sun Cluster:

host1# metaset -s diskset1 -a /dev/did/dsk/d10 /dev/did/dsk/

d11

4

.

Create a shared metadevice in the shared diskset.
The following shows examples of executing the commands:

When not using Sun Cluster (stripe type):

host1# metainit -s diskset1 d1 1 2 c5t1d2s0 c5t1d3s0

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 metadevice 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

Creating an HDLM Environment

3-179

Hitachi Dynamic Link Manager (for Solaris) User Guide

Advertising
This manual is related to the following products: