Sujet : Re: Here's One - NFS - Mounting Over Share = Nada
De : robin_listas (at) *nospam* es.invalid (Carlos E.R.)
Groupes : comp.os.linux.miscDate : 02. Apr 2025, 13:25:47
Autres entêtes
Message-ID : <bvmvblx1bp.ln2@Telcontar.valinor>
References : 1 2 3 4 5
User-Agent : Mozilla Thunderbird
On 2025-04-02 14:08, c186282 wrote:
Simple goal - I want NFS to share what's mounted
to the stated point ALL THE TIME, not JUST five
microseconds after boot-up. MAY want scripts to
change what's mounted there a number of times
per day for max flexibility.
CAN NFS *do* that without horrific complications ?
I am doing it. But it is fixed mounts.
It is an encrypted disk.
Isengard:~ # grep hoard_1 /etc/crypttab
cr_hoard_1 /dev/disk/by-partlabel/hoard_1_raw /Keys/the_hoard_keyfile auto
Isengard:~ #
Isengard:~ # grep hoard_1 /etc/fstab
/dev/mapper/cr_hoard_1 /data/hoard_1 xfs user,lazytime,exec,nofail 1 2
Isengard:~ #
Isengard:~ # grep hoard_1 /etc/exports
/data/hoard_1 192.168.1.0/24(rw,no_root_squash,sync,subtree_check,fsid=10) 192.168.2.0/24(rw,no_root_squash,sync,subtree_check,fsid=10)
Isengard:~ #
If I umount and mount something else, I have to restart the nfs-server service. It is not automatic.
-- Cheers, Carlos.