LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-18-2005, 03:16 PM   #1
linuxmandrake
Member
 
Registered: Sep 2004
Distribution: debian sarge 64bit (AMD)
Posts: 709

Rep: Reputation: 30
lvm2-resize partiton


I have decided to move to debian because fedora has caused me alot of problems with hardware. But I dont have much space to setup because I made the lvm too big. I want to keep the data on that drive so is there any way i can resize without loosing data
 
Old 09-19-2005, 12:22 AM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151

Rep: Reputation: 46
If you are asking whether the physical volume(s) that make up the volume group can be resized, then the answer today is No. Someday, the answer will be Yes, but the lvm pvresize command is not currently supported.

If you want to install Debian in the lvm, then minimize the FC3 logical volumes and create logical volume(s) for the Debian installation. It's covered in the LVM Howto (see Chapter 11 “Common Tasks” http://www.ibiblio.org/pub/Linux/doc...tml#commontask ).

You can create the logical volumes for Debian manually in advance or you can create them during the Debian installation.

You will need to use the commands resize2fs and lvreduce (or lvresize) to shrink the FC3 logical volume(s).

See:

man resize2fs
man lvreduce
man lvresize
 
  


Reply



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
Tried to resize root partiton, horrible failurea bcf2 Mandriva 15 10-14-2005 11:32 PM
Using LVM2 chandru.in Linux - Hardware 0 08-30-2005 07:33 AM
How to resize /usr with resize2fs and LVM2 shadow5277 Red Hat 2 08-15-2005 01:20 AM
Lvm2 pritambhavsar Programming 1 03-03-2005 07:22 PM
resize swap partiton ? qwijibow Linux - Software 3 11-26-2003 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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

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