To use a shared diskset -172, If you are using sds, see – HP XP P9500 Storage User Manual
Page 238
host1# metadb -a -f c1t1d0s1 c1t1d0s3 c1t1d0s7
2
.
Create a local metadevice.
Use the HDLM device (slice) to create a local metadevice (logical disk).
The types of metadevices include coupled, stripe, mirrored, RAID5, and
transmeta devices.
The following shows an example of executing the command to create local
metadevice (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 metadevice.
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 command:
host1# mkdir -p /mnt/filesystem1
host1# mount /dev/md/dsk/d0 /mnt/filesystem1
To Use a Shared Diskset
For disks registered with the SDS shared diskset, SDS automatically allocates
the minimal number of state databases that store the configuration and
status of shared metadevices created on a shared diskset. When using Sun
Cluster, you use the device ID in the device name of the disk.
Note
When you register a disk into a shared diskset, the existing partitions
may be reconfigured. For details, refer to the SDS documentation.
To use a shared diskset:
1
.
Create three replicas of the local state database on the disk (slice).
Create these replicas on all hosts that use the shared diskset. Make sure
that all the following conditions are satisfied for the creation-target disk:
¢
The disk is not managed by HDLM.
¢
The disk is not shared.
¢
The disk is not connected via Fibre Channel.
The following shows an example of executing the command:
# metadb -a -f c1t1d0s1 c1t1d0s3 c1t1d0s7
2
.
Create a shared diskset.
The following shows examples of executing the commands.
3-172
Creating an HDLM Environment
Hitachi Dynamic Link Manager User Guide for Solaris
®