HomeAboutMailing ListList Chatter /0/0 3.237.200.21

Current state of mounting remote filesystems

2020-08-10 by: Dan Lyke
From: Dan Lyke 
------------------------------------------------------

So we just bought Charlene a Mac Air, and in the process of migrating
her old Linux laptop to that, I'm realizing that all of my old schemes
for sharing a mount on the house server have degraded to the point
where I'm gonna have to read documentation.

I used to use NFS for this, and it worked as long as I kept user IDs
consistent across Linux machines, but didn't really do well with
conditionally mounting only when those machines were on the home
network, and eventually the changes in default permissions and config
files caught up with me and I said "fuck it" and went back to rsync
and USB sticks.

SAMBA has always seemed to be a permissions nightmare.

And, of course, the Mac brings an extra level of "who the hell knows?"
to the process.

scp and rsync are kinda working for me, but I realized today as I went
to use ffmpeg on the Mac and it wasn't there and I started to think
about how to get there that having an easy shared mount so that I can
run command-line jobs (like "run Amazon Transcribe on this video", or
"re-encode this audio", or whatever) from the server would be super
handy.

What's the current state of "I've got a Linux server, I want to share
some mounts to Linux and Mac laptops, and *maybe* a Windows VM
occasionally"?

Dan



=============================================================== From: Russell Campbell ------------------------------------------------------ Maybe this will help? At work we do this with SMB and AFP to connect to Synology NAS shares. = Synology DSM is "Linux" so =E2=80=A6? In the Finder on the Mac Command + K to mount the server and share Check the box to have it save the password Go to System Prefs, Users and Groups and add the mounted volume to the = Login items In the Connect to Server window (Command + K) or click on Go menu and = choose Connect to Server, you can connect your Mac to: =E2=80=A2 Mac computers that have file sharing turned on =E2=80=A2 Windows computers with shared folders =E2=80=A2 AirPort disks and Time Capsules =E2=80=A2 Servers on your network that use Apple Filing Protocol = (AFP) over TCP/IP =E2=80=A2 SMB/CIFS, NFS, FTP, and WebDAV services running on = UNIX, Linux, and Windows servers =E2=80=A2 FTP servers - Russell

=============================================================== From: Eric Wolf ------------------------------------------------------ Sadly... My procedure has been: Install DropBox. Put it all in DropBox. Over the years I've paid for various tools that are supposed to behave like DropBox via protocol Q across platforms X,Y,Z. In the end, DropBox works. Heck, I can even access my files on my Android device. But it is like $120 for 200GB. I just don't put media in there. -Eric -=--=---=----=----=---=--=-=--=---=----=---=--=-=- Eric B. Wolf 720-334-7734

=============================================================== From: James Bertelson ------------------------------------------------------ I=E2=80=99ve been using nextcloud for the same purpose lately. Same idea but= has the advantage of being self hosted so I can run it in a docker containe= r on my NAS. Nothing leaves my home network. If you=E2=80=99re a privacy ner= d with a home server it=E2=80=99s a solid option.=20 Sent from a mobile device e DropBox via protocol Q across platforms X,Y,Z. In the end, DropBox works. H= eck, I can even access my files on my Android device. =3D-

=============================================================== From: Ed King ------------------------------------------------------ I always use sshfs for LinuxLinux but I've never tried it for LinuxMac. Seems like it "should" work Maybe I'll boot up the iMac and give it a try... if I can force myself to put down this COBOL book for awhile.... What's the current state of "I've got a Linux server, I want to share some mounts to Linux and Mac laptops, and *maybe* a Windows VM occasionally"? Dan

=============================================================== From: Stephen Kraus ------------------------------------------------------ NFS is now supported on all major OS, but there's always SMBv3 :)

=============================================================== From: Dean Warren ------------------------------------------------------ Hey Stephen, and everyone else, Which would you prefer security-wise? I thought SMB was not the ideal security solution... Hope you have a great day, Dean Warren On Tue, Aug 11, 2020 at 8:20 AM Stephen Kraus wrote:

=============================================================== From: Stephen Kraus ------------------------------------------------------ SMB is fine as long as you are running v2 or better, v3 preferable. SSHFS is more secure, but compatibility is an issue. There is an SSHFS plugin for Windows 10 https://github.com/billziss-gh/sshfs-win

=============================================================== From: Dave Brockman ------------------------------------------------------ I thought we were discussing a home network. I personally wouldn't expose NFS or SMB across the Internet. SMBv3 is where you want to live (as long as you don't have a NAS with an ancient version of everything on it). SSHFS is probably the most secure, but it's been a long and painful journey on Windows. Cheers, -Dave

=============================================================== From: Stephen Kraus ------------------------------------------------------ Ack, no I thought we were talking about home network, too. No, never expose those to the internet, obviously. If you need a remote file system over the internet, consider Wireguard or OpenVPN.

=============================================================== From: Dean Warren ------------------------------------------------------ Was assuming the same-Home network. Thanks guys! Hope you have a great day, Dean Warren On Tue, Aug 11, 2020 at 11:25 AM Stephen Kraus wrote:

=============================================================== From: Billy ------------------------------------------------------ For home network, I=E2=80=99m using samba v2 and nfsV4 off zfs store. I=E2=80= =99m using samba in a container off regular mounts as Zfs smb shares on Linu= x doesn=E2=80=99t work as cleanly (I never got it to work). For the Mac, samba v2 seems to be the best bet performance wise vs security v= s permissions vs complexity. It just works (tm). So, NFS Linux Client -> Linux server=20 SMB Mac client -> Linux server --b