IceWhaleTech / CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
https://casaos.io
Apache License 2.0
26.33k stars 1.44k forks source link

[Bug] Mount point change on reboot #1927

Open rafamdf opened 4 months ago

rafamdf commented 4 months ago

Describe the bug

Whenever I reboot CasaOS, /sda1 mountpoint appends a -1 to original mountpoint. i.e. it changes to /mnt/Storage1-1. Every new reboot, I need to umount and mount again on correct mountpoint.

To Reproduce

Steps to reproduce the behavior:

  1. Reboot

Expected behavior

No changes on mountpoints after reboot.

Screenshots

Before reboot image

After reboot image

Additional context

I have a Zimaboard with CasaOS installed over Debian on a 1tb USB SSD (/sdb) and a 8tb SATA SSD (/sda) for data storage. /sda1 is mounted on /mnt/Storage1 and shared over the network. Internal eMMC is disabled. Zimaboard purchased in Nov/2023.

FalkoJoseph commented 3 months ago

Ran into a similar issue. I had Storage2, and it renamed it to Storage21 after a reboot, causing all of the apps to fail because their root directory changed.