Operating System - HP-UX
1748282 Members
4009 Online
108761 Solutions
New Discussion юеВ

Re: Error to extend a vxfs file system

 
SOLVED
Go to solution
Manuel Plaza
Regular Advisor

Error to extend a vxfs file system

Hi,
When I try to extend a vxfs file system with the command:

fsadm -F vxfs -b 364544 /var

it give me the following error:

fsadm: /dev/vg00/rlvol8 is currently 307200 sectors - size will be increased
fsadm: attempt to resize /dev/vg00/rlvol8 failed with errno 251

Could you help me ?

Regards,
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: Error to extend a vxfs file system

Manuel:

Error 251 indicates that you do not have AdvJFS properly installed or configured or that the vxadv (advanced driver for VxFS) is is missing from the kernel.

...JRF...
James R. Ferguson
Acclaimed Contributor

Re: Error to extend a vxfs file system

Manuel:

Error 251 indicates that you do not have AdvJFS properly installed or configured or that the vxadv (advanced driver for VxFS) is is missing from the kernel.

See document #KBRC00002438 for details.

...JRF...
Cheryl Griffin
Honored Contributor

Re: Error to extend a vxfs file system

Check for AdvJFS:
# swlist -l fileset |grep ADV

Furthermore, check that the vxadv driver is enabled in the kernel.

What you may find is that if a critical patch such as PHKL_18543 was installed PRIOR to installing the AdvJFS product, the vxadv driver will be disabled. This is done so that the base AdvJFS product is not used. You must use it with the appropriate patches reinstalled.

Reinstalling the patch PHKL_18543 (s800 11.00) and its dependencies as well as the LVM commands cumulative patch will resolve this issue.
"Downtime is a Crime."
Vincente Fernandes
Valued Contributor

Re: Error to extend a vxfs file system

Run the below command to verify that Online JFS is properly configured.
swlist -l fileset -a state | grep -i vxfs
See also KBRC00000301 article on ITRC with rgds to patches.
Cheryl Griffin
Honored Contributor

Re: Error to extend a vxfs file system

KBRC00000301 is written for an s800 10.20 system. It lists more patches than what is necessary, as it is trying to document every JFS patch.

The most important patches being PHKL_16751 and the LVM commands cumulative patch. (PHKL_16751 will have only 9 dependencies.)
"Downtime is a Crime."
Alan Riggs
Honored Contributor

Re: Error to extend a vxfs file system

I agree that the patch is a good place to look. One other possibility, though. Online JFS will allow you to extend a filesystem online, but it does require some space available in the filesystem to build the extent structures. In other words, if /var is already at %100 you will not be able to extend it even with online JFS until you first clear a little bit of room.
James Odak
Valued Contributor
Solution

Re: Error to extend a vxfs file system

Well if you do not have JSF purchased for your system
you can always unmount the FS and run the extendfs command

i assume you already did the lvextend
next just unmount the fs and run
extendfs -F vxfs /dev/vg##/lvol#

JFS is much nicer tho if you have it authorized

Good luck
Jim