LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   lvm2-resize partiton (https://www.linuxquestions.org/questions/linux-general-1/lvm2-resize-partiton-364601/)

linuxmandrake 09-18-2005 03:16 PM

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

WhatsHisName 09-19-2005 12:22 AM

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


All times are GMT -5. The time now is 12:23 PM.