Shrink LVM to make new partition?

Alan Dayley alandd at consultpros.com
Tue Feb 27 16:29:51 MST 2007


-----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-----


More information about the PLUG-discuss mailing list