The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > AIX
.
google unix.com



AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sun Storage 7000 Unified Storage System as Storage Target for Symantec Enterprise Vau iBot Solaris BigAdmin RSS 0 06-23-2009 08:30 AM
crontab; copy most recent *.mpg file from local machine to smb storage device julezsht Shell Programming and Scripting 5 06-02-2009 05:24 PM
ZFS Mirror versus Hardware Mirror Lespaul20 SUN Solaris 3 05-02-2009 08:48 AM
AIX FlashCopy on ESS terrym UNIX for Advanced & Expert Users 1 03-16-2007 07:30 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-09-2009
filosophizer filosophizer is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 113
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 (permalink)  
Old 09-09-2009
bakunin bakunin is offline Forum Staff  
Bughunter Extraordinaire
  
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,628
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 (permalink)  
Old 09-10-2009
tdiYUZER tdiYUZER is offline
Registered User
  
 

Join Date: Mar 2009
Posts: 19
You'll want to use Logical Drive Copy, not flash copy.
  #4 (permalink)  
Old 09-15-2009
filosophizer filosophizer is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 113
# 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 (permalink)  
Old 09-15-2009
funksen funksen is offline Forum Advisor  
Registered User
  
 

Join Date: Nov 2006
Location: Austria/Vienna
Posts: 430
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 08:11 AM..
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0