Re: [Hampshire] Is root mounted twice

Top Page

Reply to this message
Author: James Courtier-Dutton via Hampshire
Date:  
To: Hampshire LUG Discussion List
CC: James Courtier-Dutton, Mike Burrows
Subject: Re: [Hampshire] Is root mounted twice
On Sat, 4 Apr 2020 at 14:19, Mike Burrows via Hampshire
<hampshire@???> wrote:
>
> Hello Folks.
>
> Its been many years since I have posted to this list. (i wonder if Hugo
> is still around). I do however still subscribe and follow the threads
> with interest from far off Alabama. Keep up the good work and stay safe.
>
> I have a quick question. My rpi is giving me root is full errors and
> wont accept configuration edits. This is the output from df:
>
> pi@raspi ~ $ df -h
> Filesystem      Size  Used Avail Use% Mounted on
> rootfs          3.5G  3.1G  194M  95% /
> /dev/root       3.5G  3.1G  194M  95% /
> devtmpfs        460M  4.0K  460M   1% /dev
> tmpfs            93M  284K   93M   1% /run
> tmpfs           5.0M     0  5.0M   0% /run/lock
> tmpfs           186M     0  186M   0% /run/shm
> /dev/mmcblk0p1   56M   20M   37M  35% /boot
> tmpfs           186M     0  186M   0% /tmp

>
> its an 8 gig card.
>


This is most likely a faulty 8 gig card.
If you search through the kernel logs, you will probably see error
messages mentioning "cannot read block X" etc.
I have even seen systems that are very unstable, no errors in the
logs, but replacing the SD card fixed the problem.

In general, when you see the errors you are seeing, it is likely to
have mounted the device read-only, which it why you cannot edit it.
SSD and flash disks etc. have a common failure mode, where they go
read-only when they fail.

8 gig card is cheap to replace. Try that.

Kind Regards

James

--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------