[Pkg-iscsi-maintainers] Bug#686595: open-iscsi: Try harder to start LVM when the device synchronisation take more time

Ritesh Raj Sarraf rrs at researchut.com
Tue Sep 4 17:03:58 UTC 2012


On Monday 03 September 2012 10:32 PM, Peter Gervai wrote:
> My devices reside on multiple hosts using all kinds of troublesome parameters (drbd, slow links, virtualised machines, etc)
> which results 2-3 seconds between iscsi login and the devices recognised by the kernel. open-iscsi start script wasn't
> quite patient, declared no vg's available (in fact no pv's at the point of time), and failed to mount the whole
> shebang.
>
> This patch make it a bit more patient, trying 10 times 1 second to get it done. These parameters could be
> configured, changed etc., it is just good for the average around me. Should not hurt anyone I guess, unless
> I screwed up the script, which is quite possible.
The patch looks okay to me. But I am not sure which way we want to go. A
better approach could be to use a udev rule. Also someone needs to test
this scenario with the newer event based init daemons.

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-iscsi-maintainers/attachments/20120904/2467ee06/attachment.pgp>


More information about the Pkg-iscsi-maintainers mailing list