HPE EVA Storage
1752661 Members
5740 Online
108788 Solutions
New Discussion юеВ

Re: mounting the snapshot of a vdisk in EVA in HPUX.

 
SOLVED
Go to solution
Darren Poh_1
Frequent Advisor

mounting the snapshot of a vdisk in EVA in HPUX.

What is the correct method of mounting of the snapshot of the vdisk in a EVA for host HPUX? Please advice. Thank you.
7 REPLIES 7
Cem Tugrul
Esteemed Contributor

Re: mounting the snapshot of a vdisk in EVA in HPUX.

Darren,
after creating snapshot you have to present
it
After presenting it to hp-ux host then
go hp-unix host then run ioscan -fnCdisk
and try to see this snap lun on hp then
if you wish go vgcreate-lvol-fs then mount

Good Luck,
Our greatest duty in this life is to help others. And please, if you can't
krusty
Honored Contributor

Re: mounting the snapshot of a vdisk in EVA in HPUX.

Darren,

I more thing on the snapshot. If it is from the same host, you will need to issue the "vgchgid" command to modify the VGID on the raw devices. LVM cannot handles seeing the same VGID on the same host.

Here is a overview with some examples:

After snapping the LUN,

1) Change the VGID
vgchgid /dev/rdsk/c5t0d7

2) Create a new volume group:
mkdir /dev/vgsnap
mknod /dev/vgsnap/group c 64 0x020000

3) Import the snap disks into the new volume group.
vgimport /dev/vgsnap /dev/dsk/c5t0d7

4) Activate the new volume group.
vgchange -a y /dev/vgsnap

5) Mount the associated LVols.
mkdir /snap/lvol1
mount /dev/vgsnap/lvol1 /snap/lvol1

HTH,

Curt
"In Vino Veritas"
Cem Tugrul
Esteemed Contributor
Solution

Re: mounting the snapshot of a vdisk in EVA in HPUX.

Darren,
Curt is right...At once i wanted to be fast
but forgot the important step vgchgid...
i have just checked my snap scripts so my steps like;

1- mkdir /dev/vgsnapname

2- mknod /dev/vgsnapname/group c 64 0xNn0000

3- vgchgid /dev/rdsk/vgsnap_dev_file

4- vgchange -c n vgsnapname

5- vgchange -a y vgsnapname

6- fsck -F vxfs /dev/vgsnap/lvol1

7- mount -F vxfs /dev/vgsnap/lvol1 /mount_point_dir

The steps above are embeded in a script
and running everyday for me to take my critical system's SNAP and mount files to my
another test system.

Good Luck,


Our greatest duty in this life is to help others. And please, if you can't
Tom O'Toole
Respected Contributor

Re: mounting the snapshot of a vdisk in EVA in HPUX.


Does anyone here happen to know the proper steps to do this same thing under IBM AIX?
Can you imagine if we used PCs to manage our enterprise systems? ... oops.
Nguyen Anh Tien
Honored Contributor

Re: mounting the snapshot of a vdisk in EVA in HPUX.

I think Cem Tugrul forgot one step:
3) Import the snap disks into the new volume group.
vgimport /dev/vgsnap /dev/dsk/c5t0d7
Without this, vgsnap do not know how to change it to active, it can not determine which PV it has!
HTH
tienna
HP is simple
Tarasevich Pavel
Occasional Visitor

Re: mounting the snapshot of a vdisk in EVA in HPUX.

Sam, thank you. I make mount.
Rath Kum
Frequent Advisor

Re: mounting the snapshot of a vdisk in EVA in HPUX.

I have mounted the Vdisk (EVA8K)and put some data and took the snap and presented to another linux host .
Can anyone have same steps on RHEL5.x ?
Your help will be greatly appreciated

Thanks