While the "sleep 1" was in clone.sh, the "sync" was not. I inserted the sync after the dd and clone.sh is working again and not hanging on the chccwdev -d.
Thanks for the assist. ________________________________ Judson West Systems Programming Team Teradata Corporation -----Original Message----- From: Linux on 390 Port [mailto:[email protected]] On Behalf Of Michael O'Reilly Sent: Friday, November 13, 2009 10:20 AM To: [email protected] Subject: Re: chccwdev never returning on SLES 11 Judson, The IBM development team is investigating this problem. Under SLES11 the following loop will always hang at the "chccwdev -d": while true; do chccwdev -e 0.0.0152; dasdfmt -y -b 4096 -f /dev/dasdc; dd bs=4096 if=/dev/dasdb of=/dev/dasdc; chccwdev -d 0.0.0152; done As a temporary workaround, ( although I believe that the "sleep" is not needed in the clone.sh script ) the following loop will not hang (Note the "sync" after the "dd": while true; do chccwdev -e 0.0.0152; sleep 1 dasdfmt -y -b 4096 -f /dev/dasdc; dd bs=4096 if=/dev/dasdb of=/dev/dasdc; sync; chccwdev -d 0.0.0152; done Mike O'Reilly IBM Linux Change Team Judson West <[email protected] radata.com> To Sent by: Linux on [email protected] 390 Port cc <[email protected] IST.EDU> Subject chccwdev never returning on SLES 11 11/13/2009 09:55 AM Please respond to Linux on 390 Port <[email protected] IST.EDU> I ran into this while using the clone.sh from Mike's SLES10SP2 cookbook, lightly modified. It does not appear to hang if I perform the cloning steps, from the book, manually. I searched the list and caught a thread about this from July 09. Any update on why this is happening? ________________________________ Judson West Systems Programming Team Teradata Corporation All words above are not actual sentences but random letters, spaces and the occasional punctuation. I can not be held responsible for the meaning you get from these random letters. I can however be held responsible for the spaces. ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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 ---------------------------------------------------------------------- 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
