LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 07-31-2006, 05:23 PM   #1
pardasaniman
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Rep: Reputation: 0
Shrinking and moving an lvm partition. (and random fdisk help)


Hello friends,

I have an lvm physical volume which I have succesfully reduced using pvresize. However, the actual partition which it is residing on is unchanged. How can I resize the partition?

Also, after I have resized it, I would like to move it to the end of the drive.

Am I asking for too much?
 
Old 08-02-2006, 03:10 AM   #2
cdhgee
Member
 
Registered: Oct 2003
Location: St Paul, MN
Distribution: Fedora 8, Fedora 9
Posts: 513

Rep: Reputation: 30
The best way is to download the Knoppix Live CD. Boot off this and started qtparted, which is a partitioning tool similar to partition magic. It can nondestructively resize partitions - I used it a couple of weeks ago to resize my Windows partition so I could set up a dual boot config and it worked a charm. I'm not 100% certain whether it supports LVM but I'd be surprised if it didn't.

Regards
David
 
Old 08-02-2006, 08:11 AM   #3
pardasaniman
LQ Newbie
 
Registered: Aug 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your reply. On the parted page it lists a few specific filesystems which it can resize.

In any case, I've given up on this endeavor. My newest issue is that in all my LVM experimenting, I've accidentally created multiple unnecessary linear extents on the same PVs. Perhaps there is a solution to make them all into single PVs?
 
  


Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LVM and shrinking the root filesystem coreychch Linux - Newbie 4 05-21-2012 01:47 AM
Shrinking Root Partition celticdaddio Suse/Novell 1 10-06-2005 10:00 AM
Shrinking an LVM partition Sabre_X Linux - Software 6 09-30-2005 11:13 PM
Shrinking Linux Partition w/ Partition Magic jrdioko Linux - Newbie 11 12-21-2003 03:46 PM
partition or shrinking? M@tt Linux - Newbie 2 11-12-2001 09:35 AM


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

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