Growing your StartOS storage with mounted external volumes
Your server's data drive is no longer the limit. With StartOS 0.4.3, services can use storage on a NAS or an external drive, so your media library and photo archive don't have to fit inside the server.
Until now, everything a service used lived on the server's own data drive, and when that filled up, you needed a bigger drive. 0.4.3 adds shared volumes: folders that belong to you rather than to any one service, which you can hand to as many services as you like. A shared volume can be a share on your NAS, a drive plugged into your server, or a folder on the server itself.
What you can do with it
- Add a big drive. Plug an external drive into the server and give it to your services as a shared volume. Use a partition or a folder on one, or let StartOS format a fresh drive for you.
- Use the space on your NAS. Your services read and write files on a NAS share over the network, so the NAS's terabytes become theirs too.
- Play your movies from where they already are. Leave the media library on the NAS and point your media server at it. No copying everything onto the server first.
- Bring your photo archive along. Point your photo app at the folders you've been filling for years, wherever they live.
- Share one folder between services. A file manager to sort things into folders and a media server to play them, both looking at the same files, each with only the access it needs.
- Back up what's on them. Shared volumes go into StartOS backups alongside your services, encrypted, as items of their own.
How it works
You create a shared volume once, under System → Shared Volumes, then decide which services get it and how: No Access, Read or Read/write. A new volume starts with nobody having access, so nothing sees your files until you say so. One volume can go to several services, each with a different level of access.
Services opt in as their packages are updated. When one is ready, it gets a Shared Volumes entry on its page in StartOS, and that's where you'll find it.
Adding storage
An external drive
1. Plug the drive into your server.
2. Add it in StartOS. Go to System → Shared Volumes, click Add, then Select under External drive. Choose the Drive, then a Partition. To start fresh, choose Erase and format this drive instead: StartOS wipes it and creates a single Btrfs partition, ready to use.
StartOS suggests a Name from the partition's label or the drive's make and model, and you can change it. Path is optional: enter a folder such as media/photos to use just that folder, or leave it blank to use the whole drive. Click Save.
A NAS share
You'll need a NAS that offers SMB 3 (StartOS has no setting for older versions; if your NAS lets you set a minimum and maximum protocol, make sure SMB3 is allowed) and a NAS user just for StartOS with access to the share. If your services only need to read, make that user read-only on the NAS too.
1. Share the folder on the NAS. The StartOS docs have click-by-click steps for Synology, TrueNAS SCALE and TrueNAS CORE, as well as Mac, Windows and Linux: Backups → CIFS Share. They're written for a backup share, and the setup is the same. Write down the share's name rather than its full path on the NAS: on Synology, a folder at /volume1/Photos is the share Photos.
2. Add it in StartOS. Go to System → Shared Volumes, click Add, then Select under CIFS share. Fill in:
- Hostname: the NAS's IP address, its
.localname, or a full DNS name with a dot in it, such asnas.home.arpa. A bare name likenasis looked up as a Windows (NetBIOS) name, not through DNS. - Path: the share name, optionally followed by a folder inside it, such as
Photos/albums. Services see that folder and everything inside it, and nothing above it. - Username and Password: the StartOS user you made on the NAS.
Click Save. StartOS tests the connection on its next status check and shows the result in the volume's Status. If something's off, open Manage, fix the details and save again. Leave Password blank there to keep the one you entered.
Giving services access
In the volume's Manage dialog, set each service to Read or Read/write and click Save. You can also do this from a service's own Shared Volumes page. Then open the app: each service shows the volume in its own way, and its instructions in StartOS tell you where to look.
Tips
- Start with Read. A media server needs to play your movies, not edit them. Save Read/write for services that organize or create files.
- Use it for files, not databases. Shared volumes shine for media, photos and documents. A service's own database and settings stay on the server's data drive, where they belong. On a NAS share every file shows up owned by
nobody, which is fine for media and documents and no good for databases. - Keep the storage connected. Services can only reach the files while the drive is plugged in or the NAS is online.
- Formatting erases everything on the drive, StartOS backups included, so check what's on it first.
- Changed the NAS password? Update it in Manage, then restart any service that doesn't pick up the change by itself.
- Removing a drive or NAS volume leaves your files alone. StartOS just forgets about it. A local folder is different: removing it deletes it, so StartOS asks you to type its name first.
Backing up data on a shared volume
Shared volumes go into StartOS backups as items of their own, separate from the services that use them. Here's how that plays out with a common setup: a NAS share added as a shared volume, with Nextcloud given Read/write on it for your files.
Two items, not one
Backing up Nextcloud saves what lives on the server: its database, its settings and the rest of its own data. The files on the shared volume aren't part of it. They're only backed up if you tick the volume as well.
To back up both, go to System → Backups, click Create and choose a target. Tick Nextcloud under Services and the volume under Shared Volumes, click Done and enter your master password. No backup target yet? The StartOS docs cover adding one: Backups → Backup Targets.
Stop Nextcloud first
StartOS backs up services before volumes. Each service is paused while it's backed up and then started again, so by the time StartOS copies the volume, Nextcloud is running and can be changing files mid-copy. You'd end up with a database from one moment and files from later on.
The fix is easy: stop Nextcloud before you start the backup. StartOS backs up a stopped service and leaves it stopped, so nothing touches the volume while it's copied. Start Nextcloud again once the backup shows up in the history.
Plan for the size
A volume is copied in full every time, not just what changed, and the target keeps the previous copy until the new one is saved. Say Nextcloud has 500 GB of files on the volume: every backup reads all 500 GB from the NAS, and the target needs about 1 TB free for the moment both copies exist.
If the NAS is offline
A volume whose NAS can't be reached shows as Unavailable when you pick what to back up, and can't be ticked. If the NAS drops out partway through, that volume fails in the backup's report while everything else carries on. You won't be handed an empty copy that looks fine, but it's worth a look at Report after each backup.
Restoring
Restoring a volume brings the files back to the server, not the NAS: they become a new local folder on the server's data drive, with no service given access yet. So restoring 500 GB of files needs 500 GB free on the data drive. Give the new folder to Nextcloud, then choose it in Nextcloud's settings. To restore Nextcloud itself, uninstall it first, then restore it from the same backup.
If it's the server you lost and the NAS is fine, your files never went anywhere. Restore Nextcloud, give it the NAS share again, and leave the volume's backup where it is.
Don't back up the NAS to itself
It's tempting to keep the backup on the same NAS as the files. Don't. If the NAS dies, gets stolen or loses its storage pool, the files and their backup go together, and you've spent twice the space for nothing.
StartOS stops the obvious version of this. If the backup target is the same share as the volume, or a folder inside it, that volume fails with "The backup target overlaps this volume. Choose a target outside the volume." That holds even if you typed the NAS's name for one and its IP address for the other.
What StartOS can't see is how your NAS lays out its folders behind the share names. Say the NAS shares /volume1/data as Data, which you've given to Nextcloud, and /volume1/data/backups as Backups, which you've made a backup target. To StartOS those are two different shares. On the NAS, the backups sit inside Nextcloud's files, so every backup of the volume copies the previous backup along with it, and the backups grow each time until the NAS runs out of space. Check where each share really lives on the NAS before you set this up.
Here's where each kind of volume is better backed up:
| Your files live on | Back the volume up to |
|---|---|
| A NAS share | An external drive on the server, another NAS, or the NAS's own backup tools |
| An external drive | The NAS, or a second drive |
| A local folder | The NAS or an external drive |
If you let the NAS protect its own files, with its own snapshots or backups to another device, you can leave the volume unticked and back up just Nextcloud. That backup is small, and keeping it on the NAS still covers you if the server dies.
Under the hood
Curious where a service keeps its own data? Every service has one or more volumes of its own, on your server's data drive:
/media/startos/data/package-data/volumes/<service>/data/<volume>/
<service> is the service's short ID, such as bitcoind or nextcloud. To see how much room each one takes, SSH in and run:
sudo du -h --max-depth=1 /media/startos/data/package-data/volumes/ | sort -h
Stop a service before you change anything in its folder, and remember that uninstalling a service deletes its volumes. If a service won't launch and you want to remove it but keep its data, use Soft uninstall on its Service Launch Error card, and installing it again picks everything back up.
Coming soon to all good server closets
StartOS 0.4.3: now holds more than your server does.
NAS sold separately. Drives sold separately. Side effects may include re-sorting twenty years of photos at 2 a.m. and telling anyone who'll listen how many terabytes you've got now.
Ask your sysadmin if StartOS 0.4.3 is right for you. (You are your sysadmin.)
2026-11-21