[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Question about LVM




HI! Heinz Manelshagen

I am hongseok Lee.
I am a student working on sungkyunkwan Univ. in korea.
I tried to construct Logical Volume Management (LVM) in my PC,
 but I don't know how I can't do anymore.

First I pactched Linux-version 2.4.0 and uploaded LVM 0.9.1-Beta5.
It is successfully.
So I maked 3 Physical volume. (/dev/hdb1, /dev/hdb2, /dev/hdb3)
And I tried to make VG, But it is not available.
I think PV's state are inactive is primary problem.
Therfore I can't do any progress.
How can I change this PV state is active and VG state is available?
Plz, check next text result and give me some advice.
I red LVM HOWTO. But there is no describe this problem.

- RESULT

pvscan.txt
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdb1" of VG "group1" [3.84 GB / 3.84 GB free]
pvscan -- inactive PV "/dev/hdb2" of VG "group1" [3.84 GB / 3.84 GB free]
pvscan -- inactive PV "/dev/hdb3" of VG "group1" [5.03 GB / 5.03 GB free]
pvscan -- total: 3 [12.72 GB] / in use: 3 [12.72 GB] / in no VG: 0 [0]


pvdisplay_hdb1.txt
--- Physical volume ---
PV Name /dev/hdb1
VG Name group1
PV Size 3.85 GB / NOT usable 1.47 MB [LVM: 124 KB]
PV# 1
PV Status NOT available
Allocatable yes
Cur LV 0
PE Size (KByte) 4096
Total PE 984
Free PE 984
Allocated PE 0
PV UUID FSebAC-CooV-3wl2-bAcm-k17y-vUFD-zbByTu


vgscan.txt
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found inactive volume group "group1"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group


vgdisplay.txt
--- Volume group ---
VG Name group1
VG Access read/write
VG Status NOT available/resizable
VG # 0
MAX LV 256
Cur LV 0
Open LV 0
MAX LV Size 255.99 GB
Max PV 256
Cur PV 3
Act PV 3
VG Size 12.72 GB
PE Size 4 MB
Total PE 3256
Alloc PE / Size 0 / 0
Free PE / Size 3256 / 12.72 GB
VG UUID 3i0sjU-p0iT-azB5-FKeI-lNss-AB6G-uDmolp








Your life on the net

DreamWiz Free Mail @ http://www.dreamwiz.com/
DreamSearch Click the world!!!  http://search.dreamwiz.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]