Creating Oracle 19c ASM Disks on Linux Server

Here I already created few disks I will create sdj,sdk,sdl only

 

List Disks

[root@oraclelab1 dev]# pwd

/dev

[root@oraclelab1 dev]# ls -ls sd*



[root@oraclelab1 dev]# fdisk /dev/sdj

Welcome to fdisk (util-linux 2.23.2).

 

Changes will remain in memory only, until you decide to write them.

Be careful before using the write command.

 

Device does not contain a recognized partition table

Building a new DOS disklabel with disk identifier 0x5d47ecd8.

 

Command (m for help): n

Partition type:

   p   primary (0 primary, 0 extended, 4 free)

   e   extended

Select (default p):

Using default response p

Partition number (1-4, default 1):

First sector (2048-2097151, default 2048):

Using default value 2048

Last sector, +sectors or +size{K,M,G} (2048-2097151, default 2097151):

Using default value 2097151

Partition 1 of type Linux and of size 1023 MiB is set

 

Command (m for help): w

The partition table has been altered!

 

Calling ioctl() to re-read partition table.

Syncing disks.

[root@oraclelab1 dev]#





List Disks

[root@oraclelab1 dev]# pwd

/dev

[root@oraclelab1 dev]# ls -ls sd*


Configure oracle ASM

 

[root@oraclelab1 dev]# oracleasm configure -i

Configuring the Oracle ASM library driver.

 

This will configure the on-boot properties of the Oracle ASM library

driver.  The following questions will determine whether the driver is

loaded on boot and what permissions it will have.  The current values

will be shown in brackets ('[]').  Hitting <ENTER> without typing an

answer will keep that current value.  Ctrl-C will abort.

 

Default user to own the driver interface [oracle]:

Default group to own the driver interface [oinstall]:

Start Oracle ASM library driver on boot (y/n) [y]: y

Scan for Oracle ASM disks on boot (y/n) [y]: y

Writing Oracle ASM library driver configuration: done

[root@oraclelab1 dev]#

 

Create ASM Shared disk

 

 

[root@oraclelab1 disks]# oracleasm createdisk ASM_DISK9 /dev/sdj1

Writing disk header: done

Instantiating disk: done

[root@oraclelab1 disks]#



List DISK

 

[root@oraclelab1 disks]# oracleasm listdisks

ASM_DIS10

ASM_DISK1

ASM_DISK11

ASM_DISK2

ASM_DISK3

ASM_DISK4

ASM_DISK5

ASM_DISK6

ASM_DISK7

ASM_DISK8

ASM_DISK9

[root@oraclelab1 disks]#

Comments

Popular posts from this blog

How to troubleshoot long running concurrent request in R12.2

How to run Gather Schema Statistics in R12.2

How to compile forms in R12.2