Operating System - HP-UX
1754858 Members
5152 Online
108827 Solutions
New Discussion юеВ

LVM Import problem from 11iv1 to 11iV2

 
ShanA_2
Occasional Advisor

LVM Import problem from 11iv1 to 11iV2

Hi All
i recently upgraded our server from 11iV1 to 11.23.
we had one data volume group running on 11iV1, i just export it before upgrade, after upgrade i did the import and everything worked well, but when i try to mount the data File systems i'm getting the below errors.

uxt07:/#mount /dev/vg01/lvol3 /mnt
UX:vxfs mount: ERROR: V-3-21270: /dev/vg01/lvol3 disk image is incompatible with this system

but the FS type and fsck are running with out any issue.

uxt07:/#fstyp /dev/vg01/lvol3
vxfs

Did i missed any step here, could some one guide me please....



7 REPLIES 7
J. Bravo
Respected Contributor

Re: LVM Import problem from 11iv1 to 11iV2

Hi:

Probably your vxfs layout versions are not compatible. For 11.23 in version 5 and for 11.11 I think it's version 4.

Regards;

J. Bravo.
melvyn burnard
Honored Contributor

Re: LVM Import problem from 11iv1 to 11iV2

out of interst, do:
fstyp -v /dev/vg01/lvol3
What version does it report back?
You shoudl be able to use version 4 on 11.23,
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
whiteknight
Honored Contributor

Re: LVM Import problem from 11iv1 to 11iV2

ShanA

There are three different possible solutions

1)Upgrade the current File System to disk layout version 4 with vxupgrade(1M)

2)Convert the current File System to disk layout version 4 with vxfsconvert(1M)

3) Create a new File System (FS) on the 11.23 server and restore your data.

WK
Problem never ends, you must know how to fix it
Steven E. Protter
Exalted Contributor

Re: LVM Import problem from 11iv1 to 11iV2

Shalom,

If you used upgrade-ux, which I always advise against, it should have taken the vxfs layout and version into account.

If you confirm a version numbering issue, upgrading the filesystem while unmounted with fsadm should resolve the issue.

I was under the impression that vxfs higher versions contained downward/backward compatibility. I find this situation therefore puzzling.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor

Re: LVM Import problem from 11iv1 to 11iV2

I have imported volume groups from 11.11 to 11.23 boxes many times without any problems and because fsck is working, you should be able to mount it. I think what is happening is that you have an error in your /etc/fstab entry. I would try doing an explicit mount (e.g) mount -F vxfs /dev/vg01/lvol3 /mnt. If that works then either the fstab entry has a syntax error or you are trying to use mount options in the fstab entry that are not available (perhaps because OnlineJFS is not now licensed).
If it ain't broke, I can fix that.
James R. Ferguson
Acclaimed Contributor

Re: LVM Import problem from 11iv1 to 11iV2

Hi:

What version of VxFS (JFS) are you running and what is/was the filesystem layout version?

If you are running VxFS 4.1 then you cannot mount a VxFS (JFS) filesystem version-3 layout.

You can run 'vxfsconvert' to upgrade the filesystem in this case. The manpages describe the procedure for you:

http://www.docs.hp.com/en/B2355-60105/vxfsconvert.1M.html

Regards!

...JRF...
ShanA_2
Occasional Advisor

Re: LVM Import problem from 11iv1 to 11iV2

Thanks Everyone for your reply,
The current version of 11.23 vxfs is 6 but the volume group from 11.11 is version 3 based.
vxfsconvert worked fine for FS which are spread across single PV, but FS which are spread across two, three PV are failed during the conversion process and hung half way.
i'm running out of time, i need to release the server to our production team, i just recreated all the FS and restored the data.
once again thanking all the HP gurus replied.