Jayakrishna wrote: > Hi , > Could any one explain in detail how to assign a slice to ldom, I have tried > so many ways but failed. > > I have created a 15GB of slice using format->partition commands, after > creating the slice how to proceed next , do we need to mount the slice ?? >
e.g. ldm add-vdsdev /dev/dsk/c0t0d0s7 slice at primary-vds0 ldm add-vdisk vdisk2 slice at primary-vds0 guest1 However if you want to install Solaris on the virtual disk backed by the slice you assigned to the guest domain you will need to mount the slice in the service domain and create a file on it. Use the file as the backing storage for the virtual disk. [ A slice exported from a service domain is visible as a slice in the guest domain and so the Solaris installer can not use it as it can only install on whole disks ] e.g. mount /dev/dsk/c0t0d0s7 /slicemountpoint mkfile 15G /slicemountpoint/file.img ldm add-vdsdev /slicemountpoint/file.img file at primary-vds0 ldm add-vdisk vdisk2 file at primary-vds0 guest1 HTH -- Liam
