Quantcast
Viewing all articles
Browse latest Browse all 5229

Beginners • Re: Problems with full sd card

What has possibly happened (and is quite common) is that at some point your external drive has been unmounted and files stored on the SD card instead. These files will now be hidden from view by the drive mounted at that location.

There are ways to find these files if you have SSH access (via Putty or other) to the Pi.

Method 1:
Unmount and eject the drive. Check to see if there are any files still in /home/pi/mnt/CamFiles

Method 2:
Use a bind mount to look inside the mountpoint on the SD card

Code:

sudo mount --bind / /mntls /mnt/home/pi/mnt/CamFiles
The directory /mnt/home/pi/mnt/CamFiles should be empty, but you may find old files in there that can be deleted or moved to /home/pi/mnt/CamFiles

Then unmount the bind mount

Code:

sudo umount /mnt
and you should have your space back.

Statistics: Posted by rpdom — Thu Dec 12, 2024 11:44 am



Viewing all articles
Browse latest Browse all 5229

Trending Articles