Integrating LVM with Hadoop and providing Elasticity to DataNode Storage

Jayesh Kumar
Nov 27, 2020

--

7.1.A: Elasticity Task

So here in the practical we have attached an external hard disk sdb of 8GB.

Here is the list of all the commands used:-

pvcreate /dev/sdc

pvdisplay /dev/sdb
pvdisplay /dev/sdc

#To attach the new physical volume to existing Volume group i.e RHEL
vgextend <vgname> /dev/sdb /dev/sdb

#Now Extending the pre-exisiting LVM volume with a required size.
lvextend — size <value> /dev/rhel/root

#Foramtting the extended part to use.
fsadm resize /dev/rhel/root

--

--

Jayesh Kumar
Jayesh Kumar

Written by Jayesh Kumar

Btech ECE pursuing student ....Arth Learner

No responses yet