In this post we will see how to grow a Linux filesystem without reboot.
- Let’s check our current filesystem. We want to extend this filesystem by 200MB.
[root@cloudvedas CVFS1]# df -h /CVFS1
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/cvsvg-cldvdsvol1 47M 12M 32M 26% /CVFS1
- First check if we have free space in VG
Continue reading “Solved: How to extend or grow a linux filesystem under LVM”
In this post we will see how to label a new disk in Linux and create a new LVM partition.
Step 1 Scan the new LUNS.
Step 2 List the available disks and identify the one you want to use.
fdisk -l |grep /dev/ |grep -v dm
Step 3 Use fdisk to label the disk. Here we are using disk sdb .
Continue reading “Solved: How to label a disk in Linux”
In this post we will give you a crash course on Linux LVM (Logical Volume Manager). This post will cover the most used LVM commands in a Linux Admin life.
Before we start first let’s go through the concepts.
Physical Volumes (PVs): Storage devices (physical hard disks, partitions, RAID arrays etc.) provides raw storage
Volume Groups (VGs): Combine multiple PVs to create a group. They can be mirror or concatenation of PVs.
Logical Volumes (LVs): Create smaller volumes from the Volume Group(VG) as per your size requirement. You can can use the LVs to create filesystem on them.
Below commands are for RHEL 7.
All the below commands will require root access. You can either run them with sudo or switch to root user as mentioned below.
sudo su -
[root@cloudvedas ~]# yum install lvm2*
Continue reading “LVM Crash course”
In this post we will see what’s a cron job and how we can set it.
Cron is managed by a crontab file. Its a configuration file in which we can schedule shell command to run periodically.
Continue reading “Solved: How to schedule a cron job in Linux or Solaris”
You can get the Provisional Interest Certificate from Punjab National bank both offline and online. Below we will discuss the process of both the methods.
Continue reading “Solved: How to get Provisional Interest Certificate for housing loan from PNB (Punjab National Bank)”