Well, yeah, but that won’t make the DASD bootable. You need to copy over the 
boot sector as well, 

 

dd if=/dev/dasda1 of=/dev/dasdb1 bs=512 count=1

 

(substitute the correct devices in the above command of course. The first one 
is the 3390-3 and the second the 3390-9. I have not tested this on a zSeries 
machine, but it should work just fine.) 

 

-Paul

 

 

From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On Behalf Of 
Jones, Zachary
Sent: Monday, July 23, 2007 3:57 PM
To: [email protected]
Subject: Re: zLinux instance on Mod3 and need to move to a Mod 9

 

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



 

Reply via email to