Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] LVM and LABELS in fstab
Date: Thu, 17 Nov 2011 02:54:10
Message-Id: 4EC47700.2060707@gmail.com
1 OK. I jumped into LVM. I took my spare drive, put it to use with LVM.
2 Then copied data from my super large drive to it and backed up some to
3 DVDs that wouldn't fit. Then I put the big drive on LVM and put the
4 stuff back. Now comes the problem. I use LABELS in fstab and would
5 like to continue that. I can't figure out how to get the LABEL set for
6 the LVM file system tho. This is my info:
7
8 root@fireball / # pvdisplay
9 --- Physical volume ---
10 PV Name /dev/sdb1
11 VG Name data
12 PV Size 232.83 GiB / not usable 2.55 MiB
13 Allocatable yes (but full)
14 PE Size 4.00 MiB
15 Total PE 59604
16 Free PE 0
17 Allocated PE 59604
18 PV UUID Nxvrjn-BuaK-RGsF-F32S-0EaI-W4xe-H6Lnjl
19
20 --- Physical volume ---
21 PV Name /dev/sdc1
22 VG Name data
23 PV Size 698.64 GiB / not usable 4.84 MiB
24 Allocatable yes
25 PE Size 4.00 MiB
26 Total PE 178850
27 Free PE 118
28 Allocated PE 178732
29 PV UUID NF6I4G-L1L5-0VDE-HyUc-ESH3-CfV3-eUo676
30
31 root@fireball / # vgdisplay
32 --- Volume group ---
33 VG Name data
34 System ID
35 Format lvm2
36 Metadata Areas 2
37 Metadata Sequence No 4
38 VG Access read/write
39 VG Status resizable
40 MAX LV 0
41 Cur LV 1
42 Open LV 1
43 Max PV 0
44 Cur PV 2
45 Act PV 2
46 VG Size 931.46 GiB
47 PE Size 4.00 MiB
48 Total PE 238454
49 Alloc PE / Size 238336 / 931.00 GiB
50 Free PE / Size 118 / 472.00 MiB
51 VG UUID eNF7B0-3BDb-qe1W-5FTH-4Uah-wRe1-xD7Xa8
52
53 root@fireball / # lvdisplay
54 --- Logical volume ---
55 LV Name /dev/data/data1
56 VG Name data
57 LV UUID ZvsgH6-PI0M-NqVd-op9P-Crsy-IEnz-iKoTfp
58 LV Write Access read/write
59 LV Status available
60 # open 1
61 LV Size 931.00 GiB
62 Current LE 238336
63 Segments 2
64 Allocation inherit
65 Read ahead sectors auto
66 - currently set to 256
67 Block device 254:0
68
69 root@fireball / #
70
71
72 I tried e2label since it has ext4 for the file system. It didn't work
73 and I don't know for sure what to point it to for the device. I can't
74 point to the drive itself since there are now two in the setup.
75
76 What am I missing here? It's simple I'm sure but I'm missing it.
77
78 Dale
79
80 :-) :-)
81
82 P. S. hey, I got it all created, copied and all so it was a start. lol
83
84 --
85 I am only responsible for what I said ... Not for what you understood or how you interpreted my words!

Replies

Subject Author
Re: [gentoo-user] LVM and LABELS in fstab Manuel McLure <manuel@××××××.org>
Re: [gentoo-user] LVM and LABELS in fstab Dale <rdalek1967@×××××.com>