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
#1
Hello!

I bought a Raspberry Pi M2 HAT+ and did not use the supplied black 16 mm stacking headers, but the 12 mm stacking headers with thread on top, so that the GPIO strip remains accessible, which would have disappeared if the 16 mm stacking headers had been used.
So I connected the Raspberry Pi M.2 HAT+ to the Raspberry PI 5 with the supplied cable, plugged it in, screwed on another four 12 mm stacking headers and attached the IQ AUDIO DIGI AMP+.
Unfortunately, I no longer have any 2.5 mm nuts to secure the AMP module.

But now to the problem:
I have inserted an NVME with M-Key in form factor 2230 with 1 TB. This was recognized by MOODE, I was able to mount it, format it, SMB and NFS activated, access via files in Ubuntu revealed 29.9 GB total, 5.5 GB used, 24.4 GB free.
So I removed the NVME, inserted it into the Inateck USB enclosure, Files shows 1 TB, ext4.
I have copied all my music to the NVME, more than 800 GB.
I inserted it into the M.2 HAT+ and turned MOODE on again, the integration works fine, but the files are not displayed.
In files via SMB or NFS, however, I was able to access, delete and write the files, so 1 TB was actually available.
But now I have formatted the NVME again with MOODE, again 29.9 GB total, 5.5 GB used and 24.4 GB free, again inserted into the Inateck USB enclosure, actually 1 TB again, 1.4 % occupied.
What is the problem?


Attached Files Thumbnail(s)
           
Reply
#2
(04-19-2025, 07:48 AM)D3D5S Wrote: Hello!

I bought a Raspberry Pi M2 HAT+ and did not use the supplied black 16 mm stacking headers, but the 12 mm stacking headers with thread on top, so that the GPIO strip remains accessible, which would have disappeared if the 16 mm stacking headers had been used.
So I connected the Raspberry Pi M.2 HAT+ to the Raspberry PI 5 with the supplied cable, plugged it in, screwed on another four 12 mm stacking headers and attached the IQ AUDIO DIGI AMP+.
Unfortunately, I no longer have any 2.5 mm nuts to secure the AMP module.

But now to the problem:
I have inserted an NVME with M-Key in form factor 2230 with 1 TB. This was recognized by MOODE, I was able to mount it, format it, SMB and NFS activated, access via files in Ubuntu revealed 29.9 GB total, 5.5 GB used, 24.4 GB free.
So I removed the NVME, inserted it into the Inateck USB enclosure, Files shows 1 TB, ext4.
I have copied all my music to the NVME, more than 800 GB.
I inserted it into the M.2 HAT+ and turned MOODE on again, the integration works fine, but the files are not displayed.
In files via SMB or NFS, however, I was able to access, delete and write the files, so 1 TB was actually available.
But now I have formatted the NVME again with MOODE, again 29.9 GB total, 5.5 GB used and 24.4 GB free, again inserted into the Inateck USB enclosure, actually 1 TB again, 1.4 % occupied.
What is the problem?

I don't use CIF/SMB so no kind of expert but is it possible you have created a CIF share on the drive but copied your music files to a different folder/partition?
Reply
#3
Hello!

I didn't create a CIF share on the drive, but copied my music files to a different folder/partition, MOODE did.

Now I have done, what I didn't want to do.
I have inserted the NVME into the Inateck USB device, flashed via Raspberry Pi Imager moode 9.3.2, inserted the NVME in the M.2 HAT+ again, now MOODE is running from the NVME, it's fast, but not what I wanted to.
Now i can copy my music via networking cable connected to the Raspberry Pi 5 with a speed of around 91 MB/s, over WLAN it's 7,4 MB/s.
But what I originally wanted, is an image of MOODE on the SD-Card, my music on the NVME.
Why isn´t this working proper?

Thank you!
Reply
#4
(04-19-2025, 07:48 AM)D3D5S Wrote: Hello!

I bought a Raspberry Pi M2 HAT+ and did not use the supplied black 16 mm stacking headers, but the 12 mm stacking headers with thread on top, so that the GPIO strip remains accessible, which would have disappeared if the 16 mm stacking headers had been used.
So I connected the Raspberry Pi M.2 HAT+ to the Raspberry PI 5 with the supplied cable, plugged it in, screwed on another four 12 mm stacking headers and attached the IQ AUDIO DIGI AMP+.
Unfortunately, I no longer have any 2.5 mm nuts to secure the AMP module.

