brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: never create two Unraid shares whose names differ only in capitals

Unraid
~/tips/tip-unraid-share-names-case

/mnt/user/Media

Avoid duplicate Unraid shares that only differ in uppercase and lowercase letters.

Typing media on one day and Media on another is the kind of thing nobody notices until a folder seems to vanish. On Unraid it can quietly give you two shares that half your machines see as one.

The docs spell out the mismatch. SMB doesn’t care about capitalization, so to a Windows PC or a Mac MEDIA and media are the same name. Linux file systems do care, and on the server they are two different folders:

/mnt/user/Media
/mnt/user/media

There’s a second way this happens without the Add Share button. The docs note that any top-level folder you create by hand on a drive is automatically recognized as a user share with default settings. So a container with a path mapped to /mnt/user/media while your real share is Media will happily create a new share for you, with default settings for storage, allocation and everything else.

My advice is to pick one style and stick to it. I’d go with lowercase for every share, because that’s what ends up in Docker paths anyway, and copy paths from the share list instead of typing them. When you add a share, the docs ask you to pick a unique name, and that should mean unique without counting the capitals.

If you already have a duplicate, look in Shares for two entries with the same name in different case. The docs only let you delete a share once it’s empty, so you move the files into the share you want to keep and then delete the empty one. Stop any container that writes to it first, or it will simply create the folder again.

Further reading: Unraid docs: Shares

Going deeper: Guide: your Unraid cache is full and Docker stopped, how to find out why and fix it

More Unraid tips Change the RAID profile of a Unraid BTRFS pool with Balance Replace a disk in a redundant Unraid pool from the Main tab Test every Unraid drive with the DiskSpeed container See the XML behind a VM with the inline XML view in Unraid 7 Choose where a new VM's disk image is created with Unraid's storage override All Unraid tips (77) All topics

Link