Labels

hpunix (63) marathi kavita (52) linux (21) solaris11 (11) AWS (5) numerology (5)
Showing posts with label size. Show all posts
Showing posts with label size. Show all posts

Friday, July 18, 2025

How to Add Disks in an Oracle Database Appliance (ODA) Single Node BM


How to Add Disks in an Oracle Database

Appliance (ODA) Single Node BM

When managing an Oracle Database Appliance (ODA), ensuring sufficient disk space in the DATA and RECO diskgroups is crucial for optimal performance and storage management. If you find yourself running low on space and need to add new physical NVMe disks, follow these step-by-step instructions to expand your storage on a single-node Bare Metal ODA.

Prerequisites

  • Ensure you have 4 new NVMe disks ready for installation.
  • Confirm the ODA is a single-node Bare Metal system.
  • Have administrative access to run odaadmcli commands.

Step-by-Step Guide

1. Check Current Diskgroup Usage

Before adding new disks, assess the current size of the DATA and RECO diskgroups:

# odaadmcli show diskgroup

This command displays the current allocation and usage of the diskgroups.


2. Review Existing Disk Status

Identify the existing disk IDs and their status:

# odaadmcli show disk

Note down disk IDs like pd_00, pd_01, etc., for reference.


3. Insert New Physical Disks

Insert the new NVMe disks one at a time into available slots (e.g., slots 4 to 7). If a disk is not automatically powered on or visible, manually power it on:

# odaadmcli power disk on pd_04
# odaadmcli power disk on pd_05
# odaadmcli power disk on pd_06
# odaadmcli power disk on pd_07

Replace pd_04 to pd_07 with the actual disk IDs if they differ.


4. Expand Storage

Once all disks are inserted and powered on, expand the storage to include the new disks:

# odaadmcli expand storage -ndisk 4

This command adds the 4 new disks to the ODA storage pool.


5. Verify Disk Addition

Recheck the disk status to confirm the new disks are recognized:

# odaadmcli show disk

You should now see the newly added disks listed.


6. Confirm Diskgroup Expansion

Finally, verify that the DATA and RECO diskgroups have increased in size:

# odaadmcli show diskgroup

This confirms successful expansion of your storage.


Conclusion

Adding disks to an Oracle Database Appliance is a straightforward process when done methodically. Regular monitoring and timely expansion of storage ensure your database environment remains robust and efficient.


Tuesday, May 11, 2021

How to split big files in Unix

 How to split big files in solaris:

Sometime the log files is too large to send backend team for further analysis, in that case we break the files into multiple pieces using split command.


Whenever we split a large file with split command then split output file’s default size is 1000 lines and its default prefix would be ‘x’.

Suppose we want to send crash dump (vdump) file which is 2GB of size. We will break that file into 4 pieces of size 500MB.


In that case:

#split -b 500M vdump.24 = This will break vdump.24 file into 4 pieces of name Xa , Xb, Xc, Xd


If we feel aa ab are little bit confusing file names then better to give specific name at the time of spliting the file itself.

#split -b 500M vdump.24 vdump_11May2021_X = It will create new files of name vdump_11May2021_Xa ,  vdump_11May2021_Xb


If we want to split file into GB then we may use command something like:

#split -b 1G vdump.24 vdump_11May2021_1

or

#split -b 1024M vdump.24 vdump_11May2021_1



Regards,

Kiren Jadhav