Will a cp command correctly copy links and other special files? What I¹ve always seen suggested would be to mount the filesystems as you described, and then use a command such as:
cd /mnt/3390-3 ; tar cf - * | (cd ../3390-9 && tar xf -) tar will copy everything correctly. This will work cross-system as well, with a slight change in syntax: cd /mnt/3390-3 ; tar cf - * | ssh [EMAIL PROTECTED] cd /dirToLoad && tar xf -¹ -- .~. Robert P. Nix Mayo Foundation /V\ RO-OE-5-55 200 First Street SW / ( ) \ 507-284-0844 Rochester, MN 55905 ^^-^^ ----- "In theory, theory and practice are the same, but ³Join the story... Ride Ural.² in practice, theory and practice are different." On 7/23/07 3:56 PM, "Jones, Zachary" <[EMAIL PROTECTED]> wrote: > On a second Linux machine, > > attach both drives to the Linux guest. > > Bring each dasd online to the linux guest. > # chccwdev --online <0.0.0000 device address> > Find out the Linux device > # lsdasd > > Use the Linux device to mount the drives. > > mount the 3390-3 as /mnt/3390-3 > mount the 3390-9 as /mnt/3390-9 > > then do a recursive copy of the 3390-3 to the 3390-9 > > # cp -R /mnt/3390-3/* /mnt/3390-9 > > > > > On Mon, 2007-07-23 at 15:45 -0500, McKown, John wrote: >> DFDSS will copy the data from a -3 to a -9 with no problems. However, it >> will not resize the Linux "partition" or filesystem on that drive. You'd need >> to do a TRACK copy using DFDSS. The way that I would do it is to mount the -3 >> filesystem on a second Linux, mount the -9 filesystem as well, then "tar" to >> copy the data from the -3 to the -9. Of course, this is very slow, >> comparatively. >> >> >> -- >> John McKown >> Senior Systems Programmer >> HealthMarkets >> Keeping the Promise of Affordable Coverage >> Administrative Services Group >> Information Technology >> >> This message (including any attachments) contains confidential information >> intended for a specific individual and purpose, and its content is protected >> by law. If you are not the intended recipient, you should delete this >> message and are hereby notified that any disclosure, copying, or distribution >> of this transmission, or taking any action based on it, is strictly >> prohibited. >> >> >> >>> >>> >> >>> -----Original Message----- >>> From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On >>> Behalf Of Sikich, Frank J. >>> Sent: Monday, July 23, 2007 3:40 PM >>> To: [email protected] >>> Subject: zLinux instance on Mod3 and need to move to a Mod 9 >>> >>> >>> >> >>> To All: >>> >>> I know this has been asked before and I tried to search the archives but >>> was unsuccessful. I have a zLinux instance on a Mod 3 and I need to move it >>> to a mod 9. I was successful in moving a mod 9 to another mod 9 using >>> ADRDSSU from the zOS side. I don¹t this move will work using this method >>> and was wondering if DDR is my only option to achieve the move. We are not >>> using SFS. Any help would be useful >>> >>> >>> >>> Thanks >>> >>> Frank Sikich >>> >>> >>> >>> >>> >> >>> >>> ---------------------------------------------------------------------------- >>> --------------- >>> ***National City made the following annotations >>> ---------------------------------------------------------------------------- >>> --------------- >>> This communication is a confidential and proprietary business >>> communication. It is intended solely for the use of the designated >>> recipient(s). If this communication is received in error, please contact the >>> sender and delete this communication. >>> ============================================================================ >>> =============== >>> > > > Zachary Jones > Operations Systems Analyst > Northroup Grumman at > City Of Grand Rapids, Michigan > > Office phone: 616-456-3456 > > >
