Operating System - HP-UX
1834430 Members
2286 Online
110067 Solutions
New Discussion

Problem to increase the size of file system

 
SOLVED
Go to solution
Marcelo De Florio
Frequent Advisor

Problem to increase the size of file system

I have a prblem to increase the file system.

fsadm -F vxfs -b 1048576 /desa_data01

fsadm: /dev/vgdesadb/rlvdesa_data01 is currently 819200 sectors - size will be i
ncreased
fsadm: attempt to resize /dev/vgdesadb/rlvdesa_data01 failed with errno 28

Any ideas.

MDF
5 REPLIES 5
John Bolene
Honored Contributor

Re: Problem to increase the size of file system

The file system is probably in use by a process. The file system must be able to be unmounted, expanded, and then remounted.
You may have to do this in single user mode if you can't get exclusive access to the file system.

I have always used SAM for this job as it is a bit more user friendly in this area.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
James R. Ferguson
Acclaimed Contributor

Re: Problem to increase the size of file system

Hi Marcelo:

If your filesystem is virtually full when you attempt a resize you can get this error. If this is the case, move some files to another filesystem, temporarily, and try the resize again. When done, move back the files you shifted out in the first place.

...JRF...
Rita C Workman
Honored Contributor
Solution

Re: Problem to increase the size of file system

I came across this thread....and ironically it showed the exact same thing. Seems while trying to increase the fs using fsadm it hit the problem because the fs was 100% full. It suggested moving some files to another directory to free up at least 1mb of space...then re-run the fsadm command:

http://us-support2.external.hp.com/cki/bin/doc.pl/sid=782d397819eaf2d1f8/screen=ckiDisplayDocument?docId=200000016120079

Hope it helps,
/rcw
Ovidiu D. Raita
Valued Contributor

Re: Problem to increase the size of file system

Verify if:
1. The file system is not 100 full. If so fsadm fails to increase it.
2. The lv has the size you're planning to extend the fs to. If not increase the lv first.

Regards,
Ovidiu
Simple solutions to complex problems
Wodisch
Honored Contributor

Re: Problem to increase the size of file system

Hello Marcelo,
in my experience you just have to have 1megabyte of
free space in a VxFS/JFS to be able to use "fsadm" to
increase the size of it. Move one file of at least that
size to some other place, increase the LV, increase the
filesystem, and move back that file.
HTH,
Wodisch