Manu
2011-Jun-02 17:13 UTC
[CentOS] increase harddisk diskspace Failed to suspend LogVol00
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 14 5221 41833260 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 Format lvm2 Metadata Areas 1 Metadata Sequence No 8 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 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 Name VolGroup00 LV UUID FC0PHC-NNNS-ZRTB-HVCx-gGKg-f3vk-5qzbn1 LV Write Access read/write LV Status available # open 1 LV Size 38.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 Name VolGroup00 LV UUID cnhEpj-deSS-3nPr-lVfE-mzZ4-4dLH-tTqzQR 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 auto - currently set to 256 Block device 253:1 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110602/66aba987/attachment-0003.html>
Corey A Johnson
2011-Jun-02 17:19 UTC
[CentOS] increase harddisk diskspace Failed to suspend LogVol00
On 6/2/2011 1:13 PM, Manu wrote:> > 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 > >Try: lvextend -L +10G /dev/VolGroup00/LogVol00 upper case L Looks like you have 10.09GB free. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20110602/5c949fb1/attachment-0003.html>