• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for October 2019

How to Modify Static Parameter value in spfile

by admin

If you try changing a static parameter value in the SPFILE used at instance startup, you would get the following error message: SQL> alter system set audit_trail=DB scope=both; * ERROR at line 1: ORA-02095: specified initialization parameter cannot be modified SCOPE=BOTH applies the modification at the instance level and in the spfile used at startup. […]

Filed Under: oracle

Troubleshooting slow network communication or Connection Timeouts in Linux

by admin

Troubleshooting a slow network or network packet drops can be tricky. In addition to slower network communication, there may be additional symptoms observed, such as : Attempts to connect to a server with ssh and/or sftp results in time-outs or a delayed response. When the network load goes high, there are high number of network […]

Filed Under: Linux

Unable to instantiate disk “ASM_DISK” – error on running ‘oracleasm scandisks’ command

by admin

The Problem The new disk has been assigned to a host and the user needs to run a scandisk. But the command fails to instantiate new disks with the below error. # oracleasm scandisks Reloading disk partitions: done Cleaning any stale ASM disks… Scanning system for ASM disks… Instantiating disk “ASM_DISK_01” Unable to instantiate disk […]

Filed Under: ASM, oracle

CentOS/RHEL – vgs command reports error: “global/global_filter” unknown

by admin

The Problem The user has set a new value for the parameter global_filter in the /etc/lvm/lvm.conf file. After setting the parameter value ‘vgs’ command gives below error: # vgs Configuration setting “global/global_filter” unknown. … The Solution User has put the “global_filter” parameter under the ‘global {}‘ section in /etc/lvm/lvm.conf configuration file. global { … global_filter […]

Filed Under: CentOS/RHEL 5, CentOS/RHEL 6, Linux

3 Ways of Increasing Swap Space on Linux

by admin

Sometimes the default physical memory is not enough to serve certain tasks or processes. It may happen that the processes are swapping more memory in and out of the swap space. This post helps to explain how to increase the swap memory on a Linux system. There will be 3 different ways explained in this […]

Filed Under: Linux

How to resize (extend) a partition-based file system in Linux

by admin

Note: Resizing a filesystem on a disk parition can be dangerous and can result in loss of data. Make sure you have the backup taken prior to following the steps outlined below. Caveats 1. The filesystem you want to resize must reside on the last partition of the disk. There is no data loss in […]

Filed Under: Linux

Basic “chmod” Command examples in Linux

by admin

The Linux command to change permissions on a file or directory is chmod, which we like to read as change file mode. chmod has two operating modes: symbolic mode numeric/octal mode To change permission using the Linux chmod command we have to follow some syntax and rules. As we discussed above we can change permission […]

Filed Under: Linux

“lsb_release: command not found” – Fix in CentOS/RHEL

by admin

The Problem While executing the command “lsb_release -r” to display the release number of the currently installed distribution, user gets below error: # lsb_release -v -bash: lsb_release: command not found How this can be resolved? The Solution To check the RedHat/CentOS version one can use the “lsb_release” command. In most cases, the package providing this […]

Filed Under: CentOS/RHEL 7, CentOS/RHEL 8, Linux

How to enable the automatic extension for a thin LVM volume

by admin

By default, the automatic extension is set to ‘100‘ # grep thin_pool_autoextend_threshold /etc/lvm/lvm.conf # Configuration option activation/thin_pool_autoextend_threshold. # thin_pool_autoextend_threshold = 70 thin_pool_autoextend_threshold = 100 These settings imply the function has been disabled. From the /etc/lvm/lvm.conf configuration file: # ‘thin_pool_autoextend_threshold’ and ‘thin_pool_autoextend_percent’ define # how to handle automatic pool extension. The former defines when the # […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, Linux

« Previous Page

Primary Sidebar

Recent Posts

  • protonvpn-cli Command Examples in Linux
  • protonvpn-cli connect Command Examples
  • procs Command Examples in Linux
  • prlimit: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright