LVM and VxVM

Unable to mount file system after volume copy activity

 
sumakuma2011
Occasional Advisor

Unable to mount file system after volume copy activity

Dear Experts,

After volume copy activity from node1 to node2 ,unable to mount the file systems.  Its throws error 

#mount -o largefiles /dev/vg07/lvol3 /redo01mirror

/dev/vg07/lvol3: unrecognized file system

 

Node 2

#swlist -l product |grep -i vxfs

  JFS                   B.11.11        The Base VxFS File System

  PHCO_33226            1.0            bcheckrc_vxfs, iSCSI support

  PHCO_33236            1.0            mount_vxfs(1M) cumulative patch, iSCSI

  PHKL_31212            1.0            System panic on VxFS mount

  PHKL_33377            1.0            VxFS 3.3 cumulative patch

  PHKL_36497            1.0            VxFS Patch; vnode

#fstyp -v /dev/vgdev14/lvol1

vxfs

version: 4

f_bsize: 8192

f_frsize: 8192

f_blocks: 32759808

f_bfree: 1096828

f_bavail: 1088260

f_files: 360448

f_ffree: 274176

f_favail: 274176

f_fsid: 1075249153

f_basetype: vxfs

f_namemax: 254

f_magic: a501fcf5

f_featurebits: 0

f_flag: 16

f_fsindex: 7

f_size: 32759808

 

 

Node1   HPUX 11.31

# swlist -l product |grep -i vxfs

  AVXFS                 B.05.00.02     VXFS Integration Product

  JFS                   B.11.31        Base VxFS File System 4.1 for HP-UX

  PHCO_37394            1.0            VxFS mkfs(1M) cumulative patch

  PHCO_40061            1.0            VRTS 5.0 GARP6 VRTSvxfs Command Patch

  PHCO_40238            1.0            VxFS4.1 setext(1M) cumulative patch

  PHKL_40640            1.0            vxfs4.1 cumulative patch

  PHKL_40650            1.0            VRTS 5.0 GARP7 VRTSvxfs Kernel Patch

  VRTSvxfs              5.0.31.0       VERITAS File System

 

# fstyp -v /dev/vg01/lvol1

vxfs

version: 7

f_bsize: 8192

f_frsize: 1024

f_blocks: 10485760

f_bfree: 2990512

f_bavail: 2803605

f_files: 795244

f_ffree: 747628

f_favail: 747628

f_fsid: 1073807361

f_basetype: vxfs

f_namemax: 254

f_magic: a501fcf5

f_featurebits: 0

f_flag: 16

f_fsindex: 9

f_size: 10485760

 

Is there any patch available to fix this issue ? I tried searching similar topic on forum but i didn't see exact info.

 

Regards,

Sumant 

 

Sumant
3 REPLIES 3
Matti_Kurkela
Honored Contributor

Re: Unable to mount file system after volume copy activity

No, the difference in VxFS versions is too great to be fixable by a patch.

 

You would need a VxFS version upgrade product for your node 2... but unfortunately, I don't think there is a VxFS upgrade for HP-UX 11.11 that would include support for VxFS disk layout version 7.

 

Your node 2 currently has VxFS 3.3, the basic version for HP-UX 11.11.

You could upgrade it to VxFS 3.5 with this free upgrade product:

https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BASEVXFS

 

But unfortunately, VxFS 3.5 supports only disk layout versions 2..5, so it won't solve your problem.

MK
Alzhy
Honored Contributor

Re: Unable to mount file system after volume copy activity

If you are on a mixed 11.31 and 11.11 environment - then I gues the best avenue to rectify your issue is simply convert your filesystem on 11.31 to VxFS layout number 4 so the FS will be both mountable on 11.31 and 11.11.

 

I know it may not be the bext solution but you have no choice. How do you convert? vxdump/vxrestore method unfortunately which means downtime on the filesystem.

 

on 11.31:

 

mkfs_vxfs :

 

mkfs -F vxfs -o bsize=8192,largefles,version=4 /dev/vgwhatever/rlvname

mount /dev/vgwhatever/lvname /tmpmt

vxdump 0f -  /v7filesystem | (cd /tmpmnt;vxrestore -rf -)

 

....

 

 

Unfortunately 11.11's highest VxVM Version is stuck at 3.5 -- which means highest VxFS version is 4.

 

 

Hope this helps.

 

Hakuna Matata.
sumakuma2011
Occasional Advisor

Re: Unable to mount file system after volume copy activity

Thanks a lot for your suggestions & recommendations. 

 

Yes there is no choice for me either i have to downgrade the vxfs on 11.31 or to migrate OS on 11.11 node. So we decided to go for the OS migration. 

 

Thanks again for your valuable inputs.

 

 

Regards,

Sumant 

Sumant