<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs" -->

---
title: Network Mounting OctoPrint Data from a NAS | daily.dev
description: A guide to relocating OctoPrint data directories to a NAS using autofs network mounts and symbolic links. The approach replaces multiple individual folder...
canonical: https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Network Mounting OctoPrint Data from a NAS | daily.dev
og:description: A guide to relocating OctoPrint data directories to a NAS using autofs network mounts and symbolic links. The approach replaces multiple individual folder...
og:url: https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs
og:image: https://api.daily.dev/og/posts/LxakG1yBs.png
og:image:alt: Network Mounting OctoPrint Data from a NAS
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Network Mounting OctoPrint Data from a NAS

**[apalrd's adventures](https://daily.dev/sources/apalrd)** · 4 min read · 0 upvotes · 0 comments

## Summary

A guide to relocating OctoPrint data directories to a NAS using autofs network mounts and symbolic links. The approach replaces multiple individual folder mounts with a single share mount plus symlinks, solving issues with OctoLapse compatibility and enabling backup of folders not configurable through OctoPrint's UI. Covers autofs installation, SMB share configuration with permission flags needed for OctoLapse, and per-folder instructions for watched files, timelapse, uploads, logs, and backups.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.apalrd.net/posts/2022/octopi_nas>

## Questions this post answers

### How do I mount OctoPrint folders on a NAS using autofs on Raspberry Pi?

Mount a single SMB share via autofs, then use symbolic links to redirect individual OctoPrint directories to subdirectories on that share. Configure autofs by adding an entry to /etc/auto.master pointing to a shares file, then define the SMB share with noperm, dir_mode, and file_mode options. Use rsync to copy existing data before replacing each folder with a symlink.

_Makers running OctoPrint on NAS setups share configs and gotchas on daily.dev._

### Why does OctoLapse fail with chmod errors when using network mounts on OctoPrint?

OctoLapse attempts to chmod files in the timelapse temp folder, and if the network mount enforces local permissions, the chmod fails because OctoLapse does not own the files. Setting noperm, dir_mode, and file_mode in the autofs SMB share configuration causes the local system to ignore permissions, resolving the issue while the NAS still enforces its own permissions server-side.

_3D printing enthusiasts troubleshooting OctoLapse network issues find relevant fixes on daily.dev._

## Similar posts on daily.dev

- [How to Set Up an NFS Mount on Ubuntu \(Step-by-Step Guide\)](https://daily.dev/posts/how-to-set-up-an-nfs-mount-on-ubuntu-step-by-step-guide--djsnnlsya) · DigitalOcean Community · 0 upvotes · 0 comments
- [I stopped mounting every NAS folder and my file management actually got simpler](https://daily.dev/posts/i-stopped-mounting-every-nas-folder-and-my-file-management-actually-got-simpler-r8wl1tmjd) · XDA Developers · 0 upvotes · 0 comments
- [My NAS got simpler when I stopped overthinking whether to use SMB or NFS](https://daily.dev/posts/my-nas-got-simpler-when-i-stopped-overthinking-whether-to-use-smb-or-nfs-zaxlluxd2) · XDA Developers · 0 upvotes · 0 comments
- [Automate File Syncs from Your Server to Synology with n8n and rsync](https://daily.dev/posts/automate-file-syncs-from-your-server-to-synology-with-n8n-and-rsync-tungpqfdf) · Noted · 3 upvotes · 0 comments

---

Tags: [#raspberry-pi](https://daily.dev/tags/raspberry-pi)

[View this post on daily.dev](https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Network Mounting OctoPrint Data from a NAS","url":"https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs"},"datePublished":"2026-08-11T08:56:44.596Z","dateModified":"2026-08-11T09:39:02.949Z","description":"A guide to relocating OctoPrint data directories to a NAS using autofs network mounts and symbolic links. The approach replaces multiple individual folder...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c04d7ab69ec09b1edd68582dce7f97e1?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/c04d7ab69ec09b1edd68582dce7f97e1?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"apalrd's adventures","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"apalrd's adventures","logo":"https://media.daily.dev/image/upload/s--4zkx8dRj--/f_auto,q_auto/v1786438309/logos/apalrd?_a=BAMAMicg0","url":"https://daily.dev/sources/apalrd"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"raspberry-pi","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"apalrd's adventures","item":"https://daily.dev/sources/apalrd"},{"@type":"ListItem","position":3,"name":"Network Mounting OctoPrint Data from a NAS"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/network-mounting-octoprint-data-from-a-nas-lxakg1ybs#faq","mainEntity":[{"@type":"Question","name":"How do I mount OctoPrint folders on a NAS using autofs on Raspberry Pi?","acceptedAnswer":{"@type":"Answer","text":"Mount a single SMB share via autofs, then use symbolic links to redirect individual OctoPrint directories to subdirectories on that share. Configure autofs by adding an entry to /etc/auto.master pointing to a shares file, then define the SMB share with noperm, dir_mode, and file_mode options. Use rsync to copy existing data before replacing each folder with a symlink. Makers running OctoPrint on NAS setups share configs and gotchas on daily.dev."}},{"@type":"Question","name":"Why does OctoLapse fail with chmod errors when using network mounts on OctoPrint?","acceptedAnswer":{"@type":"Answer","text":"OctoLapse attempts to chmod files in the timelapse temp folder, and if the network mount enforces local permissions, the chmod fails because OctoLapse does not own the files. Setting noperm, dir_mode, and file_mode in the autofs SMB share configuration causes the local system to ignore permissions, resolving the issue while the NAS still enforces its own permissions server-side. 3D printing enthusiasts troubleshooting OctoLapse network issues find relevant fixes on daily.dev."}}]}
```

