Operating System - HP-UX
1752811 Members
6271 Online
108789 Solutions
New Discussion юеВ

fsadm error 251 - any ideas?

 
RAKESH_12
Occasional Advisor

fsadm error 251 - any ideas?

Hi,
I have been trying to extend a filesystem using fsadm on HPUX 10.20 - but im getting the following error :

# fsadm -F vxfs -b 252M /var
fsadm: /dev/vg00/rlvol8 is currently 225280 sectors - size will be increased
fsadm: attempt to resize /dev/vg00/rlvol8 failed with errno 251
#

I am unable to unmount the filesystem as it is /var.

I also get the same error when in single user mode.

I would appreciate your help with this error.
Thanks in advance.

R.
8 REPLIES 8
Frederic Sevestre
Honored Contributor

Re: fsadm error 251 - any ideas?

Hi,

Error 251 seems to be "Function not implemented ".

Did you try the comand :
# fsadm -F vxfs -b 258048 /var.

Did you first extend the lv ?
# lvextend -L 252 /dev/vg08/lvol8

Fr??d??ric
Crime doesn't pay...does that mean that my job is a crime ?
Steve Steel
Honored Contributor

Re: fsadm error 251 - any ideas?

Hi

grep 251 /usr/include/sys/errno.h

#define ENOSYS 251 /* Function not implemented */

You are probably missing a driver or part of the Advanced Journal FIlesystem

Check it with swlist to see that it is configured and the version matches.

Check for


/usr/lbin/sysadm/get_sysfile /stand/vmunix |grep vx
vxadv

vxbase
If either is missing then remake kernel with driver in


steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Holger Knoppik
Valued Contributor

Re: fsadm error 251 - any ideas?

Hi RAKESH,

little checklist to trace the problem:

- The lvextend command before worked ?
- Does fsadm -F vxfs -b $((252 * 1024)) /var work ?

HTH
RGDS, Holger
Live long and prosper!
Shahul
Esteemed Contributor

Re: fsadm error 251 - any ideas?

Hi

Did U use lvextend command before?

Follow this

I hope U have online JFS installed in ur BOX.. If not online alteration will not do

#lvextend -L /dev/vgxx/lvolx

#fsadm -F vxfs -b m /var

Any error? If still problem, Go to single user mode and use extendfs command to extend filesystem.

Thanks
Shahul
Phillip Renner
Advisor

Re: fsadm error 251 - any ideas?

Hi there,
If the file system is at 100% fsadm will not work. You have to get it down to 99 or 98%. This might be your problem.

Phil
James R. Ferguson
Acclaimed Contributor

Re: fsadm error 251 - any ideas?

Hi:

Either you do not have OnlineJFS or it is not installed properly.

On 10.20:

# swlist|grep -i OnlineJFS

...should return:

B3928AA_APZ B.10.20 HP OnLineJFS (Advanced VxFS)

...and:

# grep -i vxadv /stand/system

...should return:

vxadv

...and:

# swlist -a state fileset AdvJournalFS

...should show all filesets "configured".

Regards!

...JRF...
Sanjay_6
Honored Contributor

Re: fsadm error 251 - any ideas?

Hanry Zhou
Super Advisor

Re: fsadm error 251 - any ideas?

James,

I'm missing vxadv in /stand/system file, how do I install it?

Please advice.

Thanks,
none