Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fsadm error

Status
Not open for further replies.

soma1958

Programmer
Oct 10, 2002
32
0
0
AE
Fsadm command is giving error no 251 when i tried to extend a online JFS file system.

The current filesystem size is 19918848 with no large file system option.

The command i submited :fsadm -F vxfs -b 20533248 /spdevc

:attempt to resize /dev/vg01/rlvol1 failed with error no 251

Can any one help ? Urgent
 
Since this is urgent, I'll throw out a couple of things you might want to consider:

Is there enough disk space for the extension?

How much room is in the filesystem now? The man page for fsadm_vxfs says:

Increasing the size of a file system requires that the file system contains enough free space, prior to the expansion, for the growth of the structural files. In the case where a filesystem has no free blocks available, the attempt to increase the size of the file system will fail (see the extendfs(1M) manual page for an alternate method to increase file system size).

I hope this helps.
 
This answer is extracted from HP web site



Running the following command after having run lvextend:

fsadm -b 262144 /opt

produces the following error message:

"/dev/vg00/rlvol5 is currently XXXXX sectors, size will be increased."
"Attempt to resize /dev/vg00/rlvol5 failed with errno 251."

Why?
CONFIGURATION
HP/UX 10.20
RESOLUTION
Note: errno 251 means "Function not implemented"
errno 251 indicated that the AdvJFS is not properly
installed/configured or the vxadv (advanced driver for VxFS)
is missing from the kernel.

1- Run the following command and make sure the filesets are configured:
swlist -a state -a revision -l fileset AdvJournalFS

The following two filesets should show up as "configured"
and the revision should match that of the OS revision you are running.
The output should look something like this:

AdvJournalFS.VXFS-ADV-KRN B.10.20 configured
AdvJournalFS.VXFS-ADV-RUN B.10.20 configured

1A- If these filesets do not show up, please install the
Online JFS product.

1B- If they show up as "installed" instead of "configured", run
the following command:

swconfig -v AdvJournalFS


2- Start SAM, go into the "Kernel Configuration" area and then
to the "Drivers" area. Make sure the "Current State" is "In"
for the vxadv and vxbase drivers.

vxadv <-------- advanced driver for VxFS
vxbase <-------- base driver for VxFS (not part of Advanced JFS)

2A- If it is not, highlight it, go to the &quot;Actions&quot; menu and click
on &quot;Add driver to kernel&quot;. The &quot;Pending State&quot; should now change
to &quot;In&quot;.

2B- Go to the &quot;Actions&quot; menu again and click on &quot;Create a new kernel&quot;
This can take a few minutes.

2C- Now, when the system prompts you, click on:
&quot;Move kernel into place and reboot system now&quot;
&quot;Overwrite /stand/system&quot;
&quot;OK&quot;


Note: The new vmunix and system files will now be moved into /stand
and the system will be rebooted.
Please run this procedure only if you are ready to reboot
your system.
 
Thanks UnixQeen and bi too

I will work on that and give feed back.Swlist command shows that the ADvJfs is not installed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top