Sunday, 9 May 2021

How to Reduce lvm partition in CentOS 7

Sometimes when we are facing issue with high space utilization of the disk in Linux system, then we can make some space by reducing the lvm partition which have unused space available if hard disk partitioned in lvm. Reducing the lvm volume cannot be done online, the volume should be unmounted while reducing. Reducing the logical volume is the risk of data lose and it is always recommended to make a backup of data before reducing the volume. 

Friday, 23 April 2021

How to Install yum-utils on CentOS 8

The yum-utils is an additional package of yum that provides a collection of utilities and commands to manipulate repositories and extended package management. Yum-utils can be installed from CentOS 8 default BaseOS repository.

Friday, 19 March 2021

How To Create User with Gecos/Comment and Add in a Group in CentOS 7

A new user account is created with a group. The group name is same as account name and the user is the only member of this group. The -g [Primary Group] and -G [Secondary Group] options allow to add the user in primary and secondary group and the -c (--comment) option allows to add a short description/User Full Name/GECOS for the new user.

Monday, 18 January 2021

How To Find Operating System Installation Date and Time in CentOS 8

Sometimes, there is a requirement to know operating system installation/build information. The tune2fs Linux command uses to adjust various tunable file system parameters on Linux ext2, ext3, or ext4 file systems. This command also helps to find out the date and time of operating system installation.