View the Most Wanted LQ Wiki articles.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-17-2003, 05:54 PM   #1
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Rep: Reputation: 16
Reducing size of PV (partition) in LVM

Does anyone know a way (or if it's even possible) to shrink an LVM partition?

I know how to shrink a filesystem within a partition, but I need to shrink the partition itself.

Parted doesn't understand LVM and won't touch it. I could delete and redefine the partition with fdisk, but the odds are WAY too high I'd lose the whole thing.

Anyone have any ideas?
Old 10-23-2003, 12:34 AM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Lenny
Posts: 351

Rep: Reputation: 47

Reducing a logical volume can cause data loss unless
you have properly reduced the ext filesystem inside it

u can use resize2fs (read them properly and be sure to use all the tools and resize it ! ... safely mount the partition after resize and check if things are working fine in the file system )

After all safety ... backup ... blah blah blah u can use
lvreduce - this will reduce the file size to the desired one
Old 10-24-2003, 09:19 PM   #3
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Original Poster
Rep: Reputation: 16
Thanks for the reply, but I don't want to reduce a logical volume (lv). I want to reduce a physical volume (pv) (in the x86 world, also known as a partition).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot - reducing size of linux partition? xTheLostx Linux - General 2 09-24-2005 07:07 PM
Reducing file size using mencoder SithX Linux - Software 3 04-15-2005 09:56 PM
Reducing the Linux LVM(8e) partition itself (not PV, VG or LV). ajitkth Linux - General 1 03-08-2005 04:45 AM
Reducing kernel size Kholnuu Slackware 6 01-22-2005 03:57 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 01:55 PM

All times are GMT -5. The time now is 07:33 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration