Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: RPi 5 + RPi M.2 HAT+ + IQAudio DigiAMP
#21
The post I referenced https://moodeaudio.org/forum/showthread....9#pid63329 explains whats going on but the following is another way to explain it.

1. The directory /mnt/NVME is on the root partition of the boot media. Its max size therefore is that of the root partition. For example on a 32GB boot SDcard the max size of /mnt/NVME is ~32GB. On a 1TB boot drive the max size of /mnt/NVME is ~1TB.

2. The Samba server in moode is configured to creates the default shares listed below. Note the share "NVMe" references the directory /mnt/NVME and thus its max size is that of the root partition it resides on.
Code:
[NAS]
comment = NAS Shares
path = /mnt/NAS
read only = No
guest ok = Yes
[NVMe]
comment = NVMe Storage
path = /mnt/NVME
read only = No
guest ok = Yes
[SATA]
comment = SATA Storage
path = /mnt/SATA
read only = No
guest ok = Yes
[Playlists]
comment = Playlist Directory
path = /var/lib/mpd/playlists
read only = No
guest ok = Yes
[SDCard]
comment = SDCARD Storage
path = /mnt/SDCARD
read only = No
guest ok = Yes

Now let's say you have a 32GB boot SDCard with directory /mnt/NVME and a 1TB NVMe drive.

In moode Library Config you create an NVMe Source and name it "Music". This creates the directory Music under /mnt/NVME and mounts the NVMe drive to that directory.

You end up with /mnt/NVME/Music and its max size is that of the NVMe drive. But Moode's Samba server only creates the share NVMe and it references /mnt/NVME which has max size 32GB.

To see the full max size of the NVMe drive through a Samba share you would currently need to manually connect to the share "moode://NVMe/Music" from your PC/Mac/Linux file manager.

I do have a TODO list item but its not getting much priority.
- [ ] Add NVME shares to smb.conf by mount name (directory) so space is reported correctly
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: