<div dir="ltr"><br clear="all"><div>Hi,</div><div><br></div><div>Is it possible to register local mount as a remote-fs?</div><div><br></div><div>I've got a rather peculiar problem with Kubernetes and Ceph:</div><div>1. kubelet creates an rbd device in /dev;</div><div>2. it mounts it to some location;</div><div>3. systemd adds local-fs.target and local-fs-pre.target to  Before= and After= directives on auto-created .mount Units.</div><div><br></div><div>Unfortunately, with that approach thing get rather messy on shutdown. Ceph RBD kernel client detects network outage (since we've already disabled the network) and stops all I/O to those filesystems, while systemd actively tries to umount them. systemd depends on umounting those filesystems, and Ceph depends on an online network to properly finish all I/O and unmount them, thus creating a kind of a deadlock.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Andrey Klimentyev,</div><div>DevOps engineer @ JSC «Flant»</div><div><a href="http://flant.ru/" target="_blank">http://flant.com/</a></div><div>+7 (495) 721-10-27, ext. 487</div><div>+7 (960) 180-38-98</div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>