Solstice DiskSuite 4.2.1 User's Guide

How to Reserve a Diskset (Command Line)

Disksets can be reserved safely or forcibly. When one host in a diskset reserves the diskset, the other host in the diskset cannot access data on drives in the diskset.


Note -

If you are fairly certain that the hosts in the diskset are communicating, it is normally a good idea to perform a safe reservation.


Make sure you have met the prerequisites ("Prerequisites for Maintaining DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Working With Disksets"). Use the metaset(1M) to reserve a diskset safely or forcibly. For more information, refer to the metaset(1M) man page.


Note -

If another host has ownership of the diskset, it will panic due to a SCSI reservation conflict.


Example -- Reserving a Diskset Safely


red# metaset
...
Set name = relo-red, Set number = 2
 
Host                Owner
  red
  blue
...
red# metaset -s relo-red -t
red# metaset
...
Set name = relo-red, Set number = 2
 
Host                Owner
  red                Yes
  blue
...

In this example, host red communicates with host blue and ensures that host blue has released any reservation of the diskset before host red attempts to reserve the set.


Note -

In this example, if host blue owned the set relo-red, the "Owner" column in the above output would still have been blank. The metaset(1M) command only shows whether the issuing host owns the diskset, and not the other host.


Example -- Reserving a Diskset Forcibly


# metaset -s relo-red -t -f

In this example, host red does not communicate with host blue. Instead, the drives in the diskset are reserved without warning. If host blue had the diskset reserved, it would now panic due to reservation loss.