ASM disks creation with size greater than 2 Terabyte
Creating Oracle ASM Disks on Azure VM
Environment:
- Azure VM Linux OS
- DB=Oracle 19c
fdisk command is used if the ASM disk creation size is less than or equal to 2 Terabyte.
For creating bigger volumes ,we use gdisk command.
In this Scenario the Oracle DB environment is on AZURE VM.
Step 1) Verify if the gdisk package is installed or not
#rpm -qa gdisk |
o/p
gdisk-1.0.3-11.el8.x86_64 |
If the gdisk package is not installed , then run below command
#yum install gdisk |
if the gdisk is there and you run the install command , then output is as follows
#yum install gdisk
Repository rhui-microsoft-azure-rhel8 is listed more than once in the configuration |
Step 2) Create 6TB (approximately) disk from the RAW by using gdisk
#gdisk /dev/sdd GPT fdisk (gdisk) version 1.0.3 Warning: Partition table header claims that the size of partition table *************************************************************** Command (? for help): n Command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING Do you want to proceed? (Y/N): Y
|
Step 3) To verify the 6TB disk
#lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdd 8:48 0 5.9T 0 disk |
Step 4) Create asm disk by using oracleasm
# /usr/sbin/oracleasm createdisk DISK1 /dev/sdd1 Writing disk header: done Instantiating disk: done |
See Also