System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Mounting an EVA snapshot created from an active DR group LUN

SOLVED
Go to solution

Mounting an EVA snapshot created from an active DR group LUN

Hi,

We have two EVAs running CA and BC. A DR group has been created to replicate a 100GB LUN (HP-UX 11.31) to our DR server.

I would like to create a snapshot or snapclone of the DR Group LUN and mount it as a usable FS for backups etc....

Having problems mounting the file system.


--------------------------------------------

Once the snapshot is created I run an ioscan and then an ioscan -fnNC disk . Disk 98 is the snapshot.


disk 36 64000/0xfa00/0xb esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk36 /dev/rdisk/disk36
disk 37 64000/0xfa00/0xc esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk37 /dev/rdisk/disk37
disk 38 64000/0xfa00/0xd esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk38 /dev/rdisk/disk38
disk 39 64000/0xfa00/0xe esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk39 /dev/rdisk/disk39
disk 40 64000/0xfa00/0xf esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk40 /dev/rdisk/disk40
disk 41 64000/0xfa00/0x10 esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk41 /dev/rdisk/disk41
disk 42 64000/0xfa00/0x11 esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk42 /dev/rdisk/disk42
disk 43 64000/0xfa00/0x12 esdisk CLAIMED DEVICE HP HSV300
/dev/rdisk/disk43
disk 98 64000/0xfa00/0x21 esdisk CLAIMED DEVICE HP HSV300
/dev/disk/disk98 /dev/rdisk/disk98

Once the snapshot has been replicated the following steps are executed to create the VG/LVOL and ultimately try to mount the filesystem.

Fails at the fsck.

# vgchgid /dev/rdisk/disk98
# vgimport /dev/vgsnap /dev/disk/disk98
vgimport: Volume group "/dev/vgsnap" has been successfully created.
Warning: A backup of this volume group may not exist on this machine.
Please remember to take a backup using the vgcfgbackup command after activating
the volume group.
# vgchange -a y /dev/vgsnap
Activated volume group
Volume group "/dev/vgsnap" has been successfully changed.
# fsck -F vxfs /dev/vgsnap/lvol1
vxfs fsck: V-3-20013: unrecognized vxfs version number
invalid super-block
vxfs fsck: V-3-20694: cannot initialize aggregate
file system check failure, aborting ...
#

I'm a missing a step. Thank you in advance.

Cheers,

Mark.

11 REPLIES
Turgay Cavdar
Honored Contributor

Re: Mounting an EVA snapshot created from an active DR group LUN

Hi Mark,
Is your DR server is 11.31? Any posibility for vxfs disk layout versions mismatch between to server?

Re: Mounting an EVA snapshot created from an active DR group LUN

Hi

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

loaded on both systems running 11.31

Thank you.
Turgay Cavdar
Honored Contributor

Re: Mounting an EVA snapshot created from an active DR group LUN

So what is telling when you type :
fstyp -v /dev/vgsnap/lvol1

Re: Mounting an EVA snapshot created from an active DR group LUN



# fstyp -v /dev/vgsnap/lvol1
unknown_fstyp (no matches)


Duncan Edmonstone
Honored Contributor

Re: Mounting an EVA snapshot created from an active DR group LUN

how sure are you that this is the right disk? Have you used evainfo to relate the WWID of the disk back to what you see in commandview?

What do you get for fstyp -v on the original disk that this was cloned from?

It would be intreresting to compare the software products installed on one system against the other... you might want to use sysdiff to do this:

sysdiff

HTH

Duncan

HTH

Duncan

Re: Mounting an EVA snapshot created from an active DR group LUN

Hi Duncan

I've used scsimgr to identify and match up the WWID of the lun (vdisk) to the disk (HP-UX) and a vgdisplay -v also confirms the correct disk has been assigned to the VG.


Here is the result of the fstyp -v executed on the source box.

# fstyp -v /dev/vg02/lvol1
vxfs
version: 7
f_bsize: 8192
f_frsize: 8192
f_blocks: 13099008
f_bfree: 11195872
f_bavail: 11108405
f_files: 2844032
f_ffree: 2798944
f_favail: 2798944
f_fsid: 1073872897
f_basetype: vxfs
f_namemax: 254
f_magic: a501fcf5
f_featurebits: 0
f_flag: 16
f_fsindex: 9
f_size: 13099008
#

I take your last point. These are new systems
that have had 11.31 cold media installs.

Im thinking I may ignite my DR box.

Cheers.
Turgay Cavdar
Honored Contributor
Solution

Re: Mounting an EVA snapshot created from an active DR group LUN

Hi,
Your disk layout is 7, so your veritas version on the source is VXFS 5.0. VXFS 4.1 doesn't support version 7 layout. There is a mismatch of veritas versions on source and destination.

Re: Mounting an EVA snapshot created from an active DR group LUN

Hi,

Looks like that might be the case. Either way, I am currently igniting my DR box.

Once this is done, I'll try again and let you know.

Thank you.

Mark.
Zinky
Honored Contributor

Re: Mounting an EVA snapshot created from an active DR group LUN

Turgay is correct.

The other server is probably an early OUER of HP-UX 11.31 which sported VxFS 4.X and Disk layout < 7.

Later revs of HP-UX 11.31 are bundled with VxFS 5.0 (JFS/OJFS)
Hakuna Matata

Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler

Re: Mounting an EVA snapshot created from an active DR group LUN



Turgay is correct !!

After the Ignite of the DR system I was able to mount the FS without an issue.

Looks like there was a mismatch after all.

Thank you for your feedback and valid responses.

Regards,
Mark.

Re: Mounting an EVA snapshot created from an active DR group LUN


After the Ignite of the DR system I was able to mount the FS without an issue.

Looks like there was a mismatch after all.

Thank you for your feedback and valid responses.

Regards,
Mark.