viafintech / autonfs Goto Github PK
View Code? Open in Web Editor NEWAutoNFS is a client-side autofs-free NFS Share Automount-Script
License: MIT License
AutoNFS is a client-side autofs-free NFS Share Automount-Script
License: MIT License
If the server has changed its nfs share for ex. from ro to rw the autonfs script on the client does not recognize that it now can mount it rw. a manual unmount forces autonfs to remount it using the new rights
For esier use within automated environments, we need a puppet module for AutoNFS
For example in Debian Jessie the rpcinfo
binary is not located in /usr/bin anymore but in /usr/sbin instead. Check all used paths and make them compatible for a wider range of distributions
At moment, AutoNFS relies on some tools on the system to work correctly. If they're not available, AutoNFS can't work as expected so we need to add checks before AutoNFS can do its job.
For now AutoNFS only supports SysVinit and Upstart. We should add Systemd support as well to cover more systems where AutoNFS can run.
At moment, when an NFS mount is not available it is dismounted locally and a service can write to local disk. When the share comes back, the locally written data is invisible which can cause lots of headache.
We should add an option to AutoNFS to somehow "lock" the mount point if the nfs share is not mounted maybe by setting appropriate chmod values.
This could be done by modifying the mount points chmod to 000 when it's not mounted.
for example a separate config file or /usr/bin/env bash instead of /bin/bash
For the moment you have to modify the autonfs script by hand to enable debug logging. This should be adjustable in the defaults file and activated through a script restart.
Clean up the code and turn it into 2-space tabs for example
I can happen that one is saving files to the NFS Path while it is not mounted. AutoNFS should take care of that by moving all files to a temporary folder (/tmp) before re-mounting the NFS path again! As well it should log that and optionally send an email for manual conflict resolving.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.