> I think it is always good to reserved port 7000 for gateway only instance and > so /var/lib/sheepdog/gateway-only. Because gateway-only has no data, we > can remove and create empty directory for each start and no special > parameters are needed. What do you think? A gateway will also need data dir to cache things - most likely on SSD? So I think there is no special need for that. I do not want to introduce too much magic here. > For sheep instance containing data your approach with the setup file seems > to be a fine way. But I think it is not good idea to created the file > automatically, just don't start if it doesn't exist. I don't really understand that? I do not create anything 'automatically'? - Dietmar |