Volumio 3 - Erased my local music library

Thanks @songskim

your comment provided quite a lot of useful insights to what the problem might be.

Specifically, the fact that you mount the drive manually, which might trick our algorithm for mounted devices.

My hypothesis is that:

  • A rescan of the drive might trigger udev to think that the drive has been unmounted (maybe due to a voltage drop due to drive spinup)
  • We attempt then to unmount the drive
  • It can’t be unmounted because mpd is scanning it
  • We remove the mountpoint, hence the files

We are working on a fix on this branch: GitHub - volumio/volumio3-backend at fix/usbMount

We will push a release this or next week (we have currently a release in QA, so we will include those commits in the next one).

While we are there, we can also provide a better mounting mechanism for internal drives. As of now, if you want to mount an internal drive in Volumio, you need to label it issd, ihdd, internal hdd or internal ssd. We do that to prevent windows folders which could kill mpd scanning.
If you have other suggestions, let us know