Shrink LVM to make new partition?

George Toft george at georgetoft.com
Tue Feb 27 17:03:31 MST 2007


Seems to me to be easier to shrink the logical volume (and its 
filesystem) and create a new logical volume on the single volume group.

George Toft, CISSP, MSIS
623-203-1760




Alan Dayley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have a system with a SCSI hardware RAID 5.  It has a boot partition
> and all the rest, 34+ GB, as a single volume using LVM.  I want to
> shrink the large partition to about 6GB so I can create a separate ext3
> partition.  I have never "messed" with LVM before, preferring to leave
> them running once installed.
> 
> OS: CentOS 4.3
> HD device: /dev/c0d0
> Boot partition: /dev/c0d0p1
> LVM partition: /dev/c0d0p2
> 
> I have the CentOS 4.3 install CDs and Knoppix as boot and tool sources
> for manipulating the RAID array partitions.  The system is installed and
> working but presently has no live data on it.  I am simply trying to
> avoid a full re-install to adjust the partitions but can do that if
> recommended as easier.
> 
> The references I have found so far talk mostly about expanding LVM
> partitions, not shrinking them.  Thus, my question.
> 
> Alan
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> 
> iD8DBQFF5L7uDQw/VSQuFZYRAu85AJ91m0hhc8i/krn2h8c0ZBlg9bSHaQCfRbI2
> vT20CWbraea+Wclm84h4EY4=
> =D65l
> -----END PGP SIGNATURE-----
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> 
> 


More information about the PLUG-discuss mailing list