System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

resize2fs: No space left on device While trying to add group #4

Makesh Annamalai
Frequent Advisor

resize2fs: No space left on device While trying to add group #4

Hi All,
I'm tyring to extend the Volume in Redhat 5.1.(ie)Logical volume of /var. It throws the error. But i was able to extend all other volemes. Ext2online is also not available in this version. Please see the error & do the neeful at the earliest !. Points will be awarded immed !.

Step 1: -
# lvextend -L 7G /dev/VolGroup00/LogVol02
Extending logical volume LogVol02 to 7.00 GB
Logical volume LogVol02 successfully resized

Step 2:-
# resize2fs /dev/VolGroup00/LogVol02
resize2fs 1.39 (29-May-2006)
Filesystem at /dev/VolGroup00/LogVol02 is mounted on /var; on-line resizing required
Performing an on-line resize of /dev/VolGroup00/LogVol02 to 1835008 (4k) blocks.
resize2fs: No space left on device While trying to add group #4

Step 3 :-

Lvdisplay
--- Logical volume ---
LV Name /dev/VolGroup00/LogVol02
VG Name VolGroup00
LV UUID z29cYJ-xN1f-rkdd-Cl5G-BpAE-EK8j-Z9HB0h
LV Write Access read/write
LV Status available
# open 1
LV Size 7.00 GB
Current LE 224
Segments 2
Allocation inherit
Read ahead sectors 0
Block device 253:3

Lvdisplay is showing 7GB but the resize is not working.
5 REPLIES
Stuart Browne
Honored Contributor

Re: resize2fs: No space left on device While trying to add group #4

How big was /dev/VolGroup00/LogVol02 before you resized it to 7GB?
One long-haired git at your service...
Stuart Browne
Honored Contributor

Re: resize2fs: No space left on device While trying to add group #4

How big was /dev/VolGroup00/LogVol02 before you resized it to 7GB?

http://www.mail-archive.com/linux-ext4@vger.kernel.org/msg02648.html

That URL might also be of use to you.
One long-haired git at your service...
Makesh Annamalai
Frequent Advisor

Re: resize2fs: No space left on device While trying to add group #4

It was 402Mb before.
Ivan Ferreira
Honored Contributor

Re: resize2fs: No space left on device While trying to add group #4

Please see a description of the problem and a possible solution here:

http://www.mail-archive.com/linux-ext4@vger.kernel.org/msg02641.html
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skt_skt
Honored Contributor

Re: resize2fs: No space left on device While trying to add group #4

is the FS 100% full now/

In HP-UX online increase(fsadm ) wont work if no free space left.. Not sure if you met some thing like that..