IBM SAN Storage DS4700 - Copy Mirror Flashcopy

Hello,

Does anyone know how to copy SAN Storage logical disks from IBM TotalStorage Software.

I have a SAN Logical Disk of 200GB mounted on my AIX LPAR_1 via fibre channel fcs0

I would like to make an exact copy of the SAN Logical Disk from IBM totalStorage and mount it on AIX LPAR_2

Flashcopy is only readonly....so how could I do it ?

Thanks

Why not use the classic approach: "dd if=old_disk of=new_disk" or something such?

Create a new LUN of exactly the same size as the old one, create a VG and mount it on the first machine, create the copy with simple UNIX means, for example:

cd /mountpoint/of/old_disk
tar -cf - . | (cd /mountpoint/of/new_disk; tar -xf - )

Then unmount and export the VG. Change the zoning to allow access from the second machine (and maybe disallow access from the originating one) and import the VG.

I hope this helps.

bakunin

You'll want to use Logical Drive Copy, not flash copy.

# dd if=/dev/hdisk11 of=/dev/hdisk20
4194304+0 records in.
4194304+0 records out.

thanks, i have tried it.. but the problem which i face is time

2GB took for me 2.5 hours

and i need to do it for 850 GB. because this will take 1062 hours

is there any faster method ?

you could set up an lvm mirror, and set the pv state to missing

don't forget to turn the vg quorum off

use chpv

from the man page:

    r
                   Makes a physical volume unavailable (removed) for logical input and output. If the physical volume is required in order to maintain a volume group quorum, an error occurs and the physical
                   volume remains open.
Examples
       1    To close physical volume hdisk03, enter: chpv -v r hdisk03

            The physical volume is closed to logical input and output until the -v a flag is used.

then zone it to the other lpar, and remove the disk from the vg

that's the way I would do it