seanshpark / macOS

problems and solutions
MIT License
0 stars 0 forks source link

Mount linux share (NFS, ...) #7

Open seanshpark opened 2 years ago

seanshpark commented 2 years ago

Mounting linux nfs share on Monterey. --> not working as expected

Using macFUSE --> abandoned

seanshpark commented 2 years ago

export settings in linux

/etc/exports

/share 192.168.1.0/24(rw,sync,no_subtree_check,no_root_squash)

mount in macOS

mount_nfs -v -v -v -o vers=4,nfc,tcp,resvport,sync linux:/share /whatever/share

issue

UID/GUID is that of linux(1000), which is NOT writable in Mac(501)

seanshpark commented 2 years ago

Using macFUSE

https://github.com/osxfuse/osxfuse

seanshpark commented 2 years ago

SSHFS on macFUSE

Download and install from https://github.com/osxfuse/sshfs/releases

Need to enable extension

Please open the Security & Privacy System Preferences pane, go to the General preferences and allow loading system software from developer "Benjamin Fleischer".

To enable system extensions, you need to modify your security settings in the Recovery environment.

To do this, shut down your system. Then press and hold the Touch ID or power button to launch Startup Security Utility. In Startup Security Utility, enable kernel extensions from the Security Policy button.

Result

mount was unstable and system didn't respond.

My ext HDD mount took is slow and takes about a minute, which was instant before. --> Backup, Format, Restore: now mount is normal, fast!

uninstalled the whole thing; not sure the system is all clean.