This is not really a Bacula question but I'm hoping someone has come across
this when using NFS to mount a NAS storage device.

As I understand it, the UID:GID on the remote storage and the local SD
daemon must match or permission denied results. My NAS has NFS v3 and this
can't be changed.

I can create a new user on the NAS but I have no control over what UID:GID
it chooses and will not be the same as the SD daemon user:group.

I believe NFS v3 doesn't have the capability to map UIDs; that facility is
v4 only.

Has anyone found a workaround for this?

Chris Wilkinson

On Sun, 30 Apr 2023, 11:15 am Dr. Thorsten Brandau, <
thorsten.bran...@brace.de> wrote:

> Cifs will be probably faster today. If there is a samba v4 installed
>
> ----- Originale Nachricht -----
> Von: Chris Wilkinson <winstonia...@gmail.com>
> Gesendet: 30.04.23 - 11:28
> An: "Dr. Thorsten Brandau" <thorsten.bran...@brace.de>
> Betreff: Re: [Bacula-users] Storage protocols advice sought
>
> > Many thanks for those thoughts. The consensus seems to be CIFS or NFS, v4
> > if possible. I've done CIFS previously and found it reasonably easy to
> set
> > up. I've not done NFS so I'll need to play around with it to find the
> > pitfalls.
> >
> > I'm still not clear which is likely to run quickest which I suppose
> depends
> > on the protocol overhead.
> >
> > Thanks All
> > -Chris-
> >
> > On Sun, 30 Apr 2023, 06:03 Dr. Thorsten Brandau, <
> thorsten.bran...@brace.de>
> > wrote:
> >
> >>
> >> Bill Arlofski via Bacula-users schrieb am 30.04.23 um 01:04:
> >>
> >> On 4/29/23 16:33, Chris Wilkinson wrote:
> >>
> >> I am about to set up a NAS on a local lan as a storage device. The NAS
> >> offers CIFS, NFS, (S)FTP, WEBDAV as supported
> >> protocols. The NAS OS is pretty much locked down so there isn't really
> an
> >> option to install anything additional. I know that
> >> CIFS and NFS can be locally mounted but wonder if these any of these
> other
> >> options could be used and whether they might offer
> >> faster backups. Security is not a big concern as it will be on the local
> >> LAN only.
> >>
> >> Any advice/experience would be welcomed.
> >>
> >> Chris Wilkinson
> >>
> >>
> >>
> >> Hello Chris,
> >>
> >> If the NAS/SAN does not offer iSCSI, then go with NFS.
> >>
> >> I'd say save yourself the headaches associated with CIFS. :)
> >>
> >>
> >> NFS is pretty fast, however, only NFS4 offers encryption on the share.
> >> CIFS as a samba server should offer SMB3.2 with encryption per share on
> the
> >> line, plus you probably can use the UNIX extensions. There are
> especially
> >> with multiple users and more complex rights management less problems
> with
> >> SAMBA/CIFS than with NFS.
> >>
> >> Also, using extensively links for example is a lot easier when you share
> >> them via CIFS as they will be transparent. in NFS you would have to
> share
> >> the full drive.
> >>
> >> Sharing the NFS drive as root makes more problem security wise than
> >> shareing CIFS drives.
> >>
> >> Both will need planning and thinking before implementing. SFTP and
> WEBDAV
> >> are no good options for permanent drive sharing.
> >>
> >> Cheers
> >>
> >> T
> >> _______________________________________________
> >> Bacula-users mailing list
> >> Bacula-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >>
>
>
> --
> Mit freundlichen Grüßen/Sincerely Yours/Avec mes meilleurs
> salutations/Yoroshiku onegai-shimasu
> BRACE GmbH
>
> Dr. Thorsten Brandau
> * Diese Email und die Anhänge sind vetraulich ++ This email and its
> attachments are confidential *
> -----------------
> Sent from my mobile
> BRACE GmbH - Dr. Thorsten Brandau - Am Mittelberg 5 - 63791 Karlstein -
> Germany - www.brace.de
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to