000028201 - KB-1138 - How to determine the ASM partition

Document created by RSA Customer Support Employee on Jun 14, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000028201
Applies ToAffected Versions: All Versions
ResolutionTo determine which set of disks comprises the ASM partition (where the Aveksa database resides on Red Hat systems) use the following:
1. Get the list of partitions using the "fdisk" command - as root run: fdisk -l
# fdisk -l
Disk /dev/sda: 53.6 GB, 53687091200 bytes

255 heads, 63 sectors/track, 6527 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sda1 * 1 13 104391 83 Linux

/dev/sda2 14 2244 17920507+ 8e Linux LVM

/dev/sda3 2245 6527 34403197+ 83 Linux

2. Then for each of the "devices" /dev/sxx run the command

/etc/init.d/oracleasm querydisk /dev/XXX
If the device is the ASM partition you will see:
"Disk "/dev/sXXX" is marked an ASM disk with the label "VOL1"
For non ASM volumes you will see:
"Disk "/dev/sda2" is not marked an ASM disk"