Wednesday, January 17, 2024

 

Add the new disk on the servers and How to mount the disk on the server with the new mount point name?

  1. Temporary Mounting
  2. Permanent Mounting

Temporary Mounting 

This type of mounting is used to temporarily mount a disk or pen-drive on the server. Following are the steps to mount the disk on the server.

Step 1: Add disk from the platform
Step 2
: Login into the server using SSH/Putty

Step 3: Now use lsblk command to list the available disks on the server.




Step 4: Create the partition of the disks which is added in to the server from the storage



Step 5: Now create a filesystem on the disk using mkfs command.

Here xfs is a filesystem we can also use other file system( ext4,ext3,etx2) according to our need.

Step 6: If mounting point is not available on the server so create it using mkdir command


Step 7: Now mount the device using mount command 


Here /dev/sdb1 is device name

/GG is directory or mounting point on which you want to mount the device

But the main drawback of temporary mount is after the server reboot mounting is not persistent on the server, so to mitigate this problem we are going to use permanent mount on the server. Please follow the following steps for permanent mount.

Permanent Mounting

Step1: After formatting the disk UUID is assigned to device so to mount the device permanently 

           A UUID is required. For getting UUID of the device use this command

    



copy the UUID

Step2: For permanent mount we need to edit /etc/fstab file

And we have to add the content in following format


Here First field is the device name or UUID of the device. Here we are using UUID but we can also use device name (exp:-/dev/vdb) to mount the device permanently but recommended is to use UUID level to mount the disk.

Second field specifies the mount point 

Third field specifies the file system of the disk

The fourth field specifies the mount point options. We can specify many mount options separated by the commas. Here we are using defaults

The fifth field specifies the dump utility if we use 0 then it means dump utility not backing up the device. IF we are using this option as 1 then the dump utility should backup the device.

The sixth field specifies the fsck it means file system check at boot time if this value is zero it means file system is not checked at boot time and if we use this option as 1 then it means file system will be checked at boot time. The higher value in this field specifies the priority of file system check of devices.

Note: If you are using Micro host console so you cannot copy UUID then you can redirect the output of the command 

 

 

Thank you to All ....

Thank you for giving your valuable time to read the above information.


Monday, January 1, 2024

 

Root.sh || Error ORA-15238: ORA-15238: ORA-15477: || CLSRSC-258: Failed to configure and start ASM

RHEL 7.6 Oracle grid 12.2.0.1

I was getting this below error when I have to run the root.sh script from the first node, error below when performing installation.

I got the wondering solution after more R&D, now I am sharing solution for helping this post to the DBA community . 

 Error :

 [FATAL] [DBT-30002] Disk group OCRVOTE creation failed.

ORA-15018: diskgroup cannot be created

ORA-15238: 12.2.0.1 is not a valid value for attribute compatible.advm

ORA-15477: cannot communicate with the volume driver

2023/12/31 17:32:55 CLSRSC-184: Configuration of ASM failed

2023/12/31 17:33:01 CLSRSC-258: Failed to configure and start ASM

Died at /u01/sw/grid/crs/install/crsinstall.pm line 2091.


Solution :

before run the "/u01/sw/grid/root.sh" script we need to uninstall  "/u01/sw/grid/root.sh" 

[root@node1 lib]#

[root@node1 lib]# /u01/sw/grid/bin/acfsroot uninstall

ACFS-9312: Existing ADVM/ACFS installation detected.

ACFS-9314: Removing previous ADVM/ACFS installation.

ACFS-9315: Previous ADVM/ACFS components successfully removed.

[root@node1 lib]#

[root@node1 lib]# /u01/sw/grid/root.sh  << run this script firstly from the first node than run from second node 

2024/01/02 00:27:15 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded  <<< this message received post successfully ran of the  " /u01/sw/grid/root.sh" grid installation 



Thank you to All ....

Thank you for giving your valuable time to read the above information.