Operating System - HP-UX
1832978 Members
2879 Online
110048 Solutions
New Discussion

Re: vxfsconvert gives error

 
paabhi
Frequent Advisor

vxfsconvert gives error

Hi All,

We are doing migration from hpux 11.00 server to 11.31 server.the storage is EMC DMX4000.We have made a clone of the exising luns in 11.00 servers .And presented the new LUNs in 11.31.We have splitted the clone and imported the vg.

We have done full fsck on the filesystems.When we done a vxfsconvert it si giving memory fault and a coredump generated.
The details are,

# fsck -F vxfs -o full,nolog -y /dev/vg_test/lvol1
pass0 - checking structural files
pass1 - checking inode sanity and blocks
pass2 - checking directory linkage
pass3 - checking reference counts
pass4 - checking resource maps
incorrect CUT entry for fileset 1, fix? (ynq)y
incorrect CUT entry for fileset 999, fix? (ynq)y
OK to clear log? (ynq)y
set state to CLEAN? (ynq)y
# vxfsconvert /dev/vg_test/rlvol1
Memory fault (core dumped)


Please any one come across this scenario


3 REPLIES 3
Matti_Kurkela
Honored Contributor

Re: vxfsconvert gives error

Please show us the output of

fstyp -v /dev/vg_test/rlvol1

If it says "version: 4" near the beginning, your 11.00 server apparently had an optional "Advanced VxFS" package installed and vxfsconvert is not needed.

11.31 should be able to mount vxfs filesystems of version 4 directly, with no conversion.

To use all the new vxfs features available in 11.31, see the vxupgrade command instead.

MK
MK
paabhi
Frequent Advisor

Re: vxfsconvert gives error

Hi

The fstyp for 11.00 is 3

bulgaria{root}# fstyp -v /dev/vg00/lvol4
vxfs
version: 3
f_bsize: 8192
f_frsize: 1024
f_blocks: 1048576
f_bfree: 214599
f_bavail: 214599
Matti_Kurkela
Honored Contributor

Re: vxfsconvert gives error

OK, you have vxfs layout version 3. You can use "vxfsconvert -f" to verify the filesystem types supported by vxfsconvert. On my 11.31 host, it says:

The following filesystem types are supported:
hfs: HP ufs File System
VxFS: VxFS layout2
VxFS: VxFS layout3

So it should be supported.

You may have found a bug in vxfsconvert. Please contact HP support.

Send them information about your hardware model (PA-RISC or Itanium?) and patch level (the output of "swlist -l fileset" should be good) and the core dump file.

Fortunately /sbin/vxfsconvert does not use shared libraries, so the core dump might be useful for HP as-is. For most other programs, you would need the "packcore" tool to allow the core to be analyzed on another system. (The packcore tool comes with HP wdb debugger, available for free from HP.)

MK
MK