Operating System - HP-UX
1820620 Members
1903 Online
109626 Solutions
New Discussion юеВ

Re: Importing Volume Groups

 
virtualdmo
New Member

Importing Volume Groups

Two volume groups. Can import the volume groups successfully but am unable to mount volumes inside the volume groups. Get error 'Mount unrecognized vxfs version number.' This is on version 11.
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: Importing Volume Groups

You are probably trying to mount a Version 4 vxfs filesystem on a box that only supports Version 3. This can happen, for example, if one box is running OnlineJFS 3.1 (Version 3) and the other box is running OnlineJFS 3.3 (Version 4).

The version 3 filesystem can be mounted on newer releases but the converse is not true.
If it ain't broke, I can fix that.
Michael Tully
Honored Contributor

Re: Importing Volume Groups

In reality you should be attempting to mount imported groups on systems of similar software and patch levels. This will stop things like this happening. I've had this exact problem before and the solution is having the JFS subsystem on the same version as Clay has so rightly pointed out.
Anyone for a Mutiny ?
Todd McDaniel_1
Honored Contributor

Re: Importing Volume Groups

I concur with the prev posters... Are you moving this to a different host that has an older version of JFS loaded. You cant move a v4 back to a v3 system.

I dont expect any points for this post, but this may or may not be related, but here is a small problem I had...

I had just setup a new box and couldn't apply mount options... I realized that I had to run vxenable to get those options to be activated, namely mincache and convosync.

Here was the command line for that.
___________________________________________
# /sbin/fs/vxfs/vxenablef -a ## to activate a JFS license


# /sbin/fs/vxfs/vxenablef ## to check if it is loaded???.
System is licensed for features
Full_VxFS HP_DMAPI
____________________________________________

also, vxupgrade is used for upgrading from Version 3 to version 4.
Unix, the other white meat.
Geoff Wild
Honored Contributor

Re: Importing Volume Groups

If you are in fact trying to mount filesystems created on 11i to an 11.0 box - you must use mkfs not newfs when creating the filesystem:

For example, create a version 3 file system on an 11.i system:

mkfs -F vxfs -o largefiles -o version=3 /dev/vg20/rlvol1


We currently have to do that as our NetBackup server is 11.0.

Rgds....Geoff

Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Stuart Abramson_2
Honored Contributor

Re: Importing Volume Groups

1. JFS has versions.

2. echo "8192 B; p S" | fsdb -F vxfs /dev/05vg89/lvol01 | grep log_version

log_version 9 logstart 0 logend 0

3. If you split a BCV and present it from an old server to a new server,
it will FAIL an:

fsck -F vxfs /dev/vgxx/lvolYY

with $? = 12

You will have to do an:

fsck -y -F vxfs /dev/vgxx/lvolYY

4. If you split from a new system to an old system, you probably don't have
a chance!

o You must install the NEW JFS on the old system:

B3929CA B.03.03 JFS 3.3 Filesystem For 11.00


5. Check the swlists:

# swlist | grep -i jfs
B3929BA B.11.00 HP OnLineJFS (Advanced VxFS)
B3929CA B.03.03 JFS 3.3 Filesystem For 11.00


6. Also, check version with:

# fstyp -v /dev/vgxx/lvoly|grep version