On Aug 28, 2008, at 8:25 AM, Craig Collins wrote:
Is anyone doing cloning of FCP LUNs under SLES10 SP2, not minidisks? We're looking at how we might clone our systems which are all using FCP for all of the LUNs. The virtualizaiton cookbooks all refer to using DDR and minidisks. We figure if we can work out a good way to copy the partitions from golden image LUN to clone image LUN, we can work through the rest of the script to make the necessary alterations to the guest. We're trying to stay away from subsystem provided flashcopy type functions due to licensing costs.
Well, doing it in the SAN hardware is certainly the fastest and cleanest way....but if you don't want to do that for cost reasons, then you just need to define identically-sized LUNs and have them both online to the target system. Make sure no one has the golden image mounted, and then use dd if=/dev/source-fcp-disk of=/dev/target-fcp- disk bs=4M. (The block size isn't critical, but things will go faster if it's pretty large; tune it so it's a multiple of the actual data transfer size the SAN and FCP adapters support). That would be using Linux, of course. You could use DDR, I suppose, if you use FBA emulation so that the FCP disks look like FBA to the z/ VM system but that may not be acceptable from a performance standpoint. Instead of actually running it on the target system you'd probably want a cloner guest that had the authority to attach all the LUNs r/w, and grab them, image them, and then release them so the actual target system could pick them up once the copy was done. Adam ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
