The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


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


Solved: 9.1.x: NVME samba share size wrong when mounted on Windows
#1
Hey community,

I've been using moode since version 5.x. After testing various commercial streamers I am super happy to have found a setup that offers what I like and need. Thank you very much Tim and team!

Recently, I moved from a RPi4 setup to the Pi4 Compute Module & official IO board with an NVME disk (via IO board's PCIe slot) as internal music storage. The previous micro SD card via USB adapter had become too small, so I decided to go for an 4TB SSD which could also function as a small file server for this and that. Moode version is 9.1.4, fresh setup but also happened with a system clone of my previous Pi4 setup.

Here comes the trouble: 
  • NVME disk is installed, formatted and mounted via moode's "Local NVME Drives" section of the Library. Listed as "3600 (/dev/nvme0n1, ext4)", where 3600 is the name or identifier of the disk.
  • mount states /dev/nvme0n1 on /mnt/NVME/3600 type ext4 (rw,nodev,noexec,noatime,nodiratime) - just as expected
  • df -h reports 3.6T size and 3.4T available on /mnt/NVME/3600 - OK
  • Samba filesharing is enabled. Using default NVME config entry of /etc/samba/smb.conf
  • When mounting NVME share on Windows, it reports a total size of 14GB and 9.6GB free size - which is the actual size of the Pi's OS SD card.
    -> I can only copy 9GB of music to the share via network because Windows thinks the drive is full. So I'm stuck.
I can copy ~0.9TB of files from an USB disk connected to the Pi directly to /mnt/NVME/3600 via terminal. When I mount the share the fies are accessible and Windows shows total size of 900GB with 9GB left. Files play as expected, I can delete, rename them on the share but I can't copy more tha 9GB of new fies over. Stuck again.

When I tried to mount the NVME disk via /etc/fstab (after unmounting it in the Library section) moode didn't come back after the reboot. Since the system runs headless, I had no chance to debug.

Maybe this is a Samba settings or config issue. Or maybe I should mount the NVME disk via fstab right away instead of using moode Library's option.

Does anyone have an idea or has gone through a similar issue with a RPi5 setup with NMVE ssd? 

Cheers,
Matt
Reply


Messages In This Thread
9.1.x: NVME samba share size wrong when mounted on Windows - by Matter - 11-17-2024, 01:15 PM

Forum Jump: