Deutsch   English   Français   Italiano  
<vslpur$ftje$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: The Natural Philosopher <tnp@invalid.invalid>
Newsgroups: comp.os.linux.misc
Subject: Re: Here's One - NFS - Mounting Over Share = Nada
Date: Thu, 3 Apr 2025 12:03:55 +0100
Organization: A little, after lunch
Lines: 56
Message-ID: <vslpur$ftje$1@dont-email.me>
References: <UQ-dndQV6amaDnH6nZ2dnZfqnPednZ2d@giganews.com>
 <m54j20Fhof8U3@mid.individual.net> <4qivblx7ff.ln2@Telcontar.valinor>
 <m54m11Fhof8U5@mid.individual.net> <fbmvblxbun.ln2@Telcontar.valinor>
 <67ee2d42@news.ausics.net> <A7KdnVfT8_In_XP6nZ2dnZfqn_qdnZ2d@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 03 Apr 2025 13:03:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="dae1870449fbd4f3b93c140a1c9404ac";
	logging-data="521838"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+iVhdYMmyRwcQc3Rxpp2ZArujuThSJBuA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:migiyPYr8Coeam2nKZHwzMK6B+0=
In-Reply-To: <A7KdnVfT8_In_XP6nZ2dnZfqn_qdnZ2d@giganews.com>
Content-Language: en-GB

On 03/04/2025 11:19, c186282 wrote:
> On 4/3/25 2:40 AM, Computer Nerd Kev wrote:
>> Carlos E.R. <robin_listas@es.invalid> wrote:
>>>
>>> What I do, is use some option that is only valid on version 4,
>>> so I force version 4.
>>
>> There's also the nfsvers=4 option.
> 
>    As noted somewhere else, I *do* see NFS4 in etab as
>    a filled-in default.
> 
>    Also, PRE-filled subdirs under the share are sent to
>    the clients properly, including file updates. The issue
>    is with re-mounting USB drives OVER empty folders that
>    were under the share folder at boot. Doesn't SEE the
>    changes, only what was originally there.
> 
>    Mounts/re-mounts don't seem THAT unusual in Linux, so
>    I'm kinda surprised NFS isn't dealing with it.
> 
>    Note external USB drives don't ALWAYS come up in the
>    same order ... kinda depends on which order they fully
>    init. Even a millisecond determines which will be
>    sda, sdb, etc ... gotta name, or tagfile, the drives
>    to make sure - Python can most easily find/parse that
>    kind of info. But that's NEXT week ....
> 
> 
Oh dear. You really haven't grasped this have you?
1. Use fstab to PERMANTLY mount them at boot time before NFS even come up
2. use their partition UUIDs in fstab  to associate  each partition with 
a defined mount point.

e.g.

PARTUUID=0916c1e1-d006-4b19-9378-d687271d3612  /home               ext4 
   defau
lts,noatime  0       1
PARTUUID=aec7525a-1e13-4a52-a23f-d8a0d17f6da7  /home/Media 
ext4
  defaults,noatime  0       1
PARTUUID=778a9e44-03 /backup ext4    defaults,noatime  0       1
PARTUUID=778a9e44-06 /backup2 ext4    defaults,noatime  0       1
PARTUUID=778a9e44-05 /home/Media/Unedited ext4 defaults,noatime  0       1

These are all USB connected SSD partitions. They are all exported by NFS 
without problems.


-- 
Renewable energy: Expensive solutions that don't work to a problem that 
doesn't exist instituted by self legalising protection rackets that 
don't protect,  masquerading as public servants who don't serve the public.