How to create oracle asm disk linux

How do I create ASM disk in Oracle Linux?

Create Oracle Asm Disks on Oracle Linux
  1. List Disks. [root@test01 dev]# ls sd* sda sda1 sda2 sdb sdb1 sdc sdd sde.
  2. For 1. Disk. [root@test01 dev]# fdisk /dev/sdc.
  3. For 2. Disk. [root@test01 dev]# fdisk /dev/sdd.
  4. For 3. Disk. [root@test01 dev]# fdisk /dev/sde.
  5. Calling ioctl() to re-read partition table. Syncing disks. List Disks.

How do I create an ASM disk group in Linux?

Select the Create server parameter file option and enter the name of the server parameter file. Click Create New to create new disk groups. On the Create Disk Group screen, click Change Disk Discovery Path to select the path that contains the ASM disks.

How do I create an ASM disk without ASMLib in Linux?

In Oracle VM Manager, edit VM and add a new Virtual Disk, e.g. For persistent device naming, we can configure ASMLIB or set udev rules. We need to use a partition UUID (not a filesystem UUID) in udev rules.

How do I get ASM disk details in Linux?

In Linux, ASMLib provides the wrapper for managing the ASM disks. To identify the underlying physical device that the ASM disk point to, you can use the oracleasm querydisk command. The querydisk option will list the major and minor numbers that can be used to match the physical device.

How do I view ASM disks?

To see all disks, use V$ASM_DISKGROUP instead. Contains one row for every Oracle ASM file in every disk group mounted by the Oracle ASM instance. In an Oracle ASM instance, contains one row for every active Oracle ASM long running operation executing in the Oracle ASM instance.

How do I find my ASM disk name?

Finding asmlib disk name and asm disk name

You can use the the ASM utility kfed, to read the disk headers and get the disk name that is being used in the ASM disk group. for example : export ORACLE_HOME=[grid home] # cd $ORACLE_HOME/bin # ./kfed read /dev/dm-17 . kfdhdb.

How do I check my ASM status?

Verify the ASM setup
  1. Change to the Oracle Clusterware/Grid Infrastructure home directory: For Oracle RAC 10g Release 2/Oracle RAC 11g Release 1: # cd $CRS_HOME/bin.
  2. Verify the status of ASM on all the nodes in the cluster: # ./srvctl status asm ASM instance +ASM1 is running on node galaxy.

What is candidate disk in ASM?

CANDIDATE or PROVISIONED: Disk that been discovered but not assigned to any disk-group. PROVISIONED status an additional platform-specific action has been taken by an administrator to make the disk available. FORMER: Disks that previously belonged to a disk group and were dropped cleanly from the disk group.

What is ASM power limit?

Up to 11g, ASM_POWER_LIMIT specifies the maximum power on an Automatic Storage Management instance for disk rebalancing. The higher the limit , the faster rebalancing will complete. Lower values will take longer, but consume fewer processing and I/O resources. The range of values is 0 to 11.

How do you change ASM disk to candidate?

In order to convert the member asm disk to candiate we need to first clear the contents of the disk and then remove and add again. In this example we are converting CRS1 and CRS2 from member to candidate.

How do I format an ASM drive?

Suppose /dev/sdd/dev01 is used by asm. you want to format and reuse it again. Place that disk name in OF parameter of following command and Format it. dd can modify data in place.

How do I increase my ASM disk size?

Ok, we now need to let Linux and Oracle know about our resized volumes. Use ‘multipathd -k ‘resize map ‘ to resize the multipath devices e.g. Before you moving onto resizing the Oracle ASM disk groups check your updated multi path configuration with ‘multipath -ll’, look for your device name and size e.g.