Top
PRIMECLUSTERGlobal Disk Services Configuration and AdministrationGuide 4.5
FUJITSU Software

A.2.40 Usage in Solaris Kernel Zones Environment

When managing disks used in Solaris Kernel Zones environment by GDS, there are following two methods:

  1. How to use GDS in Kernel Zones

  2. How to use GDS in global zone

This section describes how to use GDS in each zone and notes when using GDS.

a. How to use GDS in Kernel Zones

When configuring the zone (zonecfg), add the device that exists in /dev/rdsk or /dev/zvol/rdsk/ZFS_storage_pool_name in the global zone to the Kernel Zones (add device), and then register the device to the GDS class in Kernel Zones.

When disk label exists in the device of global zone, add device to the kernel zone after deleting disk label. Using format(1M) command can be executed for checking and deleting existence of disk label. For use of format(1M) command, see the Solaris manual.

Class to be created in Kernel Zones

Device in the global zone that can be registered in the class on Kernel Zones

Shared class

Device that exists on /dev/rdsk

Local class

Device that exists on /dev/rdsk
Device that exists on /dev/zvol/rdsk/ZFS_storage_pool_name

The procedure to configure or operate GDS in Kernel Zones is the same as in the physical environment, except below.

b. How to use GDS in global zone

The function of GDS, and how to configure or operate GDS in the global zone are the same as in the physical environment.

To use the GDS volume that was created in the global zone from Kernel Zones, register the GDS volume to the ZFS storage pool in the global zone and create the ZFS volume. When configuring the zone (zonecfg), add the ZFS volume to Kernel Zones (add device). Set "false" for "autoboot" when configuring the zone (zonecfg) so that Kernel Zones are not automatically started when the system is started.

Note

The device of the GDS volume cannot be added to Kernel Zones by "add device" of the zonecfg command.