From: David W Noon <dwnoon@ntlworld.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] LVM for data drives but not the OS
Date: Fri, 8 Apr 2011 16:15:55 +0100 [thread overview]
Message-ID: <20110408161555.5ba78d34@karnak.local> (raw)
In-Reply-To: <gFkev-8r9-27@gated-at.bofh.it>
[-- Attachment #1: Type: text/plain, Size: 1591 bytes --]
On Fri, 08 Apr 2011 15:50:03 +0200, Dale wrote about Re: [gentoo-user]
LVM for data drives but not the OS:
[snip]
>Ooooh. Still some progress tho. lol So, if I was going to use LVM,
>I create a partition first, either whole drive or part of it then use
>LVM on that?
You use pvcreate to create a physical volume from the partition; this
formats the partition for LVM use, rather than for a filesystem. When
you have enough physical volumes on enough disks -- it's usually one
large PV per disk -- you then use vgcreate to amalgamate those physical
volumes into a volume group. You can then use lvcreate to allocate
logical volumes within that volume group.
After that, you use mkfs to format each logical volume, as if it were a
partition. You can then add them to /etc/fstab and mount them as
needed.
Note that the amalgamation of physical volumes into a volume group
allows you to do some neat things: you can "stripe" a logical volume
across multiple physical volumes to improve its I/O bandwidth; your
volume group is what DASD managers call a "concatenation set", which
means its effective size is the sum of the physical volume sizes, so
you can create a logical volume that is bigger than any of the physical
volumes involved.
But before you do any of that fancy stuff, get used to using LVM2 as a
smarter partition manager.
--
Regards,
Dave [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwnoon@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2011-04-08 15:18 UTC|newest]
Thread overview: 75+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <gEUDo-72k-19@gated-at.bofh.it>
[not found] ` <gEVzt-b2-39@gated-at.bofh.it>
[not found] ` <gEVJ8-ou-21@gated-at.bofh.it>
2011-04-07 12:15 ` [gentoo-user] LVM for data drives but not the OS Gregory Shearman
2011-04-07 12:41 ` Dale
2011-04-07 14:45 ` [gentoo-user] " James
[not found] ` <gF1ES-22O-19@gated-at.bofh.it>
[not found] ` <gF2hz-3ba-17@gated-at.bofh.it>
[not found] ` <gF3nk-50O-23@gated-at.bofh.it>
[not found] ` <gFhqh-3wh-3@gated-at.bofh.it>
[not found] ` <gFicG-4Ul-7@gated-at.bofh.it>
[not found] ` <gFkev-8r9-27@gated-at.bofh.it>
2011-04-08 15:15 ` David W Noon [this message]
2011-04-07 10:22 [gentoo-user] " Dale
2011-04-07 10:49 ` Joost Roeleveld
2011-04-07 11:12 ` Dale
2011-04-07 12:09 ` Joost Roeleveld
2011-04-07 11:19 ` Neil Bothwick
2011-04-07 11:28 ` Dale
2011-04-07 11:39 ` Neil Bothwick
2011-04-07 12:49 ` Dale
2011-04-07 13:03 ` Joost Roeleveld
2011-04-07 13:04 ` Neil Bothwick
2011-04-07 13:21 ` Joost Roeleveld
2011-04-07 13:31 ` Neil Bothwick
2011-04-07 13:41 ` Joost Roeleveld
2011-04-07 13:52 ` Joost Roeleveld
2011-04-07 14:11 ` Dale
2011-04-07 14:41 ` Joost Roeleveld
2011-04-07 13:57 ` Dale
2011-04-07 14:33 ` Joost Roeleveld
2011-04-08 16:25 ` Dale
2011-04-08 16:46 ` Alan McKinnon
2011-04-08 17:39 ` Dale
2011-04-08 18:38 ` Alan McKinnon
2011-04-08 19:05 ` Dale
2011-04-08 21:01 ` Dale
2011-04-08 21:13 ` J. Roeleveld
2011-04-08 21:30 ` Dale
2011-04-09 12:46 ` Joost Roeleveld
2011-04-09 13:00 ` Dale
2011-04-09 13:13 ` Neil Bothwick
2011-04-08 21:23 ` Alan McKinnon
2011-04-08 22:00 ` Neil Bothwick
2011-04-08 23:36 ` Dale
2011-04-09 5:28 ` Dale
2011-04-09 12:51 ` Joost Roeleveld
2011-04-09 13:04 ` Dale
2011-04-09 19:33 ` Joost Roeleveld
2011-04-09 8:52 ` Neil Bothwick
2011-04-09 9:43 ` Peter Humphrey
2011-04-09 10:01 ` Neil Bothwick
2011-04-09 10:41 ` Dale
2011-04-09 10:48 ` Dale
2011-04-09 11:19 ` Alan McKinnon
2011-04-09 11:43 ` Dale
2011-04-09 12:53 ` Joost Roeleveld
2011-04-09 13:33 ` Dale
2011-04-09 16:01 ` Thanasis
2011-04-09 16:22 ` Mark Knecht
2011-04-09 13:11 ` Alan McKinnon
2011-04-09 10:36 ` Dale
2011-04-08 21:57 ` Neil Bothwick
2011-04-07 18:31 ` Peter Humphrey
2011-04-07 13:20 ` BRM
2011-04-07 13:30 ` Joost Roeleveld
2011-04-07 13:52 ` BRM
2011-04-07 14:14 ` Joost Roeleveld
2011-04-07 17:31 ` BRM
2011-04-07 17:50 ` J. Roeleveld
2011-04-07 18:35 ` BRM
2011-04-07 19:38 ` Joost Roeleveld
2011-04-08 10:42 ` Dale
2011-04-08 11:26 ` Neil Bothwick
2011-04-08 13:40 ` Dale
2011-04-08 13:59 ` Alan McKinnon
2011-04-08 14:06 ` Mark Knecht
2011-04-08 14:23 ` Joost Roeleveld
2011-04-08 14:45 ` Dale
2011-04-08 15:13 ` Joost Roeleveld
2011-04-08 15:27 ` Dale
2011-04-08 11:41 ` Joost Roeleveld
2011-04-07 11:29 ` Alex Schuster
2011-04-09 2:58 ` Mark Shields
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=20110408161555.5ba78d34@karnak.local \
--to=dwnoon@ntlworld.com \
--cc=gentoo-user@lists.gentoo.org \
/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