Mount and umount ceph volume

Oscar Segarra <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <CAJq8taHaCo1kTn5i9wu2W4yHnrByjbjcLPcCv5SL=1O71ZEQGQ@mail.gmail.com>
Hi,

I'd like to mount a cephfs filesystem when it is available (just checking
ceph metadata server tcp port).

And, on poweroff the server , i'd like to force umount the previous cephfs
volume if it is already mounted. This is because if ceph metadata server is
not available, the server loops infinitely trying to umount the cephfs
mount point.

Can theese two use cases be implemented with monit?

Thanks a lot in advance
Óscar

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.