Operating System - HP-UX
1847027 Members
5671 Online
110258 Solutions
New Discussion

vgimport with clariion cx600

 
SOLVED
Go to solution
Kevin Liquori_1
Regular Advisor

vgimport with clariion cx600

I've been mounting BCVs from my Symmetrix to my HP-UX hosts using the BCV split/vgimport process for years without any problem. Now I'm trying to achieve the same results with a Clariion CX600 using SnapClones. I sync the drives and them fracture (split) them. When I try and do a vgimport I receive the error:

Physical Volume "/dev/dsk/c32t0d3" contains no LVM information

I'm sure I have the correct drive. The source disk is a mirrored LUN (200GB usable, 400GB raw) the target SnapClone is a non-mirrored LUN (200GB usable, 200GB raw). Dell, the reseller of this unit, told me:

1) The source and target sizes must be identical in their raw form (400GB in this case)
2) All I/O to the source must be halted - I have to unmount the filesystem from the source host.

The scenario in which I would use these drives would be for Oracle databases. On the Symmetrix I normally place the database in hotbackup mode and split it off without unmounting the filesystem.

Attached is a listing of the SnapClone states while sync'd and split. Does anyone else have experience with a Clariion and HP-UX?

TIA...Kevin
5 REPLIES 5
Kevin Liquori_1
Regular Advisor

Re: vgimport with clariion cx600

Sorry, forgot to add the attachment.

Kevin
Geoff Wild
Honored Contributor

Re: vgimport with clariion cx600

I have no experience with Clarion - a lot with EMC/bcv's.

It does not sound like the bcv's are setup correctly.

Can you run any symmir commands?

I would like to see the output of:

symmir -g yourdevicegroup query

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.
Lee Cockrell
New Member

Re: vgimport with clariion cx600

First off, I believe the most likely cause of the problem is with LVM and the disk labels. But since I know more about the Clariion side I will concentrate there.

How are you mounting the clones? Back to the original host? If it is a different host, did you set initiator type and failover mode? Are you using Powerpath or PVLinks with the Clariion?

It looks like the Clariion mirroring and fracturing went fine, as long as you unmounted the filesystems first.
Sundar_7
Honored Contributor
Solution

Re: vgimport with clariion cx600

Kevin,

LVM doesnt care about whether your LUN is hardware mirrored or not. LVM cannot understand hardware mirroring either.

So, effectively the LUN size visible to the source host and the backup host should be of same size. LUN mirrored/not mirrored at the hardware side doesnt really matter for successful vgimport.

I havent worked on SnapClones. But I would check the sync/split proces.

Check the LVM headers in the disk

# echo "0x2008?4D" | adb /dev/dsk/c32t0d3

Post the output from the above command.

- Sundar.
Learn What to do ,How to do and more importantly When to do ?
Kevin Liquori_1
Regular Advisor

Re: vgimport with clariion cx600

I finally figured this out. When you create a clone group on the Clariion (similar to a BCV device group) there's an option to sync the drives upon creation. Initially I didn't use this option but ran the commands manually afterward. It wouldn't work as I discussed above, so I recreated the clone group with this option enabled and now it works. Very strange.

Unfortunately the symmir commands don't work on the Clariion. They have their own set of equivalent commands which are almost as good, but not quite.

Thanks, everyone, for your assistance!