Elastic Storage Hadoop Cluster using LVM

Automating LVM on Hadoop Clusters

What are PVs , VGs and LVs ????

Heading to the practical demo >>>>>>

Initial Hadoop Cluster
PV-VG-LV

pvcreate /dev/xvdf /dev/xvdg

vgcreate lvm-test /dev/xvdf /dev/xvdg

lvcreate -n lvm-part-1 — size 6G lvm-test

mkfs.ext4 /dev/lvm-test/lvm-part-1

Datanode contribution to cluster
Updated storage contribution to cluster
Executing python script to automate
Finally updated cluster

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store