LVM → Logical Volume Management (LVM) creates a layer of abstraction over physical storage, allowing you to create logical storage volumes. With LVM in place, you are not bothered with physical disk sizes because the hardware storage is hidden from the software so it can be resized and moved without stopping applications or unmounting file systems. You can think of LVM as dynamic partitions.
What is Hadoop?
Hadoop is an open source, a Java-based programming framework that supports the storage and processing of extremely large data sets in a distributed computing environment. It is part of the Apache project sponsored by the Apache Software Foundation.
Firstly have hadoop setup on both Namenode and Datanode
Now start Namenode
Successfully done NAMENODE setup
Now setup in Datanode
Finally done setup on both master and slave node
Now check the connectivity
Now create Logical volume i,e extendable volume
providing size in GB
Now Extending Volume
Now it has increased also check in hadoop cluster
Before Mounting the logical volume
After Mounting Logical volume to /dn3
It has increased the volume on the fly.
Task description → Integrating LVM with Hadoop and providing Elasticity to DataNode Storage
Hence successfully completed the Task
Hope it helped you 😎