<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Fastest copy method in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225625#M171102</link>
    <description>Good catch A. Clay!&lt;BR /&gt;&lt;BR /&gt;But is there even an iota of possibility that he's using VxVM instead of LVM? For which LUN sizes will not matter much if using the mirroring approach..&lt;BR /&gt;&lt;BR /&gt;Or if they are indeed using LVM..  possible that the good Admin has set up VGs that was "forward looking".. meaning expecting the biggest of LUNs.. We do.&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Mar 2004 11:19:07 GMT</pubDate>
    <dc:creator>Alzhy</dc:creator>
    <dc:date>2004-03-22T11:19:07Z</dc:date>
    <item>
      <title>Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225613#M171090</link>
      <description>We are planning a migration from EMC Symmetrix to Clariion. As the new LUN sizes will be larger than on the Sym it seems the method of data migration will be to create new filesystems on the Clariion and then 'cp' the files from the old filesystems to the new. There is about 80Gb of data to transfer 99% of which is Oracle data files.  Both the Sym and the Clariion will be direct connected over fibre channel.&lt;BR /&gt;&lt;BR /&gt;My question: Is this the fastest way to copy the data? Is there another 'copy' command that works faster?&lt;BR /&gt;&lt;BR /&gt;Thanks for help.</description>
      <pubDate>Mon, 22 Mar 2004 10:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225613#M171090</guid>
      <dc:creator>Don Spare</dc:creator>
      <dc:date>2004-03-22T10:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225614#M171091</link>
      <description>safest would be:&lt;BR /&gt;&lt;BR /&gt;vxdump 0f - /emc_mnt|(cd /clarion;vxrestore rf -)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 10:33:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225614#M171091</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-22T10:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225615#M171092</link>
      <description>We did a similar thing on Saturday copying 650GB of data from an XP to EVA and most of it was oracle stuff too.  We did 650Gb in about seven hours using "cp -rp . /newlocation".  I would guess that assuming a 2GB SAN, it will copy 80GB moew quickly than you can test and implement a faster copy :)</description>
      <pubDate>Mon, 22 Mar 2004 10:35:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225615#M171092</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-22T10:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225616#M171093</link>
      <description>Or if uptime and availability is most important, use mirroring on the LVM side...  Add the clarion LUN, mirror the LVOLS, once synched up, drop the EMC...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 10:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225616#M171093</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-22T10:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225617#M171094</link>
      <description>Here is one "sneaky" method:&lt;BR /&gt;&lt;BR /&gt;1) Create a new LVOL on the new array (as big as you like so long as it is at least as large as the LVOL on the old array).&lt;BR /&gt;&lt;BR /&gt;2) Umount filesystem on old array.&lt;BR /&gt;&lt;BR /&gt;3) dd if=/dev/vg02/rlvol1 of=/dev/vg05/rlvol1&lt;BR /&gt;   bs=1000k&lt;BR /&gt;&lt;BR /&gt;4) Change /etc/fstab so that the mountpoint is changed to reflect the new VG.&lt;BR /&gt;&lt;BR /&gt;5) Mount the filesystem on new array.&lt;BR /&gt;&lt;BR /&gt;where vg02 is the "old" VG and vg05 is the "new". You probably need to play with bs to get optimum transfer speed. Because we are raw copying the underlying filesystem data structures come over exactly as they were. You can also use fsadm -b after the dd to "grow" the filesystem to fit the larger LVOL so that you can set up the filesystem to be as big as you like.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Obviously, you could have as many of these dd's goinmg as you like.&lt;BR /&gt;&lt;BR /&gt;One "gotcha" with cp is preservation of owner/group and permissions.</description>
      <pubDate>Mon, 22 Mar 2004 10:44:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225617#M171094</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-03-22T10:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225618#M171095</link>
      <description>I finf 64k block size when using the DD approach to be th emost optimal for most SAN LUN's I've worked with.&lt;BR /&gt;&lt;BR /&gt;Another disadvantage to using "cp -rp" is it does not cleanly copy "special" files.&lt;BR /&gt;&lt;BR /&gt;So there you go:&lt;BR /&gt;&lt;BR /&gt;1. vxdump / vxrestore&lt;BR /&gt;2. dd method&lt;BR /&gt;3. cpio &lt;BR /&gt;&lt;BR /&gt;all of these preserve ownerships and file integrity...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 10:48:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225618#M171095</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-22T10:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225619#M171096</link>
      <description>vxdump is the fastest - migrated last year from 8730 to DMX1000's.&lt;BR /&gt;&lt;BR /&gt;vxdump -0 -f - -s 1000000 -b 16 /data/work | (cd /data/worknew ; vxrestore rf -)&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 22 Mar 2004 10:49:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225619#M171096</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-22T10:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225620#M171097</link>
      <description>The only problem with all the above solutions above is that you tend not to end up with a system looking exactly the same as it did.  Your logical volume names change for example.&lt;BR /&gt; &lt;BR /&gt;I agree with A. Clay about being careful with the "cp" command which is why I would suggest you "cd" to the filesystem you want to copy and then do "cp -rp . /newlocation".&lt;BR /&gt; &lt;BR /&gt;We decided renaming volume groups was the easiest thing to do so created new volume groups on the EVA with identical logical volumes to the ones we were copying.  We created new filesystems and mounted them to tempory locations.  We then did the "cp .rp .".  When we were happy, we remounted the new filesystems on the old mountpoints.  When we were happy everything was OK, we exported the old XP volumes groups, exported the new ones and imported them again with the old names.&lt;BR /&gt; &lt;BR /&gt;This way we could be sure that the system looked exactly the same and any script anywhere on the system doing things that it shouldn't be, i.e depending on the filesystem device name would still work.</description>
      <pubDate>Mon, 22 Mar 2004 10:55:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225620#M171097</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-22T10:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225621#M171098</link>
      <description>Mark, the method we are suggesting is a "Generally Safe Method" for migrating filesystems. Try doing a cp -rp with a filesystems that has sockets, pipes and other special device files on it.&lt;BR /&gt;&lt;BR /&gt;Besides, if the intent is to have the migrated filesystems look exactly like the old (meaning it's LVOLS as well are named the same).. the fix is easy.. export with the map file option.. edit the map file and re-import your migrated VG with the orginal names.&lt;BR /&gt;&lt;BR /&gt;We should be careful here IMHO.. I've seen a number of Junior admins out there that followed a track that "..hey this worked! so this should work for all cases...". And I've been burned once trusting that one solution fits all...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 11:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225621#M171098</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-22T11:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225622#M171099</link>
      <description>Actually, the above solution was suggested to us by an extremely senior (and extremely expensive) storage guy from HP Norway.  &lt;BR /&gt; &lt;BR /&gt;I must admit, the mirroring option seems attractive to me, especially as we have to export and re-import our volume groups anyway. I might try this for our next move next week.</description>
      <pubDate>Mon, 22 Mar 2004 11:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225622#M171099</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-22T11:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225623#M171100</link>
      <description>And as far is which is the fastest:&lt;BR /&gt;&lt;BR /&gt;dd would be the fastest&lt;BR /&gt;vxdump just a tad slower&lt;BR /&gt;cpio would come last&lt;BR /&gt;&lt;BR /&gt;and forget "cp -rp" from now on. If it's not whole filesystems that you are copying/migrating -- the dd and vxdump/vxrestore* is out of the question... your friend here is "cpio".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;(Although VxFs 3.5 I think now supports vxdump/vxrestore of directories on VxFS filesystems....)</description>
      <pubDate>Mon, 22 Mar 2004 11:08:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225623#M171100</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-22T11:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225624#M171101</link>
      <description>The mirroring model breaks dowwn (almost certainly) in one crucial area. You said that you were going to larger LUN's. By default (and unless you specifically overrode this when you set up the VG), vgcreate sizes max PE's to the size of the largest physical volume (LUN) listed on the command line. Once set, this value cannot be changed. Any LUN's larger than this will have space that is not used -- ever. &lt;BR /&gt;&lt;BR /&gt;That is why I did not suggest it in the first place.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 11:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225624#M171101</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-03-22T11:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225625#M171102</link>
      <description>Good catch A. Clay!&lt;BR /&gt;&lt;BR /&gt;But is there even an iota of possibility that he's using VxVM instead of LVM? For which LUN sizes will not matter much if using the mirroring approach..&lt;BR /&gt;&lt;BR /&gt;Or if they are indeed using LVM..  possible that the good Admin has set up VGs that was "forward looking".. meaning expecting the biggest of LUNs.. We do.&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 11:19:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225625#M171102</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-22T11:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225626#M171103</link>
      <description>I was thinking of BCVs from EMC to the Clarion... I dont think BCVs are limited by the need to match PEs exactly... so long as you are going to a larger LUN for the copy. Although it is not an ideal long term setup, it should work here.&lt;BR /&gt;&lt;BR /&gt;Do you have the capability to map BCVs from one frame to the other? Are they both assigned to the same Server?&lt;BR /&gt;&lt;BR /&gt;The only flaw to my plan would be if the BCV compatibility is not good...</description>
      <pubDate>Mon, 22 Mar 2004 12:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225626#M171103</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-03-22T12:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225627#M171104</link>
      <description>Very good Todd!&lt;BR /&gt;&lt;BR /&gt;An even elegant solution...&lt;BR /&gt;&lt;BR /&gt;I keep on forgetting Clarion is now part of EMC.. Last I've heard  BCV's can extend to Clarions as well..&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 12:18:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225627#M171104</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-22T12:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225628#M171105</link>
      <description>Thanks...&lt;BR /&gt;&lt;BR /&gt;Every once in a while even a blind squirrel can find a nut!!!</description>
      <pubDate>Mon, 22 Mar 2004 12:21:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225628#M171105</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-03-22T12:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225629#M171106</link>
      <description>Thanks to everyone for their input. This gives me much to consider. &lt;BR /&gt;&lt;BR /&gt;As far as the BCV issue is concerned, what EMC is telling us is that the LUNs have to be the same size for a SANcopy to work. Mapping the BCV from the Symmetrix to the Clariion was never discussed and if it can be done might be a solution for at least one server's worth of data (we only have one using BCVs). The rest of the data will have to be copied as I described in my original post (unless there is some other magical method that EMC hasn't talked about yet.)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 13:00:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225629#M171106</guid>
      <dc:creator>Don Spare</dc:creator>
      <dc:date>2004-03-22T13:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225630#M171107</link>
      <description>If the PHYSICAL disks are compatible, you can rehost them on the Clarion, then do the BCV snapshot.&lt;BR /&gt;&lt;BR /&gt;Of course that is a lot of legwork and can be tricky.</description>
      <pubDate>Mon, 22 Mar 2004 13:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225630#M171107</guid>
      <dc:creator>Todd McDaniel_1</dc:creator>
      <dc:date>2004-03-22T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225631#M171108</link>
      <description>&lt;BR /&gt;Just do it. Don't even worry. Just 80 GB? Running at say 80MB/sec? That'll be 1000 seconds. Is that a problem? If it is please explain as that knowledge will help define a better solution.&lt;BR /&gt;&lt;BR /&gt;Mind you, I would encourage to basic base performance test, possibly using the real data, but perhaps better use /dev/null to write to and /dev/zero to read from. Just make sure you can run at the expecteed speeds, notably on the new device. You want to know for a fact that it is performing as expected before putting it into production no? So be sure not to find out during the real, can not go back in time, copy but find out now while you can still tweak and/or fix.&lt;BR /&gt;&lt;BR /&gt;Hein.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Mar 2004 13:10:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225631#M171108</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-03-22T13:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Fastest copy method</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225632#M171109</link>
      <description>With multiple paths, and setting up multiple vxdump streams, I migrated 1 TB in just over 4 hours.  Our DMX was Striped/mirrored across 112 x 146 GB disks.  If your Clarion is setup using "parity" RAID, then your time will be slower - as every write requires a parity re-calculation - with only 80GB - you shouyld still be able to migrate in less then an hour...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Mon, 22 Mar 2004 13:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fastest-copy-method/m-p/3225632#M171109</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-03-22T13:20:52Z</dc:date>
    </item>
  </channel>
</rss>

