Go to main content

Using Oracle® Compute Cloud Service - Dedicated Compute Capacity - SPARC Model 300

Exit Print View

Updated: April 2018

Configure an iSCSI LUN as a Kernel Zone Root Pool

Complete these steps to configure a volume (LUN) as a kernel root zone. See Zone Brands for a description of the different zone types.

  • Create a kernel zone.

    Update the system-provided default device storage property (which defaults to a local zvol) to your new URI as follows:

    root@opc-192-168-50-6:~# zonecfg -z kz
    Use 'create' to begin configuring a new zone.       
    zonecfg:kz> create -t SYSsolaris-kz
    zonecfg:kz> info device
    device 0:
     storage.template: dev:/dev/zvol/dsk/%{global-rootzpool}/VARSHARE/zones/%{zonename}/disk%{id}          
     storage: dev:/dev/zvol/dsk/rpool/VARSHARE/zones/kz/disk0
     id: 0
     bootpri: 0
    zonecfg:kz> select device 0
    zonecfg:kz:device> set storage=iscsi://
    zonecfg:kz:device> end  
    zonecfg:kz> info device
    device 0:       
     storage: iscsi://
     id: 0
     bootpri: 0
    zonecfg:kz> exit

    Note -  See Prepare a Volume for Use With Zones for information about identifying the URI.