Visit Our UNIX and Linux User Community


IBM SAN Storage DS4700 - Copy Mirror Flashcopy


 
Thread Tools Search this Thread
Operating Systems AIX IBM SAN Storage DS4700 - Copy Mirror Flashcopy
# 1  
Old 09-09-2009
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
# 2  
Old 09-09-2009
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:

Code:
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
# 3  
Old 09-10-2009
You'll want to use Logical Drive Copy, not flash copy.
# 4  
Old 09-15-2009
# 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 ?
# 5  
Old 09-15-2009
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:
Code:
    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

Last edited by funksen; 09-15-2009 at 09:11 AM..

Previous Thread | Next Thread
Test Your Knowledge in Computers #686
Difficulty: Medium
In reverse Polish notation, the operators follow their operands; for instance, to add 3 and 4, one would write 3 4 + rather than 3 + 4.
True or False?

9 More Discussions You Might Find Interesting

1. AIX

IBM AIX - SAN Storage DS4300 issue

Hi, This is follow up to the post https://www.unix.com/aix/233361-san-disk-appearing-double-aix.html When I connected Pseries Machine HBA Card ( Dual Port ) directly to the SAN Storage DS4300 , I was able to see Host Port Adapter WWN numbers , although I was getting this message... (2 Replies)
Discussion started by: filosophizer
2 Replies

2. AIX

IBM SAN TO SAN Mirroring

Has anyone tried SAN to SAN mirroring on IBM DS SAN Storage. DS5020 mentions Enhanced Remote Mirror to multi-LUN applications I wonder if Oracle High availibility can be setup using Remote Mirror option of SAN ? (1 Reply)
Discussion started by: filosophizer
1 Replies

3. AIX

IBM SAN STORAGE HOT SPARE DISK

Hello, I have DS4000 IBM SAN Storage ( aka FastT Storage ) One of my disks has failed and I had a hot spare disk covering all the arrays. As the disk failed, immediately the hotspare disk took over the failed disk ( see the JPEG in the attachment ) My Question: How can I make the hotspare... (1 Reply)
Discussion started by: filosophizer
1 Replies

4. AIX

IBM SAN storage -- cache battery

Hello, I have IBM SAN STORAGE DS4100 and one of the cache battery for the controller is dead. Suddenly the performance has been degraded and access to SAN disks ( reading and writing ) became very slow ? My query: Replacing the battery will take 6 days, so in the mean time what are the ways... (1 Reply)
Discussion started by: filosophizer
1 Replies

5. UNIX for Dummies Questions & Answers

Storage from SAN

hi guys I installed Centos 5.5 (local disk). I am using 2 HBAs Now I mapped 5 LUNs from a Storage. I will be using LVM just to test I assigned a LUN I've read I have to use multipath to avoid my Centos see the LUN twice I enabled mdmpd and multipathd... something else I should do? ... (8 Replies)
Discussion started by: kopper
8 Replies

6. Solaris

Cannot see the IBM SAN storage

HI all, I had recently change the Server storage from EMC to the IBM SAN. but after the configuration, the IBM success to see the server HBA port and successfully assign a LUN for the server. When i go to the server, and restarted it. i use the "format" command to check, but din see any... (1 Reply)
Discussion started by: SmartAntz
1 Replies

7. AIX

MPIO RDAC IBM SAN STORAGE DS4700 ?

Hello, I have AIX 6.1 with TL 4 and it is connected to IBM SAN STORAGE DS4700 After assigning some disks from SAN to AIX, I can see the disks in my AIX as hdisk2 Available 05-00-02 MPIO Other DS4K Array Disk hdisk3 Available 05-00-02 MPIO Other DS4K Array Disk But it should... (0 Replies)
Discussion started by: filosophizer
0 Replies

8. AIX

IBM FastT600 SAN - RAID 5 Storage Manager Client v08.33.G5.03 - Recovery?

To summarize the problem: The "IBM FastT Storage Manager Client v8" shows that our Disk Farm is arranged into 6 logical drives each in a RAID 5 configuration. This software also shows that 5 of the 6 logical drives (from Disk Farm) are in a error state: "Failed Logical Drive - Drive Failure".... (1 Reply)
Discussion started by: aix-olympics
1 Replies

9. AIX

mirror external scsi to san

Hi, How do I mirror an external scsi vg to one hdisk san? The vg has multiple hdisks and the san hdisk has only one. Is this possible or do I need to create the same hdisks as the scsi? What I meant is, if the scsi vg has 10 hdisk then I need to create also 10 hdisk of san with the same... (6 Replies)
Discussion started by: itik
6 Replies

Featured Tech Videos