But now to the problem:
I have inserted an NVME with M-Key in form factor 2230 with 1 TB. This was recognized by MOODE, I was able to mount it, format it, SMB and NFS activated, access via files in Ubuntu revealed 29.9 GB total, 5.5 GB used, 24.4 GB free.
So I removed the NVME, inserted it into the Inateck USB enclosure, Files shows 1 TB, ext4.
I have copied all my music to the NVME, more than 800 GB.
I inserted it into the M.2 HAT+ and turned MOODE on again, the integration works fine, but the files are not displayed.
In files via SMB or NFS, however, I was able to access, delete and write the files, so 1 TB was actually available.
But now I have formatted the NVME again with MOODE, again 29.9 GB total, 5.5 GB used and 24.4 GB free, again inserted into the Inateck USB enclosure, actually 1 TB again, 1.4 % occupied.
What is the problem?

What do you mean by "files are not displayed" at the step below?

"I inserted it into the M.2 HAT+ and turned MOODE on again, the integration works fine, but the files are not displayed."
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(04-19-2025, 10:00 AM)Tim Curtis Wrote:
(04-19-2025, 07:48 AM)D3D5S Wrote: Hello!

I bought a Raspberry Pi M2 HAT+ and did not use the supplied black 16 mm stacking headers, but the 12 mm stacking headers with thread on top, so that the GPIO strip remains accessible, which would have disappeared if the 16 mm stacking headers had been used.
So I connected the Raspberry Pi M.2 HAT+ to the Raspberry PI 5 with the supplied cable, plugged it in, screwed on another four 12 mm stacking headers and attached the IQ AUDIO DIGI AMP+.
Unfortunately, I no longer have any 2.5 mm nuts to secure the AMP module.

But now to the problem:
I have inserted an NVME with M-Key in form factor 2230 with 1 TB. This was recognized by MOODE, I was able to mount it, format it, SMB and NFS activated, access via files in Ubuntu revealed 29.9 GB total, 5.5 GB used, 24.4 GB free.
So I removed the NVME, inserted it into the Inateck USB enclosure, Files shows 1 TB, ext4.
I have copied all my music to the NVME, more than 800 GB.
I inserted it into the M.2 HAT+ and turned MOODE on again, the integration works fine, but the files are not displayed.
In files via SMB or NFS, however, I was able to access, delete and write the files, so 1 TB was actually available.
But now I have formatted the NVME again with MOODE, again 29.9 GB total, 5.5 GB used and 24.4 GB free, again inserted into the Inateck USB enclosure, actually 1 TB again, 1.4 % occupied.
What is the problem?

What do you mean by "files are not displayed" at the step below?

"I inserted it into the M.2 HAT+ and turned MOODE on again, the integration works fine, but the files are not displayed."

Hello Tim!

I meant, that by clicking on NVME at the menu no folders nor files were shown.
When I insert the Inateck USB enclosure with the 1 TB 2280 NVME inside with all my music on it, it's displayed under USB. There is no problem with it.
As already written, I would like to have the music on the NVME, MOODE running from the SD-Card.

Thanks, Steve
Reply
#6
After you loaded the NVMe drive with your music files, reattached it to the PCIe port and powered up the Pi did you do:

1. Confirm its mounted (green check mark in Library Config)
2. Menu > Update library?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
(04-19-2025, 12:00 PM)Tim Curtis Wrote: After you loaded the NVMe drive with your music files, reattached it to the PCIe port and powered up the Pi did you do:

1. Confirm its mounted (green check mark in Library Config)
2. Menu > Update library?

Yes!
But only regenerate music database let the M.2 HAT+ to be blinking.
Reply
#8
Look in the moode startup log for the status of the database update or regen.

It should look something like below where there are the following two lines 
mpdindex: Start
.
.
mpdindex: Done


Code:
20250419 091931 worker: Job update_library
20250419 091931 mpdindex: Start
20250419 091931 mpdindex: Cmd (update)
20250419 091932 thumb-gen: Start
20250419 091932 thumb-gen: Scan opt: Default
20250419 091932 thumb-gen: Priority: Embedded cover
20250419 091932 thumb-gen: Res,Qual: 600px,60
20250419 091932 thumb-gen: Px ratio: 1
20250419 091932 thumb-gen: Th width: 600
20250419 091932 thumb-gen: Thm qual: 60
20250419 091932 thumb-gen: Scanning: NAS, NVME, SATA, SDCARD
20250419 091937 thumb-gen: Done: 397 folders scanned, 0 thumbs created, 397 already in cache.
20250419 091947 mpdindex: Done: indexed 305 artists, 396 albums, 4409 songs
20250419 091947 worker: Job update_library done
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
(04-19-2025, 01:22 PM)Tim Curtis Wrote: Look in the moode startup log for the status of the database update or regen.

