Skip to main content

Solution for DiskFullEvent on log volume on Hana in-memory DB

Generally we will get this type of Hana log DiskFullEvent error at the time of Hana Data base migrations or HDB Instance upgrade time. Even some times will get after installation also, when backups are not running.

Symptom for confirmation:

You can confirm the same by checking the respective trace file of the service with full log volume contains message, LoggerImpl.cpp(0095) : Logger notified of new DiskFull : DiskFullEvent [id = xxx, path = /hana/log/SID/mntxxxx/, state= New] Also we can verify from OS level, i.e., /hana/log by using df -h command or you can also check from Hana Studio level. Once you confirm with the above trigger, resolve the issue with the following solution...

Solution for log Diskfullevent:-

  • If you HDB is up and running but /hana/log is almost getting full. Then you can directly reclaim the log from H.Studio SQL console by using below command. > ALTER SYSTEM RECLAIM LOG;else
  • Stop the Hana DB with <SID>adm : > HDB stop
  • Change the directory into folder of the log volume (Here Default: /usr/sap/<SID>/global/hdb/log) : > cd /hana/log/<SID>/mnt00001
  • You have to move one of the log-volumes temporarily to another volume where the enough space is available. You should free at least 2 GB of space to ensure that the database has enough space to start. To find out the space consumption of each volume by executing below command, > du -sh *
  • Now move a volume which consumes at least 2gb of space (for e.g . hdb00003) to a volume with sufficient free space, e.g. to the data volume : > mv hdb00003 /hana/data/HDB_LOG_BACKUP/
  • Then create a symbolic link to the new folder in the old location: > ln -s /hana/data/HDB_LOG_BACKUP/hdb00003  /hana/log/<SID>/mnt00001/hdb00003
  • Start the database: > HDB start
  • Wait until log-backups are performed.
  • Use the following SQL statement to clean up the log_volume: > ALTER SYSTEM RECLAIM LOG;
  • Stop the db again and remove the symbolic link: > rm -f /hana/log/<SID>/mnt00001/hdb00003
  • The move the log-volume back to it's original location: > mv /hana/data/HDB_LOG_BACKUP/hdb00003 /hana/log/<SID>/mnt00001/
  •  Start the db: > HDB start

Note for Log Diskfullevent:

If you have not noticed a disk full event, but your service is unresponsive, you might encounter a limitation of the number of log segments per log partition. Above solution is applicable for software component : HDB 1.0 & 2.0

Related Articles :

Sear more in Hana Platform Portal. 


Thanks!

"I hope this Article helpful to you. If you like this Article Hit me with FB Like Button and/or share to your colleagues. If you have any doubts, kindly drop as a comment as below" 

Comments

Popular posts from this blog

New Hidden Instagram Features: Auto-Scroll, Playback Speed, Closed Captions (CC) & Full-Screen Mode

Instagram continues to improve the way people watch and interact with short-form videos. While most users are familiar with basic Instagram Reels controls, the platform is introducing and testing several useful playback features that many people may not have noticed yet. These features make watching Reels more convenient, flexible, and enjoyable. Whether you want to watch videos without touching your screen, adjust playback speed, read captions while watching, or enjoy videos without distracting interface elements, Instagram's newer playback controls offer something useful. In this guide, we will explore four interesting Instagram features: Auto-Scroll, Playback Speed, Closed Captions (CC), and Full-Screen Mode. We will explain what each feature does, how to access it, and why you might find it useful. 1. Instagram Auto-Scroll Feature – Watch Reels Without Swiping One of the most convenient additions to Instagram Reels is the Auto-Scroll feature. Normally, when watching Insta...

Troubleshooting SAP Fiori Applications & Generic Apps Tiles loading issues

There are many ways we can troubleshoot the SAP Fiori applications, tiles issues & other Odata services problems. Some times, after completed the all Apps configurations also, the respective tiles are may not load properly.  I will guide you with the available possibilities. Tools & Options: Tcodes : /IWFND/ERROR_LOG /IWBEP/ERROR_LOG Page inspection Code tool Meta data Cache cleanup Front/Back end Cache cleanup Complete Troubleshooting guide for Fiori Apps & Tiles issues: As per the information available in the Fiori Apps Library, we will configure & active the all required apps, Right..! Once you assign the Role, respective App should be appear under the respective Catalog & Group. But some times may not load the tile or may get the error like "Can't load the groups" or "can't load the tile" when you open the App. It may happen due to some Odata services mapping issue or may be due to the wrong system ali...

SAP Basis Administrator job roles & responsibilities including Hana, S4 Fiori, Solman

Dear, you should know the all roles & tasks responsibilities as a SAP Basis Consultant. Here, I will try to give the information on daily, weekly and monthly base activities. Including S4 Hana, Fiori, Solution Manager 7.1/7.2 and on Hana Databases and other DB's. Definition of SAP Basis The SAP Basis Administrator is responsible for the management of the SAP environment. Other responsibilities like implementing, configuring and troubleshooting the sap technical environment. As well as scheduling and executing the sap transport system. The consultant is also responsible for installation, upgrade and maintenance of SAP systems. Additional Roles & Responsibilities : Additionally the consultant should able to do configuration, monitoring and tuning of the sap technical environment.  Also able to design of interfaces between the SAP and external systems, optimize & analyze the performance issues, design the architecture of the landscape. He should be able to... ...