Re: Mount and umount ceph volume

"[email protected]" <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hi,

we didn't test with ceph, you can try generic configuration, for example:

	check filesystem myfs with path /mydata
		start program = ...    #note: set the start command (mount)
		stop program = ...	#note: set the stop command (umount)

It is possible that monit won't be able to collect I/O statistics ... in that case we can implement support for ceph.

Best regards,
Martin


> On 7 Mar 2019, at 15:55, Oscar Segarra <[email protected]> wrote:
> 
> 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


-- 
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.