On Wed, 15 Jan 2014, Dietmar Maurer wrote: > Hi all, > > I use a few helper scripts to automate things, and those scripts call 'ceph' command > multiple times, like > > ------------ > #/bin/sh > > ceph do something > ... > ceph do something else > ... > --------------- > > I get a delay when one monitor is down, until a working mon is found. > That is OK so far. > > But I get that delay each times when I run a 'ceph' command. It would > be great if ceph remembers the last successful mon connection, so that such > delays are avoided. You can avoid this, and speed things up in general, by using the interactive mode: #!/bin/sh ceph <<EOM do something do something else EOM Caching the last successfully connected mon isn't a bad idea either... care to open a feature ticket? sage -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html