If the non-root LVM volume, Volume Group, and Physical Volume used for the LV are no longer required on the system, then it could be removed/deleted using following steps. If the LVM volume is containing any required data, then please make sure to take a backup of that data before proceeding with following steps: In […]
Archives for October 2016
YUM command examples to install, remove and upgrade packages
YUM (Yellowdog Updater, Modified) provide more services and functionality than is available with the rpm command and other RPM-based tools. With Yum tools and plug-ins, you can: List software packages, both installed and available, in local or remote repositories Check for package dependencies (packages required to install a package) Create new repositories and enable or […]
CentOS / RHEL : Converting an Existing Root Filesystem to LVM Partition
Question: Root Filesystem is full and it is not LVM. We need to move this to new partition which is LVM. How this can be achieved? Answer : Procedure to convert an existing root file system on a normal disk partition to LVM volume is as follows : 1. First Create an LVM partition: Select […]
Linux / UNIX : How to send mails with attachments using mailx command
Question : How to send email with attachments from Linux machine using mailx command ? Answer : Basic syntax to send emails from linux machine using mailx command is show below : # echo “this is the body of the email” | mailx -vvv -s “test mail” -r “From” -S smtp=”your-smtp” someone@address here, -vvv = […]
UNIX / Linux : Send mail with attachment using mutt
What is mutt Mutt is a text-based mail client. Mutt is known for being a fast and highly configurable mail client, and since it is text-based, it’s ideal for checking email quickly over SSH. Installing mutt To install mutt using yum : # yum install mutt … ======================================================================================== Package Arch Version Repository Size ======================================================================================== Installing: […]