* [linux-lvm] Couple of question/confusion
@ 2000-01-31 2:28 Scott Walker
2000-01-31 3:14 ` Daniel Whicker
0 siblings, 1 reply; 3+ messages in thread
From: Scott Walker @ 2000-01-31 2:28 UTC (permalink / raw)
To: linux-lvm
I started playing with LVM tonight and I am impressed... LVM + resierfs
is nice! But I have a couple problems.
Let me explain (Please offer advice if you want) I have the following
setup..
/dev/hdc1 = 1.2G
/dev/hdd2 = 7.9G
/dev/hda3 = 1.2G
/dev/sda1 = 9.11
I wanted to combine all of the above into 1 *partition* for /home. now
is LVM something I should be looking into or should I just go to linear
raid? or raid 0?
Now I create my physical volume, but when I want to create my logical I
keep recieving this error:
freedom /# lvcreate -L100G freedom
lvcreate -- only 499 free physical extents in volume group "freedom"
What am I doing wrong?
Please offer some advice, wether LVM is just overkill for me and I
should just use raid0 or linear.
--
Scott Walker Zero Knowledge Systems Inc.
scott@zeroknowledge.com http://www.zeroknowledge.com
There are three kinds of people: Those who can count & those who can't.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Couple of question/confusion
2000-01-31 2:28 Scott Walker
@ 2000-01-31 3:14 ` Daniel Whicker
0 siblings, 0 replies; 3+ messages in thread
From: Daniel Whicker @ 2000-01-31 3:14 UTC (permalink / raw)
To: Scott Walker, linux-lvm
>Let me explain (Please offer advice if you want) I have the following
>setup..
>/dev/hdc1 = 1.2G
>/dev/hdd2 = 7.9G
>/dev/hda3 = 1.2G
>/dev/sda1 = 9.11
>
>I wanted to combine all of the above into 1 *partition* for /home. now
>is LVM something I should be looking into or should I just go to linear
>raid? or raid 0?
LVM is perfect for this.
>Now I create my physical volume, but when I want to create my logical I
>keep recieving this error:
>
>freedom /# lvcreate -L100G freedom
>lvcreate -- only 499 free physical extents in volume group "freedom"
>What am I doing wrong?
First, you stated that created the physical volumes... did you also create
the volume groups?
If you didn't, you'll need to add your physical volumes to a volume group.
i.e:
# vgcreate /dev/hdc1 /dev/hdd2... etc.
At that point, type:
# vgdisplay /dev/vg00
This will tell you how many physical extents that you have available to
create an LV. (free PE)
To use all of them in a LV, type
# lvcreate -l <number of PEs> vg00
When you tried a lvcreate -L 100G, btw... you told it to create a 100GB
file system.
>Please offer some advice, wether LVM is just overkill for me and I
>should just use raid0 or linear.
I'm of the opinion that LVM is *NEVER* overkill. If you look at AIX or
HP-UX, they use an LVM for everything.
-Daniel
------------------------------------------
Daniel Whicker (heimdall@mail.org)
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [linux-lvm] Couple of question/confusion
@ 2000-01-31 15:13 Michael Marxmeier
0 siblings, 0 replies; 3+ messages in thread
From: Michael Marxmeier @ 2000-01-31 15:13 UTC (permalink / raw)
To: linux-lvm
Forwarded message ...
-------- Original Message --------
From: "Volker Abele, HP" <Volker_Abele@hp.com>
To: "Scott Walker" <scott@zeroknowledge.com>, <linux-lvm@msede.com>
Subject: RE: [linux-lvm] Couple of question/confusion
Date: Mon, 31 Jan 2000 11:32:09 +0100
Resent-Date: Mon, 31 Jan 2000 16:08:33 MEZ
Message-ID: <001f01bf6bd6$6dd4a8d0$1d7b880f@nsmseva.bbn.hp.com>
Hi,
> -----Original Message-----
> From: owner-linux-lvm@msede.com [mailto:owner-linux-lvm@msede.com]On
> Behalf Of Scott Walker
> Sent: Montag, 31. Januar 2000 03:29
> To: linux-lvm@msede.com
> Subject: [linux-lvm] Couple of question/confusion
>
>
> I started playing with LVM tonight and I am impressed... LVM + resierfs
> is nice! But I have a couple problems.
>
> Let me explain (Please offer advice if you want) I have the following
> setup..
> /dev/hdc1 = 1.2G
> /dev/hdd2 = 7.9G
> /dev/hda3 = 1.2G
> /dev/sda1 = 9.11
>
> I wanted to combine all of the above into 1 *partition* for /home. now
> is LVM something I should be looking into or should I just go to linear
> raid? or raid 0?
>
> Now I create my physical volume, but when I want to create my logical I
> keep recieving this error:
>
> freedom /# lvcreate -L100G freedom
> lvcreate -- only 499 free physical extents in volume group "freedom"
-L100G means 100 Gigabyte, that�s just a little bit to much (I think
you
only
have 1.2 + 7.9 + 1.2 + 9.1 = 19.4 G - if I�m right).
>
> What am I doing wrong?
>
> Please offer some advice, wether LVM is just overkill for me and I
> should just use raid0 or linear.
>
>
> --
> Scott Walker Zero Knowledge Systems Inc.
> scott@zeroknowledge.com
http://www.zeroknowledge.com
There are three kinds of people: Those who can count & those who
can't.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2000-01-31 15:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-31 15:13 [linux-lvm] Couple of question/confusion Michael Marxmeier
-- strict thread matches above, loose matches on Subject: below --
2000-01-31 2:28 Scott Walker
2000-01-31 3:14 ` Daniel Whicker
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.