1 |
On Friday 08 April 2011 16:30:03 Dale wrote: |
2 |
> J. Roeleveld wrote: |
3 |
> > On Fri, April 8, 2011 11:01 pm, Dale wrote: |
4 |
> >> root@fireball / # |
5 |
> >> |
6 |
> >> I'm still trying to figure out how the naming part works tho. Now to |
7 |
> >> mount it and put something on it. See if it works. |
8 |
> > |
9 |
> > Naming part, there are 2 ways of finding it. |
10 |
> > 1: /dev/<VolumeGroupName>/<LogicalVolumeName> |
11 |
> > 2: /dev/mapper/<VolumeGroupName>-<LogicalVolumeName> |
12 |
> > |
13 |
> > You included a "-" in your VG-name, this is replaced with "--" under |
14 |
> > /dev/mapper/ |
15 |
> > |
16 |
> >> Let me know if something doesn't look right. Otherwise, I'll keep |
17 |
> >> playing around with it. |
18 |
> > |
19 |
> > Looks fine so far, don't forget to put a filesystem on |
20 |
> > "/dev/sdb-vg/test" |
21 |
> > to be able to mount it somewhere :) |
22 |
> > |
23 |
> > -- |
24 |
> > Joost |
25 |
> |
26 |
> The naming I was talking about was sort of like a label. I wanted to |
27 |
> use test, where I might use say data in real use, but ended up with this: |
28 |
> |
29 |
> root@fireball / # df |
30 |
> Filesystem 1K-blocks Used Available Use% Mounted on |
31 |
> << SNIP >> |
32 |
> /dev/mapper/sdb--vg-test |
33 |
> 51606140 184268 48800432 1% /mnt/temp |
34 |
> root@fireball / # |
35 |
> |
36 |
> I don't mind the sdb--vg part tho. I guess that sort of points to what |
37 |
> all is needed to get to that point. Might come in handy if I needed to |
38 |
> remove something tho. Sort of tells me what is what. |
39 |
|
40 |
True :) |
41 |
I tend to start my VGs with "vg_<something>". That way I know what they're |
42 |
for. |
43 |
Also, it's a good idea to not name them "vg" as then you can get naming |
44 |
conflicts if you ever put the drive into another machine that also has a VG |
45 |
called that. |
46 |
|
47 |
As example for the way I name them: |
48 |
vg_<hostname>. |
49 |
On my server, I actually have 2 Volume Groups. One for the OS-parts (including |
50 |
VMs) and the other for the data. |
51 |
|
52 |
> I did try to mount it before putting a file system on it. I sort of |
53 |
> missed that part somewhere. I knew it needed it, just forgot to do it. |
54 |
> Mount sort of puked on my keyboard to remind me. lol |
55 |
|
56 |
Hehe :) |
57 |
I forget as well sometimes. |
58 |
|
59 |
> Whew !! Progress. Oh, someone posted a link to a site that had |
60 |
> pictures. That helped a good bit. It needed more detail tho. I'm |
61 |
> going to do some google image searches and see what I can find. |
62 |
|
63 |
I think I posted more then 1 link, actually :) |
64 |
|
65 |
> Thanks much. |
66 |
|
67 |
You're welcome |
68 |
|
69 |
-- |
70 |
Joost |