It should look something like below where there are the following two lines 
mpdindex: Start
.
.
mpdindex: Done


Code:
20250419 091931 worker: Job update_library
20250419 091931 mpdindex: Start
20250419 091931 mpdindex: Cmd (update)
20250419 091932 thumb-gen: Start
20250419 091932 thumb-gen: Scan opt: Default
20250419 091932 thumb-gen: Priority: Embedded cover
20250419 091932 thumb-gen: Res,Qual: 600px,60
20250419 091932 thumb-gen: Px ratio: 1
20250419 091932 thumb-gen: Th width: 600
20250419 091932 thumb-gen: Thm qual: 60
20250419 091932 thumb-gen: Scanning: NAS, NVME, SATA, SDCARD
20250419 091937 thumb-gen: Done: 397 folders scanned, 0 thumbs created, 397 already in cache.
20250419 091947 mpdindex: Done: indexed 305 artists, 396 albums, 4409 songs
20250419 091947 worker: Job update_library done

Hello Tim!

I have deleted boot and root, wrote all data after formatting the NVME to ext4.

I did shutdown MOODE, inserted the NVME, booted from the SD-Card.
The log shows:

20250420 100318 worker: Job nvme_source_cfg
20250420 100331 worker: Job nvme_source_cfg
20250420 100358 worker: Job update_library
20250420 100358 mpdindex: Start
20250420 100358 mpdindex: Cmd (update)
20250420 100358 thumb-gen: Start
20250420 100358 thumb-gen: Scan opt: Default
20250420 100358 thumb-gen: Priority: Embedded cover
20250420 100358 thumb-gen: Res,Qual: 600px,60
20250420 100358 thumb-gen: Px ratio: 1
20250420 100358 thumb-gen: Th width: 600
20250420 100358 thumb-gen: Thm qual: 60
20250420 100358 thumb-gen: Scanning: NAS, NVME, SATA, SDCARD
20250420 100401 mpdindex: Done: indexed 1 artists, 1 albums, 1 songs
20250420 100401 worker: Job update_library done
20250420 100405 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Country/Chet Atkins/Pickin´ On Country/CD 1/16 Country Gentleman.flac
20250420 100405 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Country/Chet Atkins/Pickin´ On Country/CD 2/16 The Birth Of The Blues.flac
20250420 100413 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Club Sounds/Club Sounds - Vol. 84 (3CD) (2018) (FLAC)/CD1/23 - The Script - Arms Open (Benny Benassi X Mazzz & Rivaz Remix).flac
20250420 100413 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Club Sounds/Club Sounds - Vol. 84 (3CD) (2018) (FLAC)/CD2/23 - Edx - Runnin'.flac
20250420 100413 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Club Sounds/Club Sounds - Vol. 84 (3CD) (2018) (FLAC)/CD3/23 - Matisse & Sadko - Hndz Up.flac
20250420 100416 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Future Trance Vol. 82 (2017)/CD-1/23. Martin Jensen Feat. Loote - Wait.flac
20250420 100416 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Future Trance Vol. 82 (2017)/CD-2/23. Vrbtn - Hunt.flac
20250420 100416 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Future Trance Vol. 82 (2017)/CD-3/23. Semitoo Feat. Head Rockerzz - Shadows (Van Der Karsten Remix).flac
20250420 100422 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Robyn/Robyn/14 Anytime You Like.flac
20250420 100424 thumb-gen: Error: Not a valid FLAC bitstream: NVME/Music/Musik3/Dance/Tuneboy/18 Eins Zwei Telefunken.flac


There are more than just one artist, one album or one song.

The screenshots show, that the NVME is mounted as Music, at library NVME is shown, but empty.


Attached Files Thumbnail(s)
           
Reply
#10
Has this NVMe drive been partitioned?

My only RPi5B with NVMe SSD HAT is tied up in another use at the moment so I can't experiment but this discrepancy in file system size vs drive size sounds suspiciously like the difference between the size of one partition vs the size of the drive. In this hypothesis, the "missing" music could be in a file system on a different partition than the one mounted in moOde.

Pure conjecture on my part.

Regards,
Kent
Reply


Forum Jump: