We have a set of scripts that Setup the WHOLE multipath SAN disk for us.
>From the chccwdev, zfcp_*, to fdisk 
and format and multipath setup and mount (Yes the WHOLE thing).  We have
found by placing sleep for 15 seconds between commands , especially the
hardware level ones, increased our reliability for success. 

Ben Duncan - Business Network Solutions, Inc. 336 Elton Road  Jackson
MS, 39212
"Never attribute to malice, that which can be adequately explained by
stupidity"
- Hanlon's Razor


> -------- Original Message --------
> Subject: Re: Synchronous option for chccwdev -- was there a resolution?
> From: David Boyes <[email protected]>
> Date: Fri, July 27, 2012 9:05 am
> To: [email protected]
> 
> 
> > On which distro do you have problems with chccwdev?
> > [snip]
> > ..which appears to work fine.
> 
> It's not a distribution issue; it's a timing-dependent issue that has to do 
> with how quickly your hardware responds. Your script will work *most* of the 
> time -- except when it doesn't. 
> Easy way to reproduce the problem is to try your script on a zPDT or a 
> heavily loaded system where the response to requests may not be immediate. 
> The udev settle command isn't a reliable indicator that the device is 
> available. 
> 
> I'm looking for a reliable method that works all the time. 
> 
> ----------------------------------------------------------------------
> 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 more information on Linux on System z, visit
> http://wiki.linuxvm.org/

----------------------------------------------------------------------
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 more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to