Liste des Groupes | Revenir à col misc |
On 4/2/25 1:04 PM, The Natural Philosopher wrote:There is an insane way, using systemd to delay it.On 02/04/2025 12:18, Carlos E.R. wrote:Ok, tried your param list ... but still nada onOn 2025-04-02 12:48, The Natural Philosopher wrote:So he is trying to export a mounted partition?On 02/04/2025 11:35, Carlos E.R. wrote:>On 2025-04-02 03:29, c186282 wrote:I missed the earlier part, but mount | grep nfs...shows what is mountedSo ... any insights on how to get NFS to>
"see" whatever IS mounted to the share point
AT THE MOMENT ???
Restart NFS manually after the manual mount of external media.
>
Or, define the usb mounts in fstab, and exports. But then, you can not boot without the usb media.
>
>
or mount | grep mount-point...
>
The point he syas is that when exporting "/media/<user>/usbsomething", the clients can not see the files, only the mount point.
>
>
I always start with ...
>
*(ro,sync,no_root_squash,no_subtree_check)
>
In /etc/exports for the least restricted export
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.
Have a 4-drive external USB fixture. The drives USUALLYWhy not put them in your fstab and explicitly mount them at boot time?
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.
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.
BUT, NFS just doesn't SEE that - only what was thereNFS comes up after the system scans fstab
(nothing) a microsec after the system boots. Have NOT
been able to use exportfs to change that no matter
the params.
It's vexing - I want to use the USB cluster as NASSure did with me. I used to export a CD ROM drive
yet this behavior is in the way. BTW there can also
be other, more interesting, uses to being able to
mount/umount/remount different USB drives and such
in a dynamic manner ... maybe soon.
Have a crontab now that tries to remount the USBs
to the NAS folders every 5 minutes. Doesn't help.
Anyway, not sure NFS can *do* what I need it to do.
It's great at sharing pre-existing pre-stuffed
subdirs - have security cam backups going there -
but so far just WON'T handle later mount statements.
As said somewhere, have had horrible probs with SAMBASamba is for people who run M£ or Appleshit.
in the latest distros - all the online advice and past
experience do NOT get around permissions issues. You
can see the SAMBA share is *there*, just not log on.
They CHANGED something recently and it's ill-documented.
SAMBA *can* cope with the to-the-second mounts, have
used it that way before, even INTERNALLY on a NAS
box so backup pgms would work easily.
Les messages affichés proviennent d'usenet.