Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
JavaScript Questions
Unix
Kotak
Reliance
Bajaj
ASP.NET
VB.NET
SQL Query
UDDI
CLASS
 Linux
 :) Hot Jobs
 
 :) Latest Articles


  

 


Different steps to shrink or reduce the size of LVM partition?
Question Posted on 26 Oct 2021

Home >> Operating System >> Linux >> Different steps to shrink or reduce the size of LVM partition?




Different steps to shrink or reduce the size of LVM partition?
Below are the 3 common step to reduce the LVM partition size in Linux:-

(1)First we will use Unmount command to Unmount the file system.

(2)In 2nd step we use resize2fs command as follows:-
resize2fs /dev/mapper/myvg-mylv 10G

(3)In last third step we use lvreduce command as below given format
lvreduce -L 20G /dev/mapper/myvg-mylv

As per above command we reduce the size of LVM partition and fix the size of file system to 20GB as in above command.
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Different steps to shrink or reduce the size of LVM partition?
Explain Zombie Process in Linux?
What is Kali Linux and its release and new features?
Name the two of different kinds of Linux User Modes?
What is LILO and different tasks handle by LILO?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |