Cloning question for zLinux
I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
Linking the same disk r/w twice will likely destroy the disk. Link it RR instead. Marcy -Original Message- From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Gary Detro Sent: Wednesday, March 09, 2011 10:03 AM To: LINUX-390@vm.marist.edu Subject: [LINUX-390] Cloning question for zLinux I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
Gary -- There is nothing in the kernel that cares if two disks have identical content unless you mount by label, which you did not. (And I am counting PV stamps as labels.) I gotta wonder if your second 'vmcp link' acquired a RO link instead of a RW link? You were right to use the mr token, but what that tells VM is to give me a read link if someone else has a write link. Does another virtual machine have the disk in RW mode? (Forgive me if you know this. We are a mixture on this list.) -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Wed, Mar 9, 2011 at 13:02, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
Oh ... yeah ... she's right (of course). Did userid change from the first to the second? Guessing it did, but if it did not ... that would explain the problem. -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Wed, Mar 9, 2011 at 13:18, Marcy Cortes marcy.d.cor...@wellsfargo.com wrote: Linking the same disk r/w twice will likely destroy the disk. Link it RR instead. Marcy -Original Message- From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Gary Detro Sent: Wednesday, March 09, 2011 10:03 AM To: LINUX-390@vm.marist.edu Subject: [LINUX-390] Cloning question for zLinux I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
Sorry I didn't make it clear the 20f and 20e are not he same disk. link linux73 201 20f mr link linux77 201 20e mr Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Marcy Cortes marcy.d.cor...@wellsfargo.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:20 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu Linking the same disk r/w twice will likely destroy the disk. Link it RR instead. Marcy -Original Message- From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Gary Detro Sent: Wednesday, March 09, 2011 10:03 AM To: LINUX-390@vm.marist.edu Subject: [LINUX-390] Cloning question for zLinux I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
What do you get from: lsdasd file -s /dev/disk/by-path/ccw-0.0.020e file -s /dev/disk/by-path/ccw-0.0.020e-part1 On Wed, Mar 9, 2011 at 1:24 PM, Gary Detro de...@us.ibm.com wrote: Sorry I didn't make it clear the 20f and 20e are not he same disk. link linux73 201 20f mr link linux77 201 20e mr Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Marcy Cortes marcy.d.cor...@wellsfargo.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:20 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu Linking the same disk r/w twice will likely destroy the disk. Link it RR instead. Marcy -Original Message- From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Gary Detro Sent: Wednesday, March 09, 2011 10:03 AM To: LINUX-390@vm.marist.edu Subject: [LINUX-390] Cloning question for zLinux I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist?(the config for the 4220) ..if not, why not?Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
I don't know what cloning process you're using, but if it is a shell script and if it uses hard-coded names for its work files ... just a guess. -- R; Rick Troth Velocity Software http://www.velocitysoftware.com/ On Wed, Mar 9, 2011 at 13:02, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
yes the lsdasd showed both dasdb and dasdc ... but when I examine the directory /dasdc it is empty Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:38 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist?(the config for the 4220) ..if not, why not?Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
Odd.. it must have a empty filesystem on it or it wouldn't mount..DIRM CLONEDISK is doing a physical copy. Unless the CLONEDISK failed (and there was a previous empty filesystem on the disk), I'm not sure why you're seeing an empty directory. Maybe show us a 'df -h' command as well as an 'lsdasd'? Scott Rohling On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote: yes the lsdasd showed both dasdb and dasdc ... but when I examine the directory /dasdc it is empty Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:38 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist?(the config for the 4220) ..if not, why not?Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
None of the commands you've given us here would add anything onto /dasdc How was it supposed to have gotten populated with files? Marcy Cortes Operating Systems Engineer, z/VM and Linux on System z Enterprise Hosting Services, Mainframe/Midrange Services Wells Fargo Bank | 201 Third Street | San Francisco, CA 94103 MAC A0187-050 Tel 415-477-6343 | Cell 415-517-0895 marcy.d.cor...@wellsfargo.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -Original Message- From: Linux on 390 Port [mailto:LINUX-390@vm.marist.edu] On Behalf Of Gary Detro Sent: Wednesday, March 09, 2011 10:48 AM To: LINUX-390@vm.marist.edu Subject: Re: [LINUX-390] Cloning question for zLinux yes the lsdasd showed both dasdb and dasdc ... but when I examine the directory /dasdc it is empty Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:38 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist?(the config for the 4220) ..if not, why not?Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
Make that 'df -Th' it would be good to see the filesystem types too.. Scott Rohling On Wed, Mar 9, 2011 at 12:03 PM, Scott Rohling scott.rohl...@gmail.comwrote: Odd.. it must have a empty filesystem on it or it wouldn't mount.. DIRM CLONEDISK is doing a physical copy. Unless the CLONEDISK failed (and there was a previous empty filesystem on the disk), I'm not sure why you're seeing an empty directory. Maybe show us a 'df -h' command as well as an 'lsdasd'? Scott Rohling On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote: yes the lsdasd showed both dasdb and dasdc ... but when I examine the directory /dasdc it is empty Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:38 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist?(the config for the 4220) ..if not, why not?Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
sigh Gary did you per chance get DATAMOVEd? Can you check dirmaint/datamove logs? Is the workunit hanging around? David Original Message Subject: Re: Cloning question for zLinux From: Scott Rohling scott.rohl...@gmail.com Date: Wed, March 09, 2011 2:05 pm To: LINUX-390@VM.MARIST.EDU Make that 'df -Th' it would be good to see the filesystem types too.. Scott Rohling On Wed, Mar 9, 2011 at 12:03 PM, Scott Rohling scott.rohl...@gmail.comwrote: Odd.. it must have a empty filesystem on it or it wouldn't mount.. DIRM CLONEDISK is doing a physical copy. Unless the CLONEDISK failed (and there was a previous empty filesystem on the disk), I'm not sure why you're seeing an empty directory. Maybe show us a 'df -h' command as well as an 'lsdasd'? Scott Rohling On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote: yes the lsdasd showed both dasdb and dasdc ... but when I examine the directory /dasdc it is empty Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:38 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist? (the config for the 4220) .. if not, why not? Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/
Re: Cloning question for zLinux
When the scripts are running I can see Dirmaint creating the disks (using flashcopy, so I don't have to wait until the copy completes). The process also does a lsdasd and shows the disks that are online (in the failing case, both targets are online and have been mounted without any error messages). Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: David Kreuter dkreu...@vm-resources.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 01:12 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu sigh Gary did you per chance get DATAMOVEd? Can you check dirmaint/datamove logs? Is the workunit hanging around? David Original Message Subject: Re: Cloning question for zLinux From: Scott Rohling scott.rohl...@gmail.com Date: Wed, March 09, 2011 2:05 pm To: LINUX-390@VM.MARIST.EDU Make that 'df -Th' it would be good to see the filesystem types too.. Scott Rohling On Wed, Mar 9, 2011 at 12:03 PM, Scott Rohling scott.rohl...@gmail.comwrote: Odd.. it must have a empty filesystem on it or it wouldn't mount.. DIRM CLONEDISK is doing a physical copy. Unless the CLONEDISK failed (and there was a previous empty filesystem on the disk), I'm not sure why you're seeing an empty directory. Maybe show us a 'df -h' command as well as an 'lsdasd'? Scott Rohling On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote: yes the lsdasd showed both dasdb and dasdc ... but when I examine the directory /dasdc it is empty Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:38 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist? (the config for the 4220) .. if not, why not? Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists
Re: Cloning question for zLinux
It's not necessarily true that you don't need to wait until the copy completes... if the FLASHCOPY gets an RC0 - ok -- but if it gets a RC indicating for example - that there are already pending flashcopies for the device -- I'm not sure offhand if DATAMOVE tries again or fails the workunit. You want to see that DIRMAINT has sucessfully performed the CLONEDISK before proceeding. (not sure you haven't -- just cautioning) Scott Rohling On Wed, Mar 9, 2011 at 12:16 PM, Gary Detro de...@us.ibm.com wrote: When the scripts are running I can see Dirmaint creating the disks (using flashcopy, so I don't have to wait until the copy completes). The process also does a lsdasd and shows the disks that are online (in the failing case, both targets are online and have been mounted without any error messages). Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: David Kreuter dkreu...@vm-resources.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 01:12 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu sigh Gary did you per chance get DATAMOVEd? Can you check dirmaint/datamove logs? Is the workunit hanging around? David Original Message Subject: Re: Cloning question for zLinux From: Scott Rohling scott.rohl...@gmail.com Date: Wed, March 09, 2011 2:05 pm To: LINUX-390@VM.MARIST.EDU Make that 'df -Th' it would be good to see the filesystem types too.. Scott Rohling On Wed, Mar 9, 2011 at 12:03 PM, Scott Rohling scott.rohl...@gmail.comwrote: Odd.. it must have a empty filesystem on it or it wouldn't mount.. DIRM CLONEDISK is doing a physical copy. Unless the CLONEDISK failed (and there was a previous empty filesystem on the disk), I'm not sure why you're seeing an empty directory. Maybe show us a 'df -h' command as well as an 'lsdasd'? Scott Rohling On Wed, Mar 9, 2011 at 11:48 AM, Gary Detro de...@us.ibm.com wrote: yes the lsdasd showed both dasdb and dasdc ... but when I examine the directory /dasdc it is empty Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com From: Scott Rohling scott.rohl...@gmail.com To: LINUX-390@vm.marist.edu Date: 03/09/2011 12:38 PM Subject: Re: Cloning question for zLinux Sent by: Linux on 390 Port LINUX-390@vm.marist.edu No - you can mount 2 separate DASD's as long as they aren't LVM volumes - no problem. So - does that file exist? (the config for the 4220) .. if not, why not? Need more info about your clones.. Also - are you sure it's /dev/dasdc1 ? Did you do an lsdasd to confirm? Scott Rohling On Wed, Mar 9, 2011 at 11:02 AM, Gary Detro de...@us.ibm.com wrote: I am having a problem with cloning zLinux systems ( use DirMaint clonedisk command to create the 201 disk for our cloned zlinux guests) This is a SuSE10 sp2 system we run the cloning process from My process will create a single clone without problem. vmcp link userid 201 20f mr chccwdev -e 20f mount /dev/dasb1 /newsys1 then change ipaddress and hostname While that program is running we start another clone which does the following vmcp link userid 201 20e mr chcwdev -e 20e mount /dev/dasdc1 /newsys2 and then the second one fails: sed: File /newsys2/etc/sysconfig/network/ifcfg-qeth-bus-ccw-0.0.4220 not found. Is there something in the zLinux kernel that would not allow two disk to be online that are identical to start with? Thanks, Gary L. Detro Senior IT Specialist 1177 S. Belt Line Rd; Coppell, TX 75019 Internal Mail Stop: 77-01-3001O; Coppell, TX Phone: 469-549-8174 (t/l 603-8174); Fax: 469-549-8235 (t/l 603-8235) Send me an email de...@us.ibm.com -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 -- For more information on Linux on System z, visit http://wiki.linuxvm.org/ -- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390