ChannelD

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

ChannelD's Achievements

Noob

Noob (1/14)

4

Reputation

  1. I finally have a working FTP connection with my UnRaid NAS where the Mac is not treated as a read only device. The client I used allows me to browse and transfer files at almost the capacity of the network. Speeds are consistently high. This could be a viable alternative to using SAMBA.
  2. @Nano like your thinking. Please can you say what if any settings were used on the Mac side. Did you use a SMB share to your TrueNAS, FTP share, or rsync?
  3. My new Mac nsmb.conf file. Note the order of the parameters is important on my Intel MacPro with Sonoma 14.1.1. Recovered some performance but not like it was before Sonoma 14.1.1. I have made a new video on my findings to date and how to handle SMB better. Mac nsmb.conf file: [default] # /etc/nsmb.conf - macOS 11.3+ #----------------------------------------------------------------------------- # Additional information: # ----------------------- # https://support.apple.com/de-de/HT211927 # https://support.apple.com/en-us/HT208209 # https://apple.stackexchange.com/questions/309016/smb-share-deadlocks-since-high-sierra # https://photographylife.com/afp-vs-nfs-vs-smb-performance # https://support.apple.com/de-de/HT212277 # https://www.synoforum.com/threads/mac-clients-smb-cache-issues.7009/page-3 # UnRaid SMB extra configurations: # https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X # https://www.samba.org/samba/docs/current/man-html/vfs_fruit.8.html # # To speed up SMB file browsing, you can prevent macOS from reading .DS_Store files on # SMB shares. This makes the Finder use only basic information to immediately display # each folder's contents in alphanumeric order. # defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE # log out of your macOS account and log back in to apply #------------------------------------------------------------------------------ # Use NTFS streams if supported (Macs use two streams per file - ADS or "multi-fork") streams=yes # Set hard or soft mount of shares # Hard mount: a request is issued repeatedly until the request is satisfied # Soft mount: tried until completed, the retry limit is met or the timeout limit is met # Soft mount by default soft=yes # Disable packet signing to improve performance as no security issue on secure (non-infiltrated) network. # Note this is off by default from macOS 10.13.4 onwards although this is ambiguous (Apple HT205926) signing_required=no # Disable directory caching (ensures Finder folder contents display is up to date) dir_cache_off=yes # Disable local SMB caching # Can be set and then unset to clear SMB cache dir_cache_max_cnt=0 # Ensure desired SMB level and prevent SMB 1 (Apple HT211927) # Lock negotiation to SMB2/3 only # 7 == 0111 SMB 1/2/3 should be enabled # 6 == 0110 SMB 2/3 should be enabled # 4 == 0100 SMB 3 should be enabled protocol_vers_map=6 # No SMB1 = no NetBIOS (WINS) and it should be disabled port445=no_netbios # Turn off change notifications (Finder maintains folder list integrity) # notify_off=yes # SMB Multichannel behaviour (Apple HT212277) # Disable multichannel support because only one wired network connection mc_on=yes # Prefer wired networks over Wi-Fi networks that may advertise faster speeds than appropriate mc_prefer_wired=yes # Remember, after editing and saving with VI, to log out of macOS account and log back in again for the new settings to load
  4. @fka All was going well until sonoma 14.1.1. My transfer speeds and response times for drag dropping FCPX has dropped noticeably. Investigating atm but so far no luck with tweaks I have found and made. A plan to follow up very soon on my findings.
  5. Good to hear another confirmation that the settings described above are a step in the right direction. Since UnRaid news published a link to my video on my optimal samba settings I’ll leave a link to it here. If this is breaking any rules I’ll happily remove it.
  6. The file is called nsmb.conf. The MacOS used for the above settings is Sonoma. Unraid 6.12.4. The settings above may not be optimal for the OS so there could be a need to experiment. Still a lot better than out of the box. This thread is to try to summarise in one place the optimal settings. As for earlier versions of unraid and how that factors in is not known at moment. The settings now appear to depend on: * MacOS * Settings in the Mac’s nsmb.conf file * Unraid version * Unraid’s smb extras configuration Unfortunately a wide set of variables. Would be good to narrow this down again.
  7. From experience SMB settings need to be tweaked on both the Mac and the UnRaid box so they align for optimal efficiency. Have a look at the thread “optimal smb setting when using a Mac”. Agree out of the box UnRaid and a Mac was disappointing for me too. Here is a video on how I solved it “UnRaid NAS MacOS SMB SAMBA settings you need” on YouTube.
  8. In the Mac's /etc directory I created the file nsmb.conf. In that file I used the following settings: [default] signing_required=no <--- to match Unraid's setting 6.12.4 aapl_off=true max_resp_timeout=600 mc_prefer_wired=yes mc_on=yes <--- to match Unraid's setting 6.12.4 #notify_off=yes #file_ids_off=yes #dir_cache_off=yes You need to have root permissions or be able to use sudo to save this file. This is for MacOS Sonoma 14.0. I have seen a good practical improvement over the out of the box settings (Unraid + Mac not having this file to begin with) in the weeks I have set up a MacPro 4,1 with Unraid. Interested in hearing what you have for your settings. Settings to change in UnRaid's setting for SMB extra configurations, add (thanks to @faxxe71) the following: veto files = /._*/.DS_Store/ aio read size = 1 aio write size = 1 strict locking = No use sendfile = No server multi channel support = Yes readdir_attr:aapl_rsize = no readdir_attr:aapl_finder_info = no readdir_attr:aapl_max_access = no fruit:posix_rename = yes fruit:metadata = stream Also these and more setting explained here: https://wiki.samba.org/index.php/Configure_Samba_to_Work_Better_with_Mac_OS_X I was not aware of SAMBA Mac issues when researching Unraid. So when I set up my Unraid MacPro and starting testing it with my Macs, I was very disappointed with Unraid (and it is not being Unraid's fault).
  9. Due to poor SMB performance, no FTP (may Mac is read only to the Unraid FTP server - why?), I am looking at using an external SSD to copy 100's Gbs Final Cut Pro X projects to and from the Unraid array. After experimentation I have found that: 1. Copy to and from a USB SSD is possible and fast, fast as the Unraid array can read or write, ~130Mb/s read, ~60Mb/s write. (APFS is read only, exFAT is read and write so Samsung T5 SSD formatted as exFat) 2. A copy from the Unraid disks can only work from a single disk in the array i.e, disk3 to the external SSD disk. The external disk is listed as a option to copy to. 3. File Manager is not able to copy from a share called 'unraid' (made up of disk1 disk2 disk3 disk4) to /mnt/disks/samsungt5, only to other shares. The external disk is not available as a destination to copy to. 4. The FCPX projects' files are spread across disks in the array (expected) and a copy from a single disk in the array will likely only copy part of a FCPX project. Is there a way to copy a FCPX project (which is a folder of many files and folders) from a share to an externally mounted disk?
  10. <bumping up just in case as unraid emailed me “do I need to finish my post”>
  11. ChannelD

    add ssh user

    Based on Whiter's contribution I have the following manual steps to set up a second user to use SSH from a Mac. I did try the edit for unRaid /boot/config/go but I ended up bricking root access so had to create a new unRaid USB (using the existing USB stick - a good exercise in itself). I to am a one user unRaid (3 day old) user with a Mac. Reason is I have numerous hundreds of Gbs Final Cut Pro projects (which contain zillions of small and large files) to move/copy to (3 day old) MacPro Unraid system. SMB is not useable, to slow, unfortunately (for the many threads on the subject here). FTP cannot get to work using the default FTP server (read_only!?!) and not able to find/setup a FTP from the app store. Here are my manual steps: Delete the unRaid user Sid if exists already root@Tower:~# useradd sid root@Tower:~# passwd sid root@Tower:~# mkdir /home/sid root@Tower:~# chown sid:users /home/sid root@Tower:~# ls -al /home. <== checking root@Tower:~# cat /etc/passwd. <== checking root@Tower:~# groupadd -r sshusers root@Tower:~# usermod -a -G sshusers root root@Tower:~# usermod -a -G sshusers sid root@Tower:~# vi /etc/ssh/sshd_config ==> add AllowUsers root sid ==> add AllowGroups schusses root@Tower:~# /usr/sbin/sshd -t. <== check the config is valid root@Tower:~# echo $? 0 <== A 0 equal all ok, non zero means fix it root@Tower:~# /etc/rc.d/rc.sshd reload Re-add unRaid Sid user Try rsync using user sid ==> rsync -avhP ssh ~/Downloads/teleport/ [email protected]:/mnt/user/unraid/teleport/ And try root user rsync -avhP ssh ~/Downloads/teleport/ [email protected]:/mnt/user/unraid/teleport/
  12. Hi, (Sorry if this is a duplicate post, could not find the original, then signed up to the forum) Using the latest unRaid system (on a Mac) to be used with a Mac Ventura OSX. Established yes SMB is _SLOW_ so trying to use FTP. Using the default FTP server, a user share to /mnt/user/ftp, I have got FTP working from the Mac using Finder Cmd+k to mount a FTP point. Problem is it it READ_ONLY and I cannot establish as to why (read from /mnt/user/ftp but not write to it). Permissions are 777 for /mnt/user/ftp. So disabled the unRaid default server and installed CrushFTP10 (I cannot find ProFTPd in the App Store). Left its setting as default except the mount point which is set to share /mnt/user/ftp. When trying to mount the FTP from the Mac again using Finder Cmd+k, the Mac pops up a dialog "To many users connected try again later". In both I have written in the user bob's description ftpuser /mnt/user/ftp. If a can should use the default FTP server, how do I make it read and write? If I am to use another FTP server, which is the best to use? Do I need to change anything in CrushFTP10 to make logging in work? Is user bob's description ftpuser /mnt/user/ftp required? (needed for ProFTPd) Thank you your help would be appreciated.