System Administration Guide
Chapter 8, Administering virtual disks

Creating nested virtual disks

Creating nested virtual disks

You can nest virtual disks inside one another provided that you do not nest a virtual disk that has redundancy (mirrors and RAID 4/5) inside another virtual disk with redundancy. Doing this may cause the virtual disk driver to hang and suspend access to all configured virtual disks.

Three-way mirrors (created by nesting a mirror within a mirror) are an exception. You can configure these provided the master piece of the top level mirror is the second mirror. To configure vdisk5 as a 3-way mirror in the /etc/dktab file:

   /dev/dsk/vdisk4 mirror  2       32
           /dev/dsk/1s1    2016    3200
           /dev/dsk/2s1    2016    3200
      
   /dev/dsk/vdisk5 mirror  2       32
           /dev/dsk/vdisk4 0       3200
           /dev/dsk/3s1    2016    3200
The Virtual Disk Manager nests the disk definitions in /etc/dktab correctly. If you edit /etc/dktab manually, ensure that definitions of virtual disks used as pieces occur before the definition of the virtual disk that references them.