1846883 Members
3404 Online
110256 Solutions
New Discussion

vxfs error

 
SOLVED
Go to solution
Deepak Seth_1
Regular Advisor

vxfs error

host a - hpux 11.0 - pa-risc
host b - hpux 11.23 - itanium

importing VG from host a using map file (-s flag) . no problem importing to host b . however when mount the file system , it gives me this error

UX:vxfs mount: ERROR: V-3-21270: /dev/vgora-bvdb1/lvol1 disk image is incompatible with this system

already did fsck on the above raw device .

((herhxp03 root):/users/dseth> fsck -y -o full /dev/vgora-bvdb1/rlvol1
fsck: /etc/default/fs is used for determining the file system type
log replay in progress
pass0 - checking structural files
pass1 - checking inode sanity and blocks
pass2 - checking directory linkage
pass3 - checking reference counts
pass4 - checking resource maps
OK to clear log? (ynq)y
set state to CLEAN? (ynq)y
)

Is it a issue with different version of h/w server or something else like vxfs version . Earlier threads were not very useful in resolving the issue.

Any help appreciated.
7 REPLIES 7
Court Campbell
Honored Contributor

Re: vxfs error

Do you have different versions of vxfs installed. Try

fstyp -v /dev/vgora-bvdb1/rlvol1 | grep version
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
James R. Ferguson
Acclaimed Contributor
Solution

Re: vxfs error

Hi:

Your VxFS filesystem layout version on 11.0 isn't support on the VxFS software you run on 11.23.

Run:

# mkfs -m /dev/vgNN/lvolx

...to see the layout version number

See:

http://docs.hp.com/en/B3921-60631/vxfsconvert.1M.html

Regards!

...JRF...

Deepak Seth_1
Regular Advisor

Re: vxfs error

vxfs version is same on both the server .
host a - pa-risc
(herhxp03 root):/users/dseth> remsh bvdb1 /usr/sbin/fstyp -v /dev/vgora/rlvol1 | grep version
version: 3
host b - itanium
(herhxp03 root):/users/dseth> fstyp -v /dev/vgora-bvdb1/rlvol1 | grep version
version: 3
==============
host b - itanium
mkfs -m /dev/vgora-bvdb1/rlvol1
mkfs: /etc/default/fs is used for determining the file system type
mkfs -F vxfs -o ninode=unlimited,bsize=1024,version=3,inosize=256,logsize=1024,largefiles /dev/vgora-bvdb1/rlvol1 512000

vxfsconvert gives a core dump
root):/users/dseth> /opt/VRTS/bin/vxfsconvert /dev/vgora-bvdb1/rlvol1
Memory fault(coredump)
(h




James R. Ferguson
Acclaimed Contributor

Re: vxfs error

Hi (again):

Oops, 'vxfsconvert' only supports conversion of an HFS to a VxFS filesystem. I should have pointed you to 'vxfsupgrade':

http://docs.hp.com/en/B3921-60631/vxupgrade.1M.html

Put your volume group back on your 11.0 system and update your disk layout version there using 'vxupgrade'.

*READ* the manpages for 'vxupgrade' before you run it and make sure that your 11.0 system has JFS 3.3 as the manpages note.

After the filesystem has been upgraded to layout version-4, you should be able to export the volume group and mount the filesytsem on 11.23.

Regards!

...JRF...
Deepak Seth_1
Regular Advisor

Re: vxfs error

Hi james,
that means i need to run the vxfsupgrade on the 11.0 system (host a) , which actually is a production system and i need to go through tons of approvals. I have many others houx 11.00 system . I looks like it make sense to use a PA-RISC system as a host a for this kind of work. What do u suggest .
James R. Ferguson
Acclaimed Contributor

Re: vxfs error

Hi (again) Deepak:

Well, any 11.0 system running JFS 3.3 (where version-4 layouts are supported) will do.

The idea is to be able to mount the version-3 layout and convert it to version-4 so that it can then be used on 11.23 with the uplevel JFS software.

I would urge you to backup the filesystem before conversion (safe is always good). Again, read the manpages I cited. You need some free space in the filesystem to perform the conversion.

Regards!

...JRF...
Deepak Seth_1
Regular Advisor

Re: vxfs error

thanks for your help and advice . i tested upgrading the file systems version and they worked just fine . However i have lots of system with no JFS 3.3 , which is min requirement to convert to 4 . So let me think what is best approach to deal with this situation.