CS01-HS

Members
  • Posts

    475
  • Joined

  • Last visited

Everything posted by CS01-HS

  1. You're right, mine too. They must have changed it. (My punishment for saying "just works") I've replaced the simple ls: ls ${TRANSCODE_DIR}/*.ts -1t | tail -${BATCH_SIZE} | xargs rm with a find: find ${TRANSCODE_DIR} -type f -name "*.ts" -exec ls -1t "{}" + | tail -${BATCH_SIZE} | xargs rm to work around it. I'll update my initial post unless you have something cleaner?
  2. Just a note because it threw me off - restarting samba didn't apply my /(flash|boot)/config/smb-fruit.conf changes. Stopping the array and restarting did though.
  3. Still using them. I haven't found a better solution but I haven't looked, this "just works." It's possible Emby fixed their garbage collection problem so it's no longer necessary. I've tweaked the scripts slightly for better error-handling (initial post edited with updated scripts)
  4. I finally got around to testing this with an iPhone syncing to an unRAID Mac VM - works beautifully. The big warning banner about missing usbip_host and vhci_hcd modules was a little confusing because neither seems necessary but otherwise straightforward. Great job, thank you.
  5. I use the Mover Tuning plugin to keep all my .DS_Store files on the (SSD) Cache. I don't know whether that's as fast as disabling them entirely. None of these tweaks have made SMB as fast and reliable as AFP unfortunately. How slow is extremely slow? For reference I get about 25MB/s for large transfers over 802.11n. I'd really like to know whether these performance issues apply to SMB in general with mac clients or whether they're specific to unraid. Does anyone have another high-performance NAS to test against and compare?
  6. Assuming the speed bottleneck is array write you could use the CA Auto Turbo Write Mode plugin to enable Turbo mode on a schedule coincident with your backup.
  7. So far so good. A couple of minor problems I haven't dug into: – I see this in the log, not sure what's causing it. kernel: Attempt to set a LOCK_MAND lock via flock(2). This support has been removed and the request ignored. – Nerd Pack hangs on retrieving plugin information
  8. Looks like this problem is Mac-specific. To test I setup a Windows VM – permission seem fine (files read/write, no execute)
  9. Here's a test comparing unRAID's SMB behavior to my Raspberry Pi's. /Volumes/Download/ is the smb-mounted unRAID share /Volumes/Website/ is the smb-mounted Pi share In both cases default is the logged-in smb user. unRAID [macbook]:~ $ touch x [macbook]:~ $ ls -l x -rw-r--r-- 1 default staff 0 Jul 10 12:01 x [macbook]:~ $ cp x /Volumes/Download/ [macbook]:~ $ ls -l /Volumes/Download/x -rwx------ 1 default staff 0 Jul 10 12:01 /Volumes/Download/x [macbook]:~ $ cp /Volumes/Download/x . [macbook]:~ $ ls -l x -rwx------ 1 default staff 0 Jul 10 12:01 x Raspberry Pi (samba package) [macbook]:~ $ touch y [macbook]:~ $ ls -l y -rw-r--r-- 1 default staff 0 Jul 10 12:20 y [macbook]:~ $ cp y /Volumes/Website/ [macbook]:~ $ ls -l /Volumes/Website/y -rw-r--r-- 1 default staff 0 Jul 10 12:20 /Volumes/Website/y [macbook]:~ $ cp /Volumes/Website/y . [macbook]:~ $ ls -l y -rw-r--r-- 1 default staff 0 Jul 10 12:21 y [macbook]:~ $ chmod a+x y [macbook]:~ $ ls -l y -rwxr-xr-x 1 default staff 0 Jul 10 12:21 y [macbook]:~ $ cp y /Volumes/Website/ [macbook]:~ $ ls -l /Volumes/Website/y -rwxr-xr-x 1 default staff 0 Jul 10 12:21 /Volumes/Website/y Anyone?
  10. Problem persists even after disabling my custom configuration. I found a number of users reporting similar samba problems, some with windows https://ubuntuforums.org/showthread.php?t=2414960 I'm out of my depth at this point but curious if it's working for anyone, windows, mac or otherwise.
  11. Is it normal that all files copied to or from an unraid share have permission -rwx------ ? Create file locally and copy to mounted unraid share Public: [macbook-pro]:~/Desktop $ touch x [macbook-pro]:~/Desktop $ ls -l x -rw-r--r-- 1 fred staff 0 Jul 1 09:13 x [macbook-pro]:~/Desktop $ cp x /Volumes/Public/ [macbook-pro]:~/Desktop $ ls -l /Volumes/Public/x -rwx------ 1 fred staff 0 Jul 1 09:14 /Volumes/Public/x Examine file's permissions on unraid server NAS: [macbook-pro]:~/Desktop $ ssh root@NAS Last login: Fri Jul 1 08:56:17 2022 from 10.0.1.3 Linux 5.15.46-Unraid. [root@NAS]:~# ls -l /mnt/user/Public/x -rw-rw-rw- 1 fred users 0 Jul 1 09:14 /mnt/user/Public/x I've tweaked my samba config to resolve some mac-specific issues so I don't know whether this behavior's default or a consequence of my settings.
  12. I filed this report for a pre-release of 6.9.2 (I believe), thread below, but it's still broken in 6.10 stable.
  13. +1 Performance was much better with AFP before it was dropped (I think in 6.9) Finder sometimes takes 10-20 seconds to list a directory with a dozen files on a cache-only share. I assumed it was generally poor SMB performance in MacOS but maybe not. I've tried all the recommended tweaks, client and server, but it's still pretty poor. Relatedly, has search from MacOS clients (which hasn't worked since last November) been fixed in the recent betas? I'd think that'd be a pretty major issue but I don't see many complaints.
  14. The interface recommends a monthly balance but my schedules are based on day-of-week. Adding "First Monday", "First Tuesday", etc. as an option would be handy.
  15. With 6.9 I had to tweak unRAID's sdspin to make USB spindown work. I don't know whether this solution's generic and I haven't tested with 6.10 sdspin is a critical script so if you tweak it make a backup and be careful. Hope it helps. Edit: this one also may be relevant. Good luck.
  16. Now I wonder if Speed "Unavailable" for recent (and historical) runs is due to the plugin. Very minor issue either way.
  17. Ha! Well that explains it, thanks.
  18. Unraid seems to be logging scheduled checks as manual (I'm running 6.10.0-rc4.) I noticed it because my scheduled check, which should have paused in the morning, was still running. (I don't have it set to pause manual checks.) Debug log from scheduled check: Apr 7 00:05:01 NAS Parity Check Tuning: DEBUG: Manual Non-Correcting Parity Check running Apr 7 00:05:01 NAS Parity Check Tuning: DEBUG: Resume request Apr 7 00:05:01 NAS Parity Check Tuning: DEBUG: ... Manual Non-Correcting Parity Check already running Apr 7 00:07:01 NAS Parity Check Tuning: DEBUG: Manual Non-Correcting Parity Check running Apr 7 00:07:01 NAS Parity Check Tuning: DEBUG: array drives=4, hot=0, warm=0, cool=4 Apr 7 00:07:01 NAS Parity Check Tuning: DEBUG: All array drives below temperature threshold for a Pause The plugin's reporting matches unraid's history: so I doubt it's a plugin problem, but I'm posting here because unless you're using it you probably won't notice. Anyone else seeing this?
  19. Many updates so you might experience some issues but it's available: But if you'd like to try it back up your flash then go to Tools -> Update OS and change the branch from stable to next. Note: Even with this version if I have a folder open in Finder and another process or user moves those files, they often appear in the original folder in my Finder window until I force a refresh by navigating to a different folder then navigating back (as I described in my first reply.)
  20. I've had similar issues on MacOS. Try this: Create a folder and drag and drop a file in it Navigate to the folder's parent directory, then back to the folder You should see the new file. MacOS doesn't work well with the version of samba in 6.9.2. Another issue: search doesn't work. 6.10.0-rc4, which includes a later samba version, seems better but I haven't had much time to test.
  21. Ah, I assumed shfs intercepted and translated the command. I can see how that wouldn't bite me if I were only dealing with a single cache pool. Thanks, looking forward to the plugin!
  22. Running 6.10.0-rc2 I have two shares, call them A and B and two cache pools, call them A' and B' Share A is set to Cache: Yes, with Cache Pool A' Share B is set to Cache: Only, with Cache Pool B' I wanted to move files from Share A to Share B All files resided in Share A's cache. I opened Krusader (Host Path: /mnt -> Container Path: /unraid) With two panels: 1. /unraid/user/A/x/ 2. /unraid/user/B/y/ and moved files from Panel 1 to Panel 2 (Share A to Share B) But instead of placing them in share B's cache, unRAID created /B/y/ in share A's cache and placed them there. Is that a bug, misconfiguration, user error?
  23. I wish I'd investigated more before "fixing" it but I noticed my cache was much fuller than it should be. Recycle Bin reported 11GB used on my (cache-enabled) Download share but according Krusader it was actually 260GB: Emptying the share's Recycle Bin from the settings page got it down to 0. Anyone else seen that? (I have mover tuning setup to exclude .Recycle.Bin dirs but I don't think that would affect it.)
  24. I've been running v1.23.2 because H265 QSV encoding fails in the later versions. Comparing the conversion logs I see the later versions attempt to use the (newly-added) LowPower option: v1.23.2 [11:17:13] hb_display_init: using VA driver 'iHD' libva info: VA-API version 1.10.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_10 libva info: va_openDriver() returns 0 [11:17:13] encqsvInit: using encode-only path latest [11:07:46] hb_display_init: using VA driver 'iHD' libva info: VA-API version 1.12.0 libva info: User environment variable requested driver 'iHD' libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so libva info: Found init function __vaDriverInit_1_12 libva info: va_openDriver() returns 0 [11:07:46] encqsvInit: MFXVideoENCODE_Init failed (-3) [11:07:46] encqsvInit: using encode-only (LowPower) path ... [11:07:46] Failure to initialise thread 'Quick Sync Video encoder (Intel Media SDK)' I saw a suggestion here to disable it: https://github.com/HandBrake/HandBrake/issues/3270#issuecomment-744087448 which I believe I should be able to do by passing -x lowpower=0 to the container template variable AUTOMATED_CONVERSION_HANDBRAKE_CUSTOM_ARGS But it doesn't seem to have an effect, I see the same reference to encode-only (LowPower) path in the conversion log. Any suggestions? Is there a way to get the CLI equivalent of the GUI command so I could run it manually and experiment?
  25. My unraid server uses shucked Seagate 2.5" drives (ST5000LM000.) Next to it I have another device with a 3.5" Seagate Ironwolf. When the 3.5" is spinning (and when it's reading and writing) I can hear it. With the 2.5" I can't tell, silent.