当前位置: 技术问答>linux和unix
LINUX LVM分区问题
来源: 互联网 发布时间:2016-01-23
本文导语: 大家好! 那位大虾帮我解决一个问题, hdc2(hdc2有30G)被挂载到了VolGroup00卷组,PV有30G的空间,实际只用20G,还有10G是空闲的,我怎么样才能把这10分出来呢! 用命令行查看如下: [root@tuxiaoming ~]# pvdisplay -...
大家好!
那位大虾帮我解决一个问题,
hdc2(hdc2有30G)被挂载到了VolGroup00卷组,PV有30G的空间,实际只用20G,还有10G是空闲的,我怎么样才能把这10分出来呢!
用命令行查看如下:
[root@tuxiaoming ~]# pvdisplay
--- Physical volume ---
PV Name /dev/hdc2
VG Name VolGroup00
PV Size 29.30 GB / not usable 9.74 GB
Allocatable yes
PE Size (KByte) 32768
Total PE 626
Free PE 1
Allocated PE 625
PV UUID 34NdF7-ZRbi-1pzF-6j4Y-0BC5-0CV2-x0BFDh
[root@tuxiaoming ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID FPxZuT-7sDj-XAyf-00kX-Js12-ud71-MiDrs2
LV Write Access read/write
LV Status available
# open 1
LV Size 18.53 GB
Current LE 593
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 9vRhxP-IwCr-wmaj-x0CS-0U4d-YLcs-LLXdBx
LV Write Access read/write
LV Status available
# open 1
LV Size 1.00 GB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
那位大虾帮我解决一个问题,
hdc2(hdc2有30G)被挂载到了VolGroup00卷组,PV有30G的空间,实际只用20G,还有10G是空闲的,我怎么样才能把这10分出来呢!
用命令行查看如下:
[root@tuxiaoming ~]# pvdisplay
--- Physical volume ---
PV Name /dev/hdc2
VG Name VolGroup00
PV Size 29.30 GB / not usable 9.74 GB
Allocatable yes
PE Size (KByte) 32768
Total PE 626
Free PE 1
Allocated PE 625
PV UUID 34NdF7-ZRbi-1pzF-6j4Y-0BC5-0CV2-x0BFDh
[root@tuxiaoming ~]# lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID FPxZuT-7sDj-XAyf-00kX-Js12-ud71-MiDrs2
LV Write Access read/write
LV Status available
# open 1
LV Size 18.53 GB
Current LE 593
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID 9vRhxP-IwCr-wmaj-x0CS-0U4d-YLcs-LLXdBx
LV Write Access read/write
LV Status available
# open 1
LV Size 1.00 GB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
|
请将vgdisplay的资料传上来我帮你看一下