Re: [CentOS] increase harddisk diskspace Failed to suspend LogVol00

2011-06-07 Thread Peter Kjellström
On Thursday, June 02, 2011 08:34:26 PM Drew wrote:
 Have you also unmounted the filesystem on LogVol00?

There is no need to unmount the filesystem when increasing the size of the 
underlying lv. In fact you can even grow the filesystem inside the lv 
afterwards without unmounting it (resize2fs).

/Peter


signature.asc
Description: This is a digitally signed message part.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] increase harddisk diskspace Failed to suspend LogVol00

2011-06-02 Thread Manu
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


Re: [CentOS] increase harddisk diskspace Failed to suspend LogVol00

2011-06-02 Thread Corey A Johnson



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.


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] increase harddisk diskspace Failed to suspend LogVol00

2011-06-02 Thread Drew
Have you also unmounted the filesystem on LogVol00?


-- 
Drew

Nothing in life is to be feared. It is only to be understood.
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] increase harddisk diskspace Failed to suspend LogVol00

2011-06-02 Thread Les Mikesell
On 6/2/2011 1:34 PM, Drew wrote:
 Have you also unmounted the filesystem on LogVol00?


Isn't that going to be / on a typical install?

-- 
   Les Mikesell
lesmikes...@gmail.com



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos