Linux LVM users
 help / color / mirror / Atom feed
From: Daniel Whicker <heimdall@mail.org>
To: Scott Walker <scott@zeroknowledge.com>, linux-lvm@msede.com
Subject: Re: [linux-lvm] Couple of question/confusion
Date: Sun, 30 Jan 2000 21:14:32 -0600	[thread overview]
Message-ID: <4.2.2.20000130210903.00a6bc30@pop-server.austin.rr.com> (raw)
In-Reply-To: <20000130212856.A10006@paranoid.zks.net>


>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)

  reply	other threads:[~2000-01-31  3:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-31  2:28 [linux-lvm] Couple of question/confusion Scott Walker
2000-01-31  3:14 ` Daniel Whicker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-01-31 15:13 Michael Marxmeier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4.2.2.20000130210903.00a6bc30@pop-server.austin.rr.com \
    --to=heimdall@mail.org \
    --cc=linux-lvm@msede.com \
    --cc=scott@zeroknowledge.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox