Partage NFS
Partage NFS
Pré-requis
$ sudo apt-get install nfs-common
Afficher les partages NFS du serveur
$ showmount -e adresse_ip_du_serveur
Démarrer le serveur NFS
$ sudo /etc/init.d/nfs-kernel-server start
Redémarrer le serveur NFS
$ sudo /etc/init.d/nfs-kernel-server restart
Monter un partage NFS
à renseigner dans /etc/fstab
- adresse_ip_serveur : /nom_du_partage_nfs /point_de_montage_sur_client nfs defaults 0 0
Monter un partage NFS via SSH
Installer sshfs
$ sudo apt-get install sshfs
Créer le répertoire servant au montage
$ sudo mkdir /mnt/ssh
Monter le partage NFS distant via SSH
$ sudo sshfs $USER@adresse_de_la_machine_distante:/nom_du_partage_nfs /mnt/ssh
Pour démonter le partage NFS
$ sudo fusermount -u /mnt/ssh
Commentaires
Anonyme (non vérifié)
mer, 06/07/2022 - 10:25
Permalien
Aperçu | Mon pense-bête
Hey terrific blog! Does running a blog like this take
a massive amount work? I have no knowledge of computer programming but I had been hoping to
start my own blog in the near future. Anyways, if you have any
suggestions or tips for new blog owners please share.
I understand this is off topic nevertheless I just
wanted to ask. Cheers!
ronan
dim, 10/07/2022 - 20:23
Permalien
Thank you very mush
indeed, it takes a lot of work. formatting, writing articles, updating the system