đź”…Automating LVM Partition using Python-Script.

Rishabh
Nov 3, 2020

--

According to Google:

In Linux, Logical Volume Manager (LVM) is a device mapper framework that provides logical volume management for the Linux kernel. Most modern Linux distributions are LVM-aware to the point of being able to have their root file systems on a logical volume.

we have attached external hard disks to the OS.

STEP1:

>>CREATE A SCRIPT IN PYTHON TO AUTOMATE THE LVM PROCESS
HERE’S HOW TO WRITE THE CODE:-

STEP2:

RUNNING THE PYTHON SCRIPT AND FILLING THE REQUIRED DETAILS AS A USER.

STEP3:

CHECKING THE FULL STORAGE USING “df -h” COMMAND TO CONFIRM THR CREATED LVM
HERE’S I HAVE CREATED A LVM OF 4GB STORAGE.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Rishabh
Rishabh

Written by Rishabh

Student from B.tech 2nd Year, A proud ARTH learner, love new technologies, Curious about many thing, likes to explore places, love eating pizza and much more.

No responses yet

Write a response