Activate lvm linux
Activate lvm command on Linux
[root@jupiter ~]# vgchange -a y
2 logical volume(s) in volume group “VolGroup00″ now active
[root@jupiter ~]# mkdir /old
[root@jupiter ~]# vgscan
Reading all physical volumes. This may take a while…
Found volume group “VolGroup00″ using metadata type lvm2
[root@jupiter ~]# lvscan
ACTIVE ‘/dev/VolGroup00/LogVol00′ [36.19 GB] inherit
ACTIVE ‘/dev/VolGroup00/LogVol01′ [960.00 MB] inherit
[root@fast /]# lvdisplay
— Logical volume —
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID K2MUUW-1DPF-KOlC-4cJ3-n89Z-x7gC-z50IQk
LV Write Access read/write
LV Status available
# open 1
LV Size 36.19 GB
Current LE 1158
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
— Logical volume —
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID pLApht-HQzd-AkP5-3Iao-fju7-hEs2-xWgY13
LV Write Access read/write
LV Status available
# open 0
LV Size 960.00 MB
Current LE 30
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
[root@jupiter ~]# mount /dev/VolGroup00/LogVol00 /old
Category: Linux Administration
