* [gentoo-user] LVM and LABELS in fstab
@ 2011-11-17 2:52 99% Dale
0 siblings, 0 replies; 1+ results
From: Dale @ 2011-11-17 2:52 UTC (permalink / raw
To: gentoo-user
OK. I jumped into LVM. I took my spare drive, put it to use with LVM.
Then copied data from my super large drive to it and backed up some to
DVDs that wouldn't fit. Then I put the big drive on LVM and put the
stuff back. Now comes the problem. I use LABELS in fstab and would
like to continue that. I can't figure out how to get the LABEL set for
the LVM file system tho. This is my info:
root@fireball / # pvdisplay
--- Physical volume ---
PV Name /dev/sdb1
VG Name data
PV Size 232.83 GiB / not usable 2.55 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 59604
Free PE 0
Allocated PE 59604
PV UUID Nxvrjn-BuaK-RGsF-F32S-0EaI-W4xe-H6Lnjl
--- Physical volume ---
PV Name /dev/sdc1
VG Name data
PV Size 698.64 GiB / not usable 4.84 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 178850
Free PE 118
Allocated PE 178732
PV UUID NF6I4G-L1L5-0VDE-HyUc-ESH3-CfV3-eUo676
root@fireball / # vgdisplay
--- Volume group ---
VG Name data
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 1
Max PV 0
Cur PV 2
Act PV 2
VG Size 931.46 GiB
PE Size 4.00 MiB
Total PE 238454
Alloc PE / Size 238336 / 931.00 GiB
Free PE / Size 118 / 472.00 MiB
VG UUID eNF7B0-3BDb-qe1W-5FTH-4Uah-wRe1-xD7Xa8
root@fireball / # lvdisplay
--- Logical volume ---
LV Name /dev/data/data1
VG Name data
LV UUID ZvsgH6-PI0M-NqVd-op9P-Crsy-IEnz-iKoTfp
LV Write Access read/write
LV Status available
# open 1
LV Size 931.00 GiB
Current LE 238336
Segments 2
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 254:0
root@fireball / #
I tried e2label since it has ext4 for the file system. It didn't work
and I don't know for sure what to point it to for the device. I can't
point to the drive itself since there are now two in the setup.
What am I missing here? It's simple I'm sure but I'm missing it.
Dale
:-) :-)
P. S. hey, I got it all created, copied and all so it was a start. lol
--
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-11-17 2:52 99% [gentoo-user] LVM and LABELS in fstab Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox