My Oracle Support Banner

SVM Solaris Volume Manager, Format Command on LDom Does Not Show Correct Size When Vdisk Size Is Changed on CDom (Doc ID 2499138.1)

Last updated on AUGUST 05, 2021

Applies to:

Solaris Operating System - Version 10 1/13 U11 and later
Information in this document applies to any platform.


When there is a vdisk presented from CDom to LDom that is not an actual physical disk rather a SVM Softpartition (soft partition) it can cause some issues for the CDom when it's size is dynamically changes.

It is possible to change the size of Softpartition on CDom so the presented VDisk size is increased. The size of the soft partition can be  increased after presenting the vdisk. 

Note: This is not the Best Practice and not a recommended solution. It is merely described in this article as something that can be done and to show what issues it may encounter. We recommend that entire disks or Luns presented as Vdisk from Cdom to Ldom.

# metainit d1 -p d0 10g
# ldm add-vdsdev /dev/md/dsk/d1 soft@primary-vds0
# ldm add-vdisk vsoft soft@primary-vds0 solaris10
# metattach d1 15g
d1: Soft Partition has been grown
# metastat d1
d1: Soft Partition
    Device: d0
    State: Okay
    Size: 52428800 blocks (25 GB)
        Extent              Start Block              Block count
             0                     1024                 52428800

After size is increased on CDom, format command in the guest domain still shows old size. format does not offer auto-configure option to be able to re-read current size.



Size of soft partition is increased in primary domain using metattach SVM command.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.