Extending and Shrinking Logical Partitions

(Difference between revisions)
Jump to: navigation, search
(Created page with "This page is a WIP.")
 
Line 1: Line 1:
This page is a WIP.
+
We found out that the way our parititions were originally was that we did not have enough space for the root partition and more than enough on our home.  Since we're using LVMs, we needed to resize those, preferably with everything running and without losing data.
 +
 
 +
== Important Notes ==
 +
*This messes with your logical volumes.  This can damage your data if you do it incorrectly or if you do not take proper precautions.  BACK UP YOUR DATA!
 +
*This method is intended for logical volumes.  We take no responsibility for anything you do with this otherwise.
 +
 
 +
 
 +
== Overview ==
 +
What this method does is shrink one partition (say, /home), and expand another (/, for instance).  With LVMs, this becomes a matter of shrinking the filesystem on the volume and then the volume itself.  Afterwards, when you want to expand the other partition, you do the same process in reverse, you increase the volume size and then increase the filesystem to fill the new volume.
 +
 
 +
== Process ==
 +
 
 +
== References and External Links ==
 +
*[http://www.computers-it.com/linux/linux_lvm_resize_filesystem.php Computers-IT]

Revision as of 19:45, 24 April 2013

We found out that the way our parititions were originally was that we did not have enough space for the root partition and more than enough on our home. Since we're using LVMs, we needed to resize those, preferably with everything running and without losing data.

Contents

Important Notes

  • This messes with your logical volumes. This can damage your data if you do it incorrectly or if you do not take proper precautions. BACK UP YOUR DATA!
  • This method is intended for logical volumes. We take no responsibility for anything you do with this otherwise.


Overview

What this method does is shrink one partition (say, /home), and expand another (/, for instance). With LVMs, this becomes a matter of shrinking the filesystem on the volume and then the volume itself. Afterwards, when you want to expand the other partition, you do the same process in reverse, you increase the volume size and then increase the filesystem to fill the new volume.

Process

References and External Links

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox