Thank you for your donation!


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


Solved: Problem a power crash
#6
(08-07-2022, 01:29 PM)Tim Curtis Wrote: It looks like there are some orphaned USB mounts, the one's with a trailing underscore. I've seen this on occasion but it's rare and I can't recall the scenario that causes it.

Code:
pi@moode:~ $ ls -l /media
total 141                                                                                                                    
drwx------   2 root root   4096 Jul 20 09:57 EFI
drwxr-xr-x   4 root root    512 Jan  1  1970 EFI_
drwx------   2 root root   4096 Apr 24 17:20 Massimo
drwx------   2 root root   4096 Jul 24 09:35 Musica
drwxr-xr-x 390 root root 131072 Aug  7 14:26 Musica_

To fix this do the following:

1. Unplug all USB drives from the Pi
2. Delete any mount directories still remaining in /media

Code:
# First make sure they are empty
ls -l /media/EFI_
ls -l /media/Musica_

# Delete the directories
sudo rm -rf /media/EFI_
sudo rm -rf /media/Musica_

3. Plug the USB drives back into the Pi 
4. Verify the mount directories are correctly named (should be same as the USB disk label)

Code:
ls -l /media
5. Update library (from the menu)



Hi Tim, 
your instructions solved my problem.

Thank you very much


Massimo from Italy
Reply


Messages In This Thread
Problem a power crash - by tactic1960 - 08-06-2022, 01:54 PM
RE: Problem a power crash - by Tim Curtis - 08-06-2022, 03:34 PM
RE: Problem a power crash - by tactic1960 - 08-07-2022, 12:37 PM
RE: Problem a power crash - by Tim Curtis - 08-07-2022, 01:29 PM
RE: Problem a power crash - by tactic1960 - 08-09-2022, 12:22 PM
SOLVED Problem a power crash - by tactic1960 - 08-11-2022, 09:36 AM

Forum Jump: