Home > Workload Solutions > Oracle > White Papers > Dell PowerMax 2500 and 8500 Best Practices for Mission Critical Oracle Databases > Partition alignment
Although not required on Linux, Oracle recommends creating one partition on each ASM device. By default, Oracle Linux (OL) or Red Hat Enterprise Linux (RHEL) release seven create partitions with a default offset of 1 MB. However, earlier releases of OL or RHEL defaulted to a 63 blocks partition offset, or 31.5KB (63 x 512 bytes).
Consider the following:
for i in {a..h}; do
parted -s /dev/emcpower$i mklabel msdos
parted -s /dev/emcpower$i mkpart primary 2048s 100%
chown oracle.dba /dev/emcpower$i1
done
fdisk –lu # lists host devices and their partition offset
for i in {a..h}; do
fdisk /dev/emcpower$i << EOF
w
EOF
done
fdisk –lu # lists host devices and their partitions offset