Latest LQ Deal: Latest LQ Deals
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, 04: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-22-2003, 11:34 PM   #2
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49

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, 08: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 06:07 PM
Reducing file size using mencoder SithX Linux - Software 3 04-15-2005 08:56 PM
Reducing the Linux LVM(8e) partition itself (not PV, VG or LV). ajitkth Linux - General 1 03-08-2005 03:45 AM
Reducing kernel size Kholnuu Slackware 6 01-22-2005 02:57 AM
Total partition size - User partition size is not equals to Free partition size navaneethanj Linux - General 5 06-14-2004 12:55 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:16 AM.

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
Open Source Consulting | Domain Registration