In this blogpost we will see how we can create a mirrored zpool for the newly added hard disks. One of our customer upgraded the capacity of Oracle S7-2L Servers and we need to provision the new zpool for the newly added devices.
Check the newly connected drives:
root@IJRERPS72L:/dev/rdsk# echo | format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t5000C500BC16E423d0We need use devices starting from 20 to 23 for creation of mirrored zpool/scsi_vhci/disk@g5000c500bc16e423 /dev/chassis/SYS/HDD0/disk 1. c0t5000C500BC16EB9Fd0 solaris /scsi_vhci/disk@g5000c500bc16eb9f /dev/chassis/SYS/HDD1/disk 2. c0t5000C500BC16D847d0 solaris /scsi_vhci/disk@g5000c500bc16d847 /dev/chassis/SYS/HDD2/disk 3. c0t5000C500BC16D42Bd0 solaris /scsi_vhci/disk@g5000c500bc16d42b /dev/chassis/SYS/HDD3/disk 4. c0t5000C500BC16F047d0 solaris /scsi_vhci/disk@g5000c500bc16f047 /dev/chassis/SYS/HDD4/disk 5. c0t5000C500BC16D993d0 solaris /scsi_vhci/disk@g5000c500bc16d993 /dev/chassis/SYS/HDD5/disk 6. c0t5000CCA0AB00C138d0 solaris /scsi_vhci/disk@g5000cca0ab00c138 /dev/chassis/SYS/HDD6/disk 7. c0t5000CCA0AB00C968d0 solaris /scsi_vhci/disk@g5000cca0ab00c968 /dev/chassis/SYS/HDD7/disk 8. c0t5000CCA0AB753DCCd0 /scsi_vhci/disk@g5000cca0ab753dcc /dev/chassis/SYS/HDD8/disk 9. c0t5000CCA0AB753298d0 /scsi_vhci/disk@g5000cca0ab753298 /dev/chassis/SYS/HDD9/disk 10. c0t5000C500CAC56DCFd0 /scsi_vhci/disk@g5000c500cac56dcf /dev/chassis/SYS/HDD10/disk 11. c0t5000C500CAC54917d0 /scsi_vhci/disk@g5000c500cac54917 /dev/chassis/SYS/HDD11/disk 12. c0t5000C500CAC54B93d0 /scsi_vhci/disk@g5000c500cac54b93 /dev/chassis/SYS/HDD12/disk 13. c0t5000C500CAC58F67d0 /scsi_vhci/disk@g5000c500cac58f67 /dev/chassis/SYS/HDD13/disk 14. c0t5000C500CAC57E97d0 /scsi_vhci/disk@g5000c500cac57e97 /dev/chassis/SYS/HDD14/disk 15. c0t5000C500CAC5718Fd0 /scsi_vhci/disk@g5000c500cac5718f /dev/chassis/SYS/HDD15/disk 16. c0t5000CCA0808A891Cd0 /scsi_vhci/disk@g5000cca0808a891c /dev/chassis/SYS/HDD16/disk 17. c0t5000CCA0802A2BF0d0 /scsi_vhci/disk@g5000cca0802a2bf0 /dev/chassis/SYS/HDD17/disk 18. c0t5000CCA080106B8Cd0 /scsi_vhci/disk@g5000cca080106b8c /dev/chassis/SYS/HDD18/disk 19. c0t5000CCA08027964Cd0 /scsi_vhci/disk@g5000cca08027964c /dev/chassis/SYS/HDD19/disk 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 24. c1t0d0 /pci@300/pci@1/pci@0/pci@2/usb@0/storage@1/disk@0,0 /dev/chassis/SYS/MB/EUSB_DISK/disk Specify disk (enter its number): Specify disk (enter its number): root@IJRERPS72L:/dev/rdsk#
root@IJRERPS72L:/dev/rdsk# zpool create -f proddata c3t5000CCA02B324091d0 c3t5000CCA02B31C5A1d0 mirror c3t5000CCA02B31D57Dd0 c3t5000CCA02B30E6B1d0The mirrored zpool has been created successfully. Thanks, Zaheer
Comments