GithubHelp home page GithubHelp logo

automountnfs's Introduction

AutoMountNFS

Auto mounts NFS drives and automatically restarts Docker services

Usage

sudo bash automountnfs.sh

After successful mounting

- Processing drive UUID=d9363f2a-dce6-4156-a4f6-97dbc56da0f2...
๐Ÿ†— /mnt/Ronin is already mounted
- Processing drive //10.0.0.5/E/Downloads/Torrents/Movies-Shows/TV-Shows...
๐Ÿ†— /mnt/emby/tv/1 is already mounted
- Processing drive //10.0.0.5/R/Torrents/Movies-TV/TV-Shows...
๐Ÿ†— /mnt/emby/tv/3 is already mounted
- Processing drive //10.0.0.5/F/Torrents/Movies-TV/TV-Shows...
๐Ÿ†— /mnt/emby/tv/2 is already mounted
- Processing drive //10.0.0.5/I...
๐Ÿ†— /mnt/Purple is already mounted
- Processing drive UUID=a85b3ded-84d3-4b24-9cd0-4d3fddc3681a...
๐Ÿ†— /mnt/Kingston is already mounted
- Processing drive //10.0.0.5/O...
๐Ÿ†— /mnt/Jellyfin is already mounted
- Processing drive //10.0.0.5/F/Torrents/Movies-TV/Anime...
๐Ÿ†— /mnt/emby/anime/2 is already mounted
- Processing drive //10.0.0.5/E/Downloads/Torrents/Movies-Shows/Anime...
๐Ÿ†— /mnt/emby/anime/1 is already mounted
- Processing drive //10.0.0.5/R...
๐Ÿ†— /mnt/Zero is already mounted
- Processing drive //10.0.0.5/E...
๐Ÿ†— /mnt/E is already mounted
- Processing drive //10.0.0.5/C...
๐Ÿ†— /mnt/C is already mounted
- Processing drive //10.0.0.5/E/Downloads/Torrents/Movies-Shows/Movies...
๐Ÿ†— /mnt/emby/movies/1 is already mounted
- Processing drive //10.0.0.5/F/Torrents/Movies-TV/Movies...
๐Ÿ†— /mnt/emby/movies/2 is already mounted
- Processing drive //10.0.0.5/R/Torrents/Movies-TV/Movies...
๐Ÿ†— /mnt/emby/movies/3 is already mounted
- Processing drive //10.0.0.5/G2...
๐Ÿ†— /mnt/G2 is already mounted
- Processing drive //10.0.0.5/J...
๐Ÿ†— /mnt/Se7en is already mounted
โœ… All drives processed
 
List drives?
ls {/mnt/C,/mnt/emby/anime/1,/mnt/emby/anime/2,/mnt/emby/movies/1,/mnt/emby/movies/2,/mnt/emby/movies/3,/mnt/emby/tv/1,/mnt/emby/tv/2,/mnt/emby/tv/3,/mnt/E,/mnt/Zero/,/mnt/G2,/mnt/Se7en,/mnt/LilithPresser,/mnt/Purple,/mnt/Ronin,/mnt/Kingston}
โ‡๏ธ Restart complete
โœณ๏ธ Script Execution Complete
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   159  100   127  100    32  63723  16056 --:--:-- --:--:-- --:--:--  155k
{"id":"HNDx90srmjl9","time":1705208794,"event":"message","topic":"automount_nfs","message":"AutoMountNFS: Execution complete"}

automountnfs's People

Contributors

samstarnes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.