09-10-2011 09:41 AM
09-10-2011 11:22 AM
I presume that you are running VxFS (JFS) version 4.1. Do both host have patch PHCO_33308 (or its successor, PCHO_41860)? If not, this may be your problem.
This patch notes note that:
Without this patch, the pvcreate(1M) and lvreduce(1M) commands do not correctly recognize version 6 disk layout of VxFS4.1. This can lead to potential data loss since these commands can unknowingly overwrite data being managed by this filesystem. Specifically, the pvcreate(1M) may overwrite a disk containing a VxFS4.1 filesystem, and the lvreduce(1M) command may incorrectly truncate this filesystem type.
09-10-2011 11:48 AM
Thanks for the answer! You're right - the problem is in the patch installed, but not in the one you mentioned. I found differencies between the systems:
root@hostA:/ # swlist | grep -i vx
EnableVxFS B.11.23.07 File-System library, commands enhancements for VxFS4.1 and 5.0
PHCO_35425 1.0 VRTS 5.0 MP1 VRTSvxfen Command Patch
PHKL_35305 1.0 VRTS 5.0 MP1 VRTSvxfs Kernel Patch
PHKL_35424 1.0 VRTS 5.0 MP1 VRTSvxfen Kernel Patch
VRTSvxfen 22.214.171.124 Veritas Fencing by Symantec
VRTSvxfs 5.0.01.04 Veritas File System
VRTSvxmsa 4.4-REVbuild010-2006.06.01 VxMS Application Deployment Package
VRTSvxvm 5.0 Veritas Volume Manager by Symantec
None of these packages and patches are installed on host B. I need to find which exactly will make everyting done... Could you please tell me whether it is possible to install requried patch from host A?
09-10-2011 12:43 PM
So you are running VxFS version 5.0 on one system (A) and version 4.1 (I assume) on system-B.
The VxFS notes clearly say, "VxFS 4.1 is the last major release to support Disk Layout Version 4 and Disk Layout Version 5. HP recommends upgrading any previously installed VxFS file system to the Disk Layout Version 6 available with VxFS 4.1."
Thus, if your layout version isn't six (6) then system-B won't mount the filesystem. This has nothing whatsoever to do with the LVM layers.
You will need to upgrade the filesystem layout version on System-A before you can mount it on system-B.
09-10-2011 12:48 PM
>Could you please tell me whether it is possible to install required patch from host A?
No. Not unless you still have that patch depot on host A. You could use swlist to find the source depot. Once someone found that depot was still hanging around:
swlist -a install_source PHCO_35425 PHKL_35305 PHKL_35424
Otherwise you'll need to download the patches from the HPSC.