How to integrate LVM with Hadoop and providing Elasticity to Data Node Storage?

What is Hadoop?

What is LVM?

So, what we need let’s start…

Attaching Harddisks with Datanode System:

Attach hardisks

Available Disks

Implementation of LVM

Converting Disk into Physical Volume

Creating Volume Group of Physical Volumes

Creating Logical Volume from Volume Group

Formatting the Logical Volume

Mounting the Logical Volume to the Hadoop Data Node Directory

Providing Elasticity to Hadoop DataNode using LVM “on the fly”