Hi,
I want to increase my harddisk space and receive the following error
# lvextend -l +323 /dev/VolGroup00/LogVol00
Extending logical volume LogVol00 to 48.97 GB
device-mapper: reload ioctl failed: Invalid argument
Failed to suspend LogVol00
Can you help me please?
# fdisk -l
Disk /dev/hda: 54.7 GB, 54759997440 bytes
255 heads, 63 sectors/track, 6657 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14522141833260 8e Linux LVM
#pvdisplay
--- Physical volume ---
PV Name /dev/hda2
VG Name VolGroup00
PV Size 50.00 GB / not usable 31.81 MB
Allocatable yes
PE Size (KByte) 32768
Total PE 1599
Free PE 323
Allocated PE 1276
PV UUID OcT323-L3sk-r2dX-2qlC-lNuL-slEj-gJF0Ql
# vgdisplay
--- Volume group ---
VG Name VolGroup00
System ID
Formatlvm2
Metadata Areas1
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV0
Cur LV2
Open LV 2
Max PV0
Cur PV1
Act PV1
VG Size 49.97 GB
PE Size 32.00 MB
Total PE 1599
Alloc PE / Size 1276 / 39.88 GB
Free PE / Size 323 / 10.09 GB
VG UUID AeMGtt-Ieic-q0JQ-91LC-38Am-HCD5-sO4tle
# lvdisplay
--- Logical volume ---
LV Name/dev/VolGroup00/LogVol00
VG NameVolGroup00
LV UUIDFC0PHC-NNNS-ZRTB-HVCx-gGKg-f3vk-5qzbn1
LV Write Accessread/write
LV Status available
# open 1
LV Size38.88 GB
Current LE 1244
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
--- Logical volume ---
LV Name/dev/VolGroup00/LogVol01
VG NameVolGroup00
LV UUIDcnhEpj-deSS-3nPr-lVfE-mzZ4-4dLH-tTqzQR
LV Write Accessread/write
LV Status available
# open 1
LV Size1.00 GB
Current LE 32
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:1
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos