Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] "anchoring" the logical volumes to physical volumes
@ 2001-09-05 23:26 Florin Iucha
  2001-09-05 23:42 ` svetljo
  0 siblings, 1 reply; 2+ messages in thread
From: Florin Iucha @ 2001-09-05 23:26 UTC (permalink / raw)
  To: linux-lvm

Hello!

I have two SCSI harddisks of 4.5 GB each and I want to install Linux on them
on top of LVM.

I want to put / /boot /var /home /usr/local on the first disk and /usr on the
second one. At the same time I want to have all partitions (except /boot) on 
LVM so I can extend/snapshot them.

I can take the obvious route of creating a PV on each of the harddisks and 
putting them in the same VG and then splitting the VG into LV. But I want
to make sure /usr gets on the second disk and all /usr and / get allocated
at the beginning of the PV.

I can simulate this by creating the first LVs than a LV that will fill up the
first PV then the LV for /usr... But this is ugly and I am not sure is
guaranteed to work.

Any "smart" solution to this problem? Any plans to implement such a feature
in lvcreate?

Thank you,
florin

-- 

"If it's not broken, let's fix it till it is."

41A9 2BDE 8E11 F1C5 87A6  03EE 34B3 E075 3B90 DFE4

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [linux-lvm] "anchoring" the logical volumes to physical volumes
  2001-09-05 23:26 [linux-lvm] "anchoring" the logical volumes to physical volumes Florin Iucha
@ 2001-09-05 23:42 ` svetljo
  0 siblings, 0 replies; 2+ messages in thread
From: svetljo @ 2001-09-05 23:42 UTC (permalink / raw)
  To: linux-lvm


Florin Iucha wrote:

>Hello!
>
>I have two SCSI harddisks of 4.5 GB each and I want to install Linux on them
>on top of LVM.
>
>I want to put / /boot /var /home /usr/local on the first disk and /usr on the
>second one.At the same time I want to have all partitions (except /boot) on 
>LVM so I can extend/snapshot them.
>
>I can take the obvious route of creating a PV on each of the harddisks and 
>putting them in the same VG and then splitting the VG into LV. But I want
>to make sure /usr gets on the second disk and all /usr and / get allocated
>at the beginning of the PV.
>
>I can simulate this by creating the first LVs than a LV that will fill up the
>first PV then the LV for /usr... But this is ugly and I am not sure is
>guaranteed to work.
>
>Any "smart" solution to this problem? Any plans to implement such a feature
>in lvcreate?
>
i think it's already implemented, there should be an option which tells 
lvcreate which PV's
to use for the LV you are creating . see the man page to lvcreate or 
lvcreate --help

>
>Thank you,
>florin
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-05 23:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-05 23:26 [linux-lvm] "anchoring" the logical volumes to physical volumes Florin Iucha
2001-09-05 23:42 ` svetljo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox