Operating System - HP-UX
1832757 Members
3077 Online
110045 Solutions
New Discussion

Re: fstyp command dumps a core

 
SOLVED
Go to solution
Jdamian
Respected Contributor

fstyp command dumps a core

I upgraded a VxFS file system to layout 4 (version 4).

Now, the fstyp command crashes when it tries to use that VxFS layout 4 file system.

# fstyp -v /dev/vg00/rlvol6
vxfs
Memory fault(coredump)

Any idea ?
11 REPLIES 11
Stefan Farrelly
Honored Contributor

Re: fstyp command dumps a core


Have you got the fstyp patch loaded ?

PHCO_18471
Im from Palmerston North, New Zealand, but somehow ended up in London...
JACQUET
Frequent Advisor

Re: fstyp command dumps a core


Hi,

This sound like Vxfs Patches. Which Release of HP-UX are you using ?

You can check if you get all the patch release of VXFS at the following adress (for 11.00):

http://europe-support2.external.hp.com/wpsl/bin/doc.pl/sid=233ec14f0c67c7e8e7/screen=wpslCandidateList

PJA.
PJA
Jdamian
Respected Contributor

Re: fstyp command dumps a core

The PHCO_18741 is installed and configured.

$ /usr/sbin/swlist -l fileset -a state PHCO_18471
# Initializing...
# Contacting target "system"...
#
# Target: system:/
#

# PHCO_18471
PHCO_18471.UX-CORE configured

The HP-UX release is 11.00
Stefan Farrelly
Honored Contributor
Solution

Re: fstyp command dumps a core


You upgraded vg00/lvol6, /opt, right ?

according to the man page this is not advised, you should not upgrade to type 4 either /, /usr, /opt or /var as these are crucial to system recovery. If you call HP im sure they will say its unsupported. I would revert back to type 3.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Jdamian
Respected Contributor

Re: fstyp command dumps a core

Which man pages ?
vxupgrade advises nothing about this.

I upgraded to layout 4 because it's the JFS 3.3 is the first release that can reduce a Veritas file system online...

and I needed to reduce the /opt file system online.
Stefan Farrelly
Honored Contributor

Re: fstyp command dumps a core


On our JFS 3.3 boxes the vxupgrade man page says;

You cannot upgrade the root (/)or /usr file systems to Version 4 on an
11.0 system running JFS 3.3 from the Application CD. Additionally, we
do not advise upgrading the /var or /opt file systems to Version 4 on
an 11.0 system. These core file systems are crucial for system
recovery. The HP-UX 11.0 kernel and emergency recovery media were
built with an older version of JFS that does not recognize the Version
4 disk layout. If these file systems were upgraded to Version 4, your
system would fail to boot with the 11.0 kernel as delivered or the
emergency recovery media. You can, however, upgrade these core file
systems to Version 4 on an HP-UX 11.1x system.

Disk layout versions cannot be downgraded, for example, you cannot
change a file system from disk layout version 4 to disk layout version

Maybe your manpage is out of date ? If you have upgraded /opt to type 4 youre in trouble as you cant downgrade. Looks like your going to have to boot in single user mode, create a new /opt at the correct size and type 3 and cpio everything over from your current /opt (type 4).
Im from Palmerston North, New Zealand, but somehow ended up in London...
Jdamian
Respected Contributor

Re: fstyp command dumps a core

What vxupgrade man pages do explain is that a FS cannot be downgraded:

NOTES
Once a file system has been upgraded to Version 3, it is no longer
mountable with releases of VxFS prior to VxFS 3.0.

File systems cannot be downgraded.
Jdamian
Respected Contributor

Re: fstyp command dumps a core

My manual pages are dated on October 1997.

Your manual pages tell about "CD". I create periodically an Ignite Recovery cartridge in order to recover the system in a disaster. Are that note aplicable to a Ignite cartridge ?
Stefan Farrelly
Honored Contributor

Re: fstyp command dumps a core


The note about the CD just means if you installed JFS 3.3 from the application CD, nothing else.

Other options are to use ignite to backup vg00, boot from the DAT ignite tape you created and restore vg00 - and you can then create /opt to the size you want and it will be type 3.
Im from Palmerston North, New Zealand, but somehow ended up in London...
Jdamian
Respected Contributor

Re: fstyp command dumps a core

Stefan, those notes about /var and /opt file systems exist in HP-UX 11.i man pages, not in HP-UX 11.0x... See manual pages in HP web.

It may be a mistake, that advise would be in HP-UX 11.0 man pages
Stefan Farrelly
Honored Contributor

Re: fstyp command dumps a core


Same thing applies to 11.0 man page for vxupgrade;

You cannot upgrade the root (/)or /usr file systems to Version 4 on an
11.0 system running JFS 3.3 from the Application CD. Additionally, we
do not advise upgrading the /var or /opt file systems to Version 4 on
an 11.0 system. These core file systems are crucial for system
recovery. The HP-UX 11.0 kernel and emergency recovery media were
built with an older version of JFS that does not recognize the Version
4 disk layout. If these file systems were upgraded to Version 4, your
system would fail to boot with the 11.0 kernel as delivered or the
emergency recovery media. You can, however, upgrade these core file
systems to Version 4 on an HP-UX 11.1x system.
Im from Palmerston North, New Zealand, but somehow ended up in London...