PRIMECLUSTER Global Disk Services Configuration and Administration Guide 4.1 (Solaris(TM) Operating System)
Contents PreviousNext

Chapter 2 Objects

2.5 Logical Volume

GDS provides mirroring function and unified manageability by virtualizing physical disks as logical volumes.

An application will access the logical volume instead of the physical disk. Logical volumes are also called "volumes."

There are five kinds of volumes as follows:

A volume created in the highest level group of a hierarchy will feature functions of its lower level groups as well. For example, a mirror volume created in a mirror group to which more than one stripe group are connected will feature both the I/O load distribution by the striping function and data redundancy by the mirroring function.

In a Solaris(TM) Operating System, physical disks can only be partitioned to a maximum of 7 disk slices (physical slices). GDS allows users to create both a volume with a corresponding physical slice and a volume without a corresponding physical slice. So if you total the volumes with and without physical slices, single disks and groups can be partitioned to a maximum of 1024 volumes.

 

Attributes

A volume has the following attributes.

Name
This attribute identifies the volume within a class.

JRM
This attribute indicates the just resynchronization mechanism mode for volumes.
on
JRM for volumes is enabled.
off
JRM for volumes is disabled.

Lock Volume
This attribute sets the "Lock volume" mode. The value can be set to one of the followings.
on
The volume will be locked and prevented from activating.
off
The volume will not be locked.

Access Mode
This attribute sets the default access mode. If a volume is activated without specifying the access mode, the default setting will be applied. You can set to one of the followings.
rw
The default access mode is set to read and write.
ro
The default access mode is set to read only.
Physical Slice
This attribute indicates whether the volume has a physical slice or not. In other words, it indicates if the slice composing the volume is registered with the VTOC. The value can be set to one of the followings. However, note that physical slice attribute for volumes that are created in stripe group or concatenation group must be set to "off."
on
When the volume is a single volume, a slice in the single disk will be registered with the VTOC. When the volume is a mirror volume, and if there are disks directly connected to the mirror group, the slices on the disks will be registered with the VTOC. When the volume is a switch volume, slices on all of the disks connected to the switch group will be registered with VTOC.
Mirror volumes created in mirror groups to which only lower level groups are connected have no physical slices even if this attribute is "on".
off
The volume has no physical slice. In other words, no slice in the volume is registered to the VTOC.
PJRM
This attribute indicates the just resynchronization mechanism mode for proxies. Either of the following values can be set.
on
JRM for proxies is enabled.
off
JRM for proxies is disabled.

 

Operation

The following operations are available for volumes.

Create
A volume can be created in a single disk or the highest level group with the sdxvolume -M command.
For details on GDS Management View, see "Volume Configuration."
Delete
Volume will be deleted with the sdxvolume -R command.
For details on GDS Management View, see "Removing a Volume."
Start
Volume will be started with the sdxvolume -N command.
For details on GDS Management View, see "Operation."
Stop
Volume will be stopped with the sdxvolume -F command.
For details on GDS Management View, see "Operation."
Expand
The volume size can be expanded with the sdxvolume -S command.
The operation from GDS Management View is unsupported.
Status Display
Volume status can be displayed with the sdxinfo command.
For details on GDS Management View, see "Viewing Configurations and Monitoring Statuses."
Change Attributes
Volume attribute values can be changed with the sdxattr -V command.
For details on GDS Management View, see "Volume Configuration."
Copy control
Synchronization copying of volume can be controlled with the sdxcopy command.
For details on GDS Management View, see "Copying Operation."
Recover
Recovery attempt of an abnormal volume can be performed with the sdxfix -V command.
The operation from GDS Management View is unsupported.

 

Status

A volume can have the following status.

ACTIVE
Valid data is accessible.
After a volume is booted normally, it is given ACTIVE status. Here, there are one or more slices with ACTIVE or COPY (in the process of background copying) status within the volume.
STOP
Data is inaccessible, but the volume can be booted and made ACTIVE.
However, a proxy volume must first be parted from the master volume before activating. After the volume is stopped normally, it is given the STOP status.
Here, there are one or more slices with STOP or COPY (in process of background copying) status within the volume.
INVALID
Data is invalid and inaccessible.
Here, the volume cannot be activated since there are no valid slices (ACTIVE or STOP) or slices in the COPY status (in process of background copying) within the volume.
For details, see "Volume Status Abnormality."

 

Reference

There are the following points of concern for volumes.

Rules
Number of Volumes
Important Point
Volume Size
Just Resynchronization Mechanism (JRM)
Volume Access Mode

 

[Figure: Logical Volume]


[Figure: Logical Partitioning (Physical Slice Attribute)]



Contents PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2005