Skip to main content

Posts

Showing posts with the label ldom

Provisioning new Disks to Guest Domain on Oracle Solaris 11 OS

In this blogpost we will see how we can provision the newly added disks to the guest VM and inside guest VM how we can add the newly provisioned disks to an existing mirrored zpool. Check the disks on controller Domain: root@IJRERPS72L:/dev/rdsk# echo | format Searching for disks...done 20. c3t5000CCA02B324091d0 /pci@302/pci@2/pci@0/pci@17/LSI,sas@0/iport@ff/disk@w5000cca02b324091,0 /dev/chassis/SYS/HDD20/disk 21. c3t5000CCA02B31C5A1d0 /pci@302/pci@2/pci@0/pci@17/LSI,sas@0/iport@ff/disk@w5000cca02b31c5a1,0 /dev/chassis/SYS/HDD21/disk 22. c3t5000CCA02B31D57Dd0 /pci@302/pci@2/pci@0/pci@17/LSI,sas@0/iport@ff/disk@w5000cca02b31d57d,0 /dev/chassis/SYS/HDD22/disk 23. c3t5000CCA02B30E6B1d0 /pci@302/pci@2/pci@0/pci@17/LSI,sas@0/iport@ff/disk@w5000cca02b30e6b1,0 /dev/chassis/SYS/HDD23/disk Disks 20-23 to be provisioned on guest domain.   Create logical disk service for new disks on the controller do...

Oracle Solaris Guest LDOM root file system is Full

Are you stuck in same situation where your guest ldom root file system is full and VM went into the transition mode? Then this is the right technical article that will help you to overcome this issue. We encountered this issue in one of our customer environments and were able to fix it successfully. Currently there are two volumes attached to to virtual machine DISK NAME VOLUME TOUT ID DEVICE SERVER MPGROUP ijrcrm5-vol1 ijrcrm5-vol1@primary-vds0 0 disk@0 primary ijrcrm1-vol2 ijrcrm5-vol2@primary-vds0 1 disk@1 primary ijrcrm5-vol1 is the OS volume attached to the VM root@IJRSVP-SOL-CDM1:/dev/zvol/dsk/rpool# zfs get volsize rpool/ijrcrm5-vol1 NAME PROPERTY VALUE SOURCE rpool/ijrcrm5-vol1 volsize 50G local root@IJRSVP-SOL-CDM1:/dev/zvol/dsk/rpool# Now we need to increase the volume size from the controller domain: root@IJRSVP-SOL-CDM1:/dev/zvol/dsk/rpool# zfs set volsize=70g rpool/ijrcrm5-vol1...

VIO operation failed because device is being used in LDom

If you encountered following Error while removing the disk from the Solaris 11 Environment then this post will definatley help you. root@oratest:~# ldm rm-vdisk vdisk2_sol114 orautestdb2 Guest LDom returned the following reason for failing the operation: Resource Information ---------------------------------------------------------- ----------------------------- /devices/virtual-devices@100/channel-devices@200/disk@2:a mounted filesystem "/.cdrom" VIO operation failed because device is being used in LDom orautestdb2 Failed to remove vdisk instance Cause: The virtual devices cannot be removed the virtual machine is up and running. root@oratest:~# ldm list NAME STATE FLAGS CONS VCPU MEMORY UTIL NORM UPTIME primary active -n-cv- UART 16 18G 0.6% 0.6% 82d 21h 38m orautestapp active -n---- 5001 48 32G 0.1% 0.1% 48d 3h 25m orautestdb ...