public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joost Roeleveld <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] LVM for data drives but not the OS
Date: Sat, 09 Apr 2011 14:46:55 +0200	[thread overview]
Message-ID: <20110409124703.03DC738DC@data.antarean.org> (raw)
In-Reply-To: <4D9F7E5B.3000508@gmail.com>

On Friday 08 April 2011 16:30:03 Dale wrote:
> J. Roeleveld wrote:
> > On Fri, April 8, 2011 11:01 pm, Dale wrote:
> >> root@fireball / #
> >> 
> >> I'm still trying to figure out how the naming part works tho.  Now to
> >> mount it and put something on it.  See if it works.
> > 
> > Naming part, there are 2 ways of finding it.
> > 1: /dev/<VolumeGroupName>/<LogicalVolumeName>
> > 2: /dev/mapper/<VolumeGroupName>-<LogicalVolumeName>
> > 
> > You included a "-" in your VG-name, this is replaced with "--" under
> > /dev/mapper/
> > 
> >> Let me know if something doesn't look right.  Otherwise, I'll keep
> >> playing around with it.
> > 
> > Looks fine so far, don't forget to put a filesystem on
> > "/dev/sdb-vg/test"
> > to be able to mount it somewhere :)
> > 
> > --
> > Joost
> 
> The naming I was talking about was sort of like a label.  I wanted to
> use test, where I might use say data in real use, but ended up with this:
> 
> root@fireball / # df
> Filesystem           1K-blocks      Used Available Use% Mounted on
> << SNIP >>
> /dev/mapper/sdb--vg-test
>                        51606140    184268  48800432   1% /mnt/temp
> root@fireball / #
> 
> I don't mind the sdb--vg part tho.  I guess that sort of points to what
> all is needed to get to that point.  Might come in handy if I needed to
> remove something tho.  Sort of tells me what is what.

True :)
I tend to start my VGs with "vg_<something>". That way I know what they're 
for.
Also, it's a good idea to not name them "vg" as then you can get naming 
conflicts if you ever put the drive into another machine that also has a VG 
called that.

As example for the way I name them:
vg_<hostname>.
On my server, I actually have 2 Volume Groups. One for the OS-parts (including 
VMs) and the other for the data.

> I did try to mount it before putting a file system on it.  I sort of
> missed that part somewhere.  I knew it needed it, just forgot to do it.
> Mount sort of puked on my keyboard to remind me.  lol

Hehe :)
I forget as well sometimes.

> Whew !!  Progress.  Oh, someone posted a link to a site that had
> pictures.  That helped a good bit.  It needed more detail tho.  I'm
> going to do some google image searches and see what I can find.

I think I posted more then 1 link, actually :)

> Thanks much.

You're welcome

--
Joost



  reply	other threads:[~2011-04-09 12:48 UTC|newest]

Thread overview: 74+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 10:22 [gentoo-user] LVM for data drives but not the OS 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 [this message]
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
     [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     ` Gregory Shearman
2011-04-07 12:41       ` Dale
     [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

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=20110409124703.03DC738DC@data.antarean.org \
    --to=joost@antarean.org \
    --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