Why Does Rhino Not Work with My NAS?

You might be right. The NAS I am saving to is 4 years older than the one that seems to work.

First, make sure your NAS firmware is up to date.

Over the past year, Windows has released some updates to block access to older network protocols, such as Samba 1.0 (considered insecure).

This has caused many problems with older operating systems and devices.

Therefore, something on your NAS may be preventing proper communication with Windows 11 and blocking file renaming or temporary file management.

Both Qnap NAS have the curent update firmware running. Just veriefied and compared settings.
Why should any NAS refuse to rename or replace a file while it allows ANY other program to do so?

That is not accurate, Rhino has it’s own backup file processing system that is not handled by the OS. It also has an autosaving system. So there might be something with the timing of these operations on old NAS systems, I don’t know. You can maybe figure that out by running some sort of HDD speed analysis test that checks read and write speed + access speed. (Guessing here)

But now you know you need to use your NAS as a backup and the other one as a work drive.. :confused:
I would not hold my breath for McNeel to fix anything relating old NAS’s.

There’s no particular reason… but as you can see, one works and the other doesn’t… I have two Synologies and two servers, and neither has any problems saving/exporting Rhino files… so I don’t think it’s your fault or McNeel’s.

If the NAS has the same operating system (same firmware) as the one you’re using and all updates are installed, I recommend restoring it to factory settings to remove any configurations that may have been enabled accidentally.

As Holo said, working on a NAS that sometimes won’t let you save your work isn’t reliable (maybe at some point it even decides to block access to saved files).

Have you asked QNAP support if they’re aware of this issue?

If restoring doesn’t fix the problem, then you’ll know you’ve tried everything…

I will not touch my NAS and scramble settings just for the sake of Rhino. I will simply save files locally or on different NAS or move there by backup. Don“t worry. Why should I touch a running system with many PCs just for this. I hoped there is a simple setting in Rhino that has been changed since the last update. Oh well, just forget this. Thank you all for your help!

Because obviously something is wrong and it’s not with Rhino–none of this stuff is the responsibility of your software, Rhino does not ā€œcareā€ where you are saving anything, that’s between your PC OS and your NAS–Rhino is just what’s illustrating it. That you have noticed. So far.

You’re welcome!

Hi Walter,

Let’s try and diagnose this with some facts. First question: Which OS does each of your NAS use? (QNAP offer choices, don’t assume that units from different eras are the same)

Are you silently stating in between posts and lines that this has not been a problem before updating to the latest version of Rhino 8? If so that changes the picture quite a bit.

Anyway, we are in the days of AI…
I dropped Claude the question and it suggests checking that SMB 2 or 3 are active on the QNAP.

Read the question and answer here:

Question

Hi, do you know how Rhino saves it’s files and handles backups? A user states he has problems saving to a Qnap NAS, but only from Rhino and I wonder if can be due to how Rhino works on a temporary file and replaces the old only when the first temp is saved, and that this file renaming and handling can be too fast for what the NAS allows. There used to be some issues with Rhino saving to Dropbox folders back in the early days of cloud storage. What do you think?

Answer

Your instinct is spot on, and it’s well documented in the Rhino community. Here’s a full breakdown:


How Rhino saves files

When a Rhino model is saved to a .3dm filename that already exists, the original is renamed to .3dmbak. Rhino But more importantly for your problem, Rhino uses a write-temp-then-rename pattern: it writes the new data to a temporary file first, then renames that temp file over the existing .3dm. This is a common safe-save pattern, but it means a successful save involves at minimum two filesystem operations on the target location — a write and a rename/replace.

Rhino also creates lock files (<filename>.3dm.rhl) to let other instances of Rhino know that a file is in use. Rhino So during a save you can have temp files, lock files, the backup .3dmbak, and the final .3dm all being juggled in quick succession.


The known ā€œtemporary file could not be renamedā€ error

This is a widely reported issue on the McNeel forums. The error message says the save failed because ā€œthe temporary file could not be renamed.ā€ After this happens, trying to save again gives a read-only dialog, forcing the user to use Save As with a different file name. McNeel Forum

There are multiple threads going back through Rhino 6, 7, and 8 all hitting this same rename failure. McNeel Forum So yes — the rename step is the fragile point, and it’s exactly what you suspected.


Why a NAS (especially QNAP over SMB) makes this worse

Your analysis is very likely correct. The core issues are:

  1. SMB rename atomicity: The atomic ā€œrename over existing fileā€ operation that Rhino relies on is well-supported on local NTFS, but SMB implementations — particularly on NAS devices — can handle this differently. QNAP’s Samba layer may not support the same atomic replace semantics, causing the rename to either fail or take long enough that Rhino times out or sees a conflict.
  2. File locking over SMB: Using more than one protocol (like AFP and SMB simultaneously) on a NAS share can result in permission discrepancies and rename/delete failures. SMB locking behavior can itself cause issues with file operations. Studionetworksolutions Even with just SMB, QNAP’s oplock (opportunistic locking) settings affect whether a client can perform atomic renames.
  3. QNAP firmware bugs with SMB file operations: There have been QNAP firmware bugs specifically around SMB file operations — one firmware release noted a fix for ā€œan issue where some users could not upload a file via SMB,ā€ and the problem returned with a later firmware version. QNAP NAS Community Forum This shows the SMB layer on QNAP is not always stable with file rename/replace operations.

The Dropbox parallel is very apt

The Dropbox problems you’re thinking of were the exact same mechanism — Dropbox’s sync agent would hold a file handle open or lock the file briefly while syncing, which interfered with the rename step. Rhino’s save would fail because it couldn’t atomically replace the existing file. A NAS over SMB can cause the same issue either through locking behavior, latency, or the NAS Samba layer not properly supporting the Windows MoveFileEx / MOVEFILE_REPLACE_EXISTING semantics.


What to try/recommend

  • Check QNAP SMB settings: Ensure SMB2 or SMB3 is being used (not SMB1), and check oplock settings. Disabling opportunistic locking on the share can sometimes help with creative applications.
  • Check QNAP firmware: Update to the latest firmware, as SMB-related bugs have been fixed in various releases.
  • Disable the .3dmbak backup option in Rhino: In Options → Files, disabling the automatic backup file creation removes one of the rename operations, which may reduce the chance of collision.
  • Avoid saving directly to the NAS during active work: Save locally and sync/copy to the NAS, much like the eventual recommendation for Dropbox was to save outside the sync folder.
  • Check if the share has the Recycle Bin feature enabled on QNAP: This can intercept the deletion/rename of old files and add latency or cause errors.

The root cause is almost certainly Rhino’s temp-file-rename save pattern colliding with SMB file operation semantics on the QNAP. It’s not a Rhino bug per se, it’s a mismatch between how Rhino expects atomic file replacement to work and what the NAS actually delivers.

One of the links Claude referred to was this thread:

Where this seems to have worked for Gianpietro:

Good luck, hope it helps, and keep on trusting your instincts.

Oh, wow! Will check all this.
My system is QTS 5.1.7.2770
Will take a while to read and figure out, but that seems to get closer.

And yes, an older version of Rhino worked/works well

Seems I found the problem.
I activated SMB settings on Qnap to ā€œEnable Asynchronous I/Oā€


Then created a new Rhino file, saved, changed something, saved again, made solid, exported stp sucessfully.
Rechecked earlier made file and exported stp sucessfully.
Step files look ok and can be used to print 3D as well.
So that is solved!

Excellent, and thanks for reporting back, that’s valuable for the forum.