Operating System - HP-UX
1833013 Members
2935 Online
110048 Solutions
New Discussion

fsadm extending filesystem

 
SOLVED
Go to solution
Carl Munnelly
Frequent Advisor

fsadm extending filesystem

I have a filesystem with PE Size (32M).

I increased size to 100M actually extended to 128M to match PE size.
lvcreate -L 100 /dev/vg00/lvol21

I am now trying to extend file system using fsadm but having trouble.

used
fsadm -F vxfs -b 131072 /appl/uas (mountpoint)

This reports
fsadm -F vxfs -b 131072 /appl/uas
fsadm: /dev/vg00/rlvol21 is currently 32768 sectors - size will be increased
fsadm: attempt to resize /dev/vg00/rlvol21 failed with errno 28
7 REPLIES 7
Patrick Wallek
Honored Contributor
Solution

Re: fsadm extending filesystem

You can get this message if you are trying to extend a filesystem that is 100% full. If that is the case, you must get the usage % below 100, to 98 or 99, and then try your fsadm command again.
A. Clay Stephenson
Acclaimed Contributor

Re: fsadm extending filesystem

I know you said you increased to 128MB but did you explicitly do an
lvextend -L 128 /dev/vg00/lvol21
before the fsadm. Your -b 131072 is consistant with a 128MB LVOL.


If it ain't broke, I can fix that.
Carl Munnelly
Frequent Advisor

Re: fsadm extending filesystem

Yes, I'd forgotten about checking space in file system. That worked a treat. Moral of the story check space usage before starting.
cheers
Michael Tully
Honored Contributor

Re: fsadm extending filesystem

Sounds to me as if your existing filesystem mount point is full, before trying to extend it. The error message you have (errno 28) indicates that there is no space left on device. You will have to reduce the size temporarily whilst you extend it.
Anyone for a Mutiny ?
Sridhar Bhaskarla
Honored Contributor

Re: fsadm extending filesystem

Hi,

As said, if the filesystem is already at 100%, fsadm will fail. Reduce it to free up atleast 5%.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
David Burgess
Esteemed Contributor

Re: fsadm extending filesystem

Did your lvextend command work ok?

Did you run :-

lvextend -L 128 /dev/vg00/lvol21

From your post it looks like you ran lvcreate not lvextend.

fsadm command looks ok.

Regards,

Dave.
Michael Schulte zur Sur
Honored Contributor

Re: fsadm extending filesystem

Hi,
#define ENOSPC 28 /* No space left on device */

What size is that unit sector? Is that 512byte or a physical extent?

Michael