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. c3t5000CCA02B324091d0Disks 20-23 to be provisioned on guest domain./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
Create logical disk service for new disks on the controller domain:
thanks for reading. root@IJRERPS72L:/dev/rdsk# ldm add-vdsdev /dev/rdsk/c3t5000CCA02B324091d0s2 diskssd1@primary-vds0 root@IJRERPS72L:/dev/rdsk# ldm add-vdsdev /dev/rdsk/c3t5000CCA02B31C5A1d0s2 diskssd2@primary-vds0 root@IJRERPS72L:/dev/rdsk# ldm add-vdsdev /dev/rdsk/c3t5000CCA02B31D57Dd0s2 diskssd3@primary-vds0 root@IJRERPS72L:/dev/rdsk# ldm add-vdsdev /dev/rdsk/c3t5000CCA02B30E6B1d0s2 diskssd4@primary-vds0Provision of newly configure virtual disks to the VM:
root@IJRERPS72L:/dev/rdsk# ldm add-vdisk diskssd1 diskssd1@primary-vds0 ijrpserpdb-d1 root@IJRERPS72L:/dev/rdsk# ldm add-vdisk diskssd2 diskssd2@primary-vds0 ijrpserpdb-d1 root@IJRERPS72L:/dev/rdsk# ldm add-vdisk diskssd3 diskssd3@primary-vds0 ijrpserpdb-d1 root@IJRERPS72L:/dev/rdsk# ldm add-vdisk diskssd4 diskssd4@primary-vds0 ijrpserpdb-d1verify the newly provisioned disk binding:
root@IJRERPS72L:/dev/rdsk# ldm list-bindings | grep ssd* diskssd1@ijrpserpdb-d1 diskssd1 diskssd2@ijrpserpdb-d1 diskssd2 diskssd3@ijrpserpdb-d1 diskssd3 diskssd4@ijrpserpdb-d1 diskssd4
regards,
ZAHEER
Comments