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

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

Archives for October 2019

How to Disable Docker Process and docker0 Interface on CentOS/RHEL

by admin

When the docker packages are installed, the services and related docker0 network interface are enabled. In some cases, you may want to disable the docker service and the docker0 network interface as well. This post details how to disable Docker and the docker0 interface if it is not required or if the docker0 interface is […]

Filed Under: CentOS/RHEL 6, CentOS/RHEL 7, CentOS/RHEL 8, DevOps, Docker, Linux

“imuxsock lost # messages from pid # due to rate-limiting” – rsyslog rate-limiting in Linux

by admin

Due to rate limiting by rsyslog, /var/log/messages is showing lots of dropped message entries: … Nov 7 14:23:14 thx1138 rsyslogd-2177: imuxsock lost 516 messages from pid 159386 due to rate-limiting Nov 7 14:23:15 thx1138 rsyslogd-2177: imuxsock begins to drop messages from pid 159386 due to rate-limiting Nov 7 14:23:20 thx1138 rsyslogd-2177: imuxsock lost 512 messages […]

Filed Under: Linux

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

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

Primary Sidebar

Recent Posts

  • gml2gv Command Examples
  • glow Command Examples
  • glib-compile-resources Command Examples
  • glances Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright