Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All



    secondary-disk (hdb | hdc | hdd) size gigabytes;

    Hierarchy Level

    [edit services app-engine virtual-machines instance instance-name]

    Release Information

    Statement introduced in Junos OS Release 12.3.


    Create storage pools. You can configure multiple secondary disks to the virtual machine (VM). Any data written to these disks are persistent until the VM destroyed (when the VM is deleted or the VM’s storage disk deconfigured) at which time the storage space allocated to the VM is automatically deallocated.

    There are two storage pools that get configured on the system: the external pool and the internal pool. The hardware device is shipped with four external slots (no external disks) and two internal disks. The external pool configuration is not visible until you add a pair of mirrored disks. At least two disks (in slots 0 and 1) are needed to initialize the external pool. The external pool can consist of up to two pairs of mirrored disks. Each mirrored pair is called a volume. Slots 0 and 1 are paired to form one volume, and slots 2 and 3 are grouped formed another second volume. The plug order of the disks is 0, 1, 2, 3. At least two disks (in slots 0 and 1) are needed to initialize the external pool. A mirrored volume gets configured only when both the drives are added.

    The internal pool volume group has one pair of disks in RAID-1 configuration. These disks are shipped with the system, so the internal pool should always be present in the system. The system first tries to allocate a raw disk from the external pool if it can be allocated there. If the external pool is not present or does not have enough space for the raw disk, the system tries to allocate from the internal pool. If it is not possible to allocate the disk from either pool, the VM is left in the inactive state.

    You can see information about the secondary storage by issuing the show app-engine resource-usage operational command.


    secondary-disk (hdb | hdc | hdd)

    Name of optional secondary disk. You must specify size in order to configure a secondary disk.

    Values: hdb, hdc, or hdd

    size gigabytes

    Size of disk in gigabytes. This option is required to configure a secondary disk.

    Range: 1 to 160

    Required Privilege Level

    system—To view this statement in the configuration.

    system-control—To add this statement to the configuration.

    Published: 2014-04-04