Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #66844

Re: Here's One - NFS - Mounting Over Share = Nada

From c186282 <c186282@nnada.net>
Subject Re: Here's One - NFS - Mounting Over Share = Nada
Newsgroups comp.os.linux.misc
References (2 earlier) <vsj4l2$1jt3k$4@dont-email.me> <61jvblx7ff.ln2@Telcontar.valinor> <vsjqni$2bgo0$1@dont-email.me> <FLadnWvzcO68x3P6nZ2dnZfqnPidnZ2d@giganews.com> <68a2clxf62.ln2@Telcontar.valinor>
Date 2025-04-03 11:27 -0400
Message-ID <pImdnVzSPJVPNXP6nZ2dnZfqn_GdnZ2d@giganews.com> (permalink)

Show all headers | View raw


On 4/3/25 8:07 AM, Carlos E.R. wrote:
> On 2025-04-03 11:51, c186282 wrote:
>> On 4/2/25 1:04 PM, The Natural Philosopher wrote:
>>> On 02/04/2025 12:18, Carlos E.R. wrote:
>>>> On 2025-04-02 12:48, The Natural Philosopher wrote:
> 
> 
>>> I always start with ...
>>>
>>> *(ro,sync,no_root_squash,no_subtree_check)
>>>
>>> In /etc/exports for the least restricted export
>>
>>    Ok, tried your param list ... but still nada on
>>    the later-login mounts. Exportfs adds a bunch of
>>    other defaults to etab.
>>
>>    It's VERY annoying.
>>
>>    As best I can tell, NFS cuts in VERY early and there
>>    is no sane way to stop/delay it. As such it ONLY sees
>>    the original, empty, folder we are later gonna
>>    remount the USBs to.
> 
> It is working fine for me. You need "nohide" or version 4.
> 
>>
>>    Have a 4-drive external USB fixture. The drives USUALLY
>>    come up in order, but experience sez they won't ALWAYS
>>    do that. Depends on how quick the drives initialize,
>>    and there's one magnetic in the mix. sda/sdb/etc may
>>    not ALWAYS, reliably, be the same physical drives.
>>    A Python script can more easily probe/parse info that
>>    can individually identify, that's the next stage.
> 
> So, do not use sda/sdb. Use persistent naming.
> 
> 
>>    Anyway, the drives (sometimes) come up in /media/<user>
>>    and I have a mount statement that mounts them in my
>>    NFS share dir, under the appropriate sub-folder.
> 
> Define them in fstab.

   For you and rbowman ...

   Here's what my boxes look like now :

. . . . .

server

/etc/exports :

/home/nas/shar 192.168.0.0/24(rw,sync,no_root_squash,no_subtree_check)

/etc/fstab :

LABEL=ustor1 /home/nas/shar/qshar1 ext4 defaults,_netdev 0 0
LABEL=ustor2 /home/nas/shar/qshar2 ext4 defaults,_netdev 0 0


client

/etc/fstab :

192.168.0.121:/home/nas/shar /mnt/shar nfs defaults, 
timeo=900,retrans=5,_netdev 0 0

. . . . .

   Results - ON the server you can see both of the USB drives,
   so they ARE mounting where instructed. There is also a
   third subfolder under /shar that's directly written to by
   a script on the server box.

   On the CLIENT ... you can read/write to that third folder
   just fine. However the other two, the shares of the USB
   drives mounted on the server to, /home/nas/shar/qshar1 and
   /home/nas/shar/qshar2, are just BLANK.

   All permissions, server and client, are very generous
   for testing purposes - could restrict a bit later.

   MAY try sharing each folder under /shar individually
   rather that trying to share just /shar and hoping
   everything under it gets carried over - which it doesn't.

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-01 21:29 -0400
  Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-02 12:35 +0200
    Re: Here's One - NFS - Mounting Over Share = Nada The Natural Philosopher <tnp@invalid.invalid> - 2025-04-02 11:48 +0100
      Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-02 13:18 +0200
        Re: Here's One - NFS - Mounting Over Share = Nada The Natural Philosopher <tnp@invalid.invalid> - 2025-04-02 18:04 +0100
          Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-03 05:51 -0400
            Re: Here's One - NFS - Mounting Over Share = Nada The Natural Philosopher <tnp@invalid.invalid> - 2025-04-03 11:08 +0100
            Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-03 14:07 +0200
              Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-03 11:27 -0400
                Re: Here's One - NFS - Mounting Over Share = Nada Ralf Fassel <ralfixx@gmx.de> - 2025-04-03 18:36 +0200
                Re: Here's One - NFS - Mounting Over Share = Nada The Natural Philosopher <tnp@invalid.invalid> - 2025-04-03 18:09 +0100
                Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-03 16:42 -0400
                Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-03 15:27 -0400
                Re: Here's One - NFS - Mounting Over Share = Nada The Natural Philosopher <tnp@invalid.invalid> - 2025-04-03 18:08 +0100
                Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-03 20:48 +0200
                Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-03 15:49 -0400
  Re: Here's One - NFS - Mounting Over Share = Nada vallor <vallor@cultnix.org> - 2025-04-02 10:49 +0000
    Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-02 07:12 -0400
    Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-02 13:14 +0200
      Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-02 07:39 -0400
        Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-02 14:19 +0200
          Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-02 08:38 -0400
            Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-02 15:30 +0200
      Re: Here's One - NFS - Mounting Over Share = Nada vallor <vallor@cultnix.org> - 2025-04-02 11:40 +0000
        Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-02 08:08 -0400
          Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-02 14:25 +0200
        Re: Here's One - NFS - Mounting Over Share = Nada "Carlos E.R." <robin_listas@es.invalid> - 2025-04-02 14:15 +0200
          Re: Here's One - NFS - Mounting Over Share = Nada Computer Nerd Kev <not@telling.you.invalid> - 2025-04-03 16:40 +1000
            Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-03 06:19 -0400
              Re: Here's One - NFS - Mounting Over Share = Nada The Natural Philosopher <tnp@invalid.invalid> - 2025-04-03 12:03 +0100
                Re: Here's One - NFS - Mounting Over Share = Nada c186282 <c186282@nnada.net> - 2025-04-03 07:27 -0400
                Re: Here's One - NFS - Mounting Over Share = Nada The Natural Philosopher <tnp@invalid.invalid> - 2025-04-03 12:38 +0100

csiph-web