* [linux-lvm] Extending an LVM-Partition
@ 2002-07-14 14:05 Kai Weber
2002-07-14 14:19 ` Goetz Bock
0 siblings, 1 reply; 3+ messages in thread
From: Kai Weber @ 2002-07-14 14:05 UTC (permalink / raw)
To: linux-lvm
Hi,
I read the "RAID extension" thread. I have a similiar problem but
without RAID:
I have a hard disk with an setup like that
/dev/hda1 Linux LVM
/dev/hda2 ext2
I want to remove the hda2 partition and use the free space for LVM. I
read in the HOWTO (or was it some FAQ) that 2 or more PV's on one hard
disk are not a good idea. So I am searching for a way, to extend the LVM
partition easily.
Or I ask for an "you can just add the PV hda2 and it does not matter, if
there is another PV on this disk" advice.
Kai
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Extending an LVM-Partition
2002-07-14 14:05 [linux-lvm] Extending an LVM-Partition Kai Weber
@ 2002-07-14 14:19 ` Goetz Bock
2002-07-14 14:33 ` Andy Baillie
0 siblings, 1 reply; 3+ messages in thread
From: Goetz Bock @ 2002-07-14 14:19 UTC (permalink / raw)
To: linux-lvm
On Sun, Jul 14 '02 at 21:05, Kai Weber wrote:
> Or I ask for an "you can just add the PV hda2 and it does not matter, if
> there is another PV on this disk" advice.
It's ok to do this (I do this all the time with my regular setups:
install the system to a mini ext2 partition, make the rest LVM, move
system to LVM, add former ext2 partition to LVM. As the installers
nowadays support LVM this is nolonger needed, but when I started LVM
no installer knew it).
It is only a bad idea when you want to try striping (for, I hope,
obviouse reasons)
--
Goetz Bock (c) 2002 as blacknet.de - Munich - Germany /"\
IT Consultant GNU FDL 1.1 secure mobile Linux everNETting \ /
X
ASCII Ribbon Campaign against HTML email & microsoft attachments / \
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [linux-lvm] Extending an LVM-Partition
2002-07-14 14:19 ` Goetz Bock
@ 2002-07-14 14:33 ` Andy Baillie
0 siblings, 0 replies; 3+ messages in thread
From: Andy Baillie @ 2002-07-14 14:33 UTC (permalink / raw)
To: linux-lvm
Goetz Bock wrote:
>On Sun, Jul 14 '02 at 21:05, Kai Weber wrote:
>
>>Or I ask for an "you can just add the PV hda2 and it does not matter, if
>>there is another PV on this disk" advice.
>>
>It's ok to do this (I do this all the time with my regular setups:
>install the system to a mini ext2 partition, make the rest LVM, move
>system to LVM, add former ext2 partition to LVM. As the installers
>nowadays support LVM this is nolonger needed, but when I started LVM
>no installer knew it).
>It is only a bad idea when you want to try striping (for, I hope,
>obviouse reasons)
>
The method I use is to make an initrd system
hda1 30Mb ext2 /boot
hda2 1G (or 2x memory) ext /
hda3 200Mb ext2 / (not used initially)
hda4 - the rest as an lvm partition.
I install to hda2 and hda1 until I get a base system which understands
lvm (with debian woody
this is quite a lot of effort!) Then I copy all genuine root stuff to
hda3 and make lvm partitions
for the rest which are then populated. Lilo is set to boot either hda2
or hda3 for safety and I
test the hda3 boot sequence. Once happy I turn hda2 into a swap
partition. Doing it this way
I find have no worries about merging small partition bits back in.
Regards
Andy Baillie
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-07-14 14:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-14 14:05 [linux-lvm] Extending an LVM-Partition Kai Weber
2002-07-14 14:19 ` Goetz Bock
2002-07-14 14:33 ` Andy Baillie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.