1834346 Members
1982 Online
110066 Solutions
New Discussion

Online JFS

 
SOLVED
Go to solution
John Dvorchak
Honored Contributor

Online JFS

I once knew the answer to this but seem to have forgotten. I just installed HPUX11.0 on an old G/H/40 and ran swinstall to get Online JFS Advance loaded. Swlist now shows it loaded but when I try to expand a mounted file system /var it says:

root> fsadm -b 276000 /opt
fsadm: /etc/default/fs is used for determining the file system type
fsadm: the -b option requires "HP OnLineJFS (Advanced Vxfs)"

now here is an output from swlist:

#
# Bundle(s):
#

B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
HPUXEng32RT B.11.00.01 English HP-UX 32-bit Runtime Environment
HWE1100 B.11.00.0203.5 Hardware Enablement Patches for HP-UX 11.00, March 2002
UXCoreMedia B.11.00.02 HP-UX Media Kit (Reference Only. See Description)
UnlimUserLic B.11.00.02 HP-UX Unlimited-User License
XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE)

_______________________________________________

I seem to remember running SAM and enableing something but I sure forgot what.
Thank you
If it has wheels or a skirt, you can't afford it.
9 REPLIES 9
John Dvorchak
Honored Contributor

Re: Online JFS

Sorry about the typo I am expanding /opt not /var although it really makes no difference.
If it has wheels or a skirt, you can't afford it.
erics_1
Honored Contributor
Solution

Re: Online JFS

John,

You may want to go into SAM under the driver section and check for the vxadv driver and make sure that the current state is set to "IN". Otherwise check TKB docs S1100003498 and KBRC00004126. Follow these documents if /sbin/fs/vxfs3.3/vxenablef does not show the product as licensed.

Hope this Helps!
Eric
S.K. Chan
Honored Contributor

Re: Online JFS

There are 2 parts to the error messages ..
1-fsadm: /etc/default/fs is used for determining the file system type
2- fsadm: the -b option requires "HP OnLineJFS(Advanced Vxfs)"

For 1 give the fsadm command an extra option that specify the FS type like so ..
# fsadm -F vxfs -b 276000 /opt
so that it does not depend on what's in /etc/default/fs which sometimes can be set to "hfs".

For 2, Eric has answered it. You can quickly look at /stand/system and see if vxadv driver is in. If not add it to the kernel with SAM.

BTW you did lvextended the LV on /opt, right before you run fsadm ?



erics_1
Honored Contributor

Re: Online JFS

John,

One more thing that may make life a little easier in the future. You can specify a capitol M with that command for Mbytes. For example:

root> fsadm -F vxfs -b 276M /opt

Regards,
Eric
Sanjay_6
Honored Contributor

Re: Online JFS

Hi John,

Try this,

/Quote/

You can test if the license is valid:

vxlicense -p

This should show that the license is valid. Then you can enable fsadm:

/sbin/fs/vxfs/vxenablef -a

If a test of fsadm is successful you can make this change permanent by inserting the following line into /etc/inittab:

vxen::bootwait:/sbin/fs/vxfs/vxenablef -a

/EndQuote/

Also Check out this link,

http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000057441828

Hope this helps.

regds
Wilfred Chau_1
Respected Contributor

Re: Online JFS

Did you lvextend /opt?
John Dvorchak
Honored Contributor

Re: Online JFS

Well they were all good answers but unfortunately not the right ones for this particular problem. And yes I already lvextended the /opt file system.

Sam does not list vxadv as a driver under Kernel Drivers. But /stand/system lists vxadv:
*********************************************
* Drivers/Subsystems
scsi3
target
disc3
scsi1
tape2
lpr2
lanmux0
...skipping...
dev_config
token_arp
vxadv
STRMSGSZ 65535
dump lvol
nstrpty 60
maxswapchunks 268
****************************************

I went through this before and I remember editing a file in /stand/??? and I think rebuilding the kernel.

Does that ring any bells?
If it has wheels or a skirt, you can't afford it.
S.K. Chan
Honored Contributor

Re: Online JFS

This is could be your situation since you mentioned this is a new 11.0 install. It has to do with a specific patch that disables the vxadv driver.. (doc is from Tecnical DB)

DocId: HPUXKBRC00001491
PROBLEM
After patch PHKL_18543 was installed, the vxadv driver was disabled on the system. Why? Patch Name: PHKL_18543 s700_800 11.00 PM/VM/UFS/async/scsi/io/DMAPI/JFS/perf patch

RESOLUTION
The following was logged to the /var/adm/sw/swagent.log:

* Installing fileset "PHKL_18543.VXFS- PRG,r=1.0" (116 of 642).
NOTE: "AdvJournalFS" product is now disabled. Any vxadv driver in the
system file will be ignored. If you install the 11.00 version
of "AdvJournalFS", you must again install this patch, PHKL_18543.
(The reinstall* options must be set to false - the default.)

After this happens, fsadm does not function!


Installing the patches will disable the kernel driver if the Advanced JFS software product is not installed. The Advanced JFS product that is found on the software media is a base-line version. HP recommends that after installing the product, the critical JFS patches be installed.

The patch was designed to disable the driver to prevent potential problems in running the Advanced JFS product in an unpatched state. Running the Advanced JFS product, unpatched can potentially cause unnecessary file corruption, unexplained errors and unnecessary down time.

The driver will not be disabled on any system that has the Advanced JFS product installed.
John Dvorchak
Honored Contributor

Re: Online JFS

Ok guys eric and S.K. Chan had the complete answer. Since it was a raw install the install routine installed the patch PHKL_18543 and I had to reinstall the patch. That did the trick. Thank you
If it has wheels or a skirt, you can't afford it.