Disk Enclosures
1748123 Members
3342 Online
108758 Solutions
New Discussion юеВ

Re: Moving date from one EVA to another

 
SOLVED
Go to solution
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

The steps at a glance:

- review the currently setting of this VG
# vgdisplay -v vgxx

- adjust values if needed
(man vgmodify)

- create a new vdisk on the new EVA (probably same size preferred)

- adjust zoning and presentation

- run "ioscan" and "insf" on the new device

- create a physical volume on the new vdisk
(man pvcreate)

- extend the VG
(man vgextend)

- extend the logical volume
(man lvextend)
# lvextend -m 1 /dev/vgxx/lvol1 /dev/dsk/...

- reduce the mirror copy from the old disk
# lvreduce -m 0 /dev/vgxx/lvol1 /dev/dsk/...

- once all lvols are "moved", reduce the old vdisk from the VG

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

Torsten,

I have the following configuration:
Volume Group - vgSLT
The Logcal Volumes:
/dev/vgSLT/sapmntSLT
/dev/vgSLT/usrsapSLT
/dev/vgSLT/oracleSLT
/dev/vgSLT/oracle

VG resides on phisycal disk /dev/dsk/c13t0d0

Now I need to present new vdisk to secure path?
For example let it be /dev/dsk/c14t0d0
Then I need to perform

vgextend /dev/vgSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/sapmntSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/usrsapSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/oracleSLT /dev/dsk/c14t0d0
lvextend -m 1 /dev/vgSLT/oracle /dev/dsk/c14t0d0

then
lvreduce -m 0 -k /dev/vgSLT/usrsapSLT /dev/dsk/c13t0d0/
etc..

and
vgreduce /dev/vgSLT /dev/dsk/c13t0d0

Am I on the right way?
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

"Am I on the right way?"

Yes.
Also be aware of the other steps I mentioned (checking limits/pvcreate etc.).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

Thanx guys!
And the points go to you !
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

By the way can I use simple dd to copy data from one disk to another?
Like this:
dd if=/dev/dsk/c13t0d0 of=/dev/dsk/c14t0d0 bs=1024k
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

I would not do this, because this may mess your configuration.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Igor Sovin
Super Advisor

Re: Moving date from one EVA to another

I've just noticed that we dont have Mirror-UX on few hosts and so we dont have licenses.. hmm
Torsten.
Acclaimed Contributor

Re: Moving date from one EVA to another

For these systems consider to take a backup (to tape or tar archive), create a new VG on the new EVA and restore the backup.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!