Hello Mike,
Also found this in the Debian bugs from Jan 2013 concerning Wheezy.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697487
The reply is given here, hope that it makes sense to you!
% cat /proc/mounts | grep ' / '
rootfs / rootfs rw 0 0
/dev/disk/by-uuid/... / btrfs rw,relatime,ssd,space_cache 0 0
The root filesystem is only mounted once; this is the second line.
The first line "rootfs" is actually the initramfs from when the
system booted. The real root filesystem is mounted inside this
on /root, but it's not visible on the running system.
The only change here was that when /etc/mtab was a static file,
we didn't add the initramfs to it. But now that we use /proc/mounts,
the information which was previously hidden is now visible.
I have looked at my Raspberry Pi that is running Raspbian Buster and it
doesn't show the dual root entry for df.
pi@raspberry-pi:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 5.9G 7.8G 43% /
devtmpfs 459M 0 459M 0% /dev
tmpfs 464M 11M 453M 3% /dev/shm
tmpfs 464M 6.3M 457M 2% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 253M 53M 200M 21% /boot
tmpfs 93M 0 93M 0% /run/user/1000
Regards,
John
On 05/04/2020 13:25, Mike Burrows via Hampshire wrote:
> On 4/4/20 4:17 PM, Gareth Evans via Hampshire wrote:
>> Some potential things to check here too
>>
>> https://www.raspberrypi.org/forums/viewtopic.php?t=71520
>>
> Thanks John & Gareth.
>
> Sorry, I should have said that I had tried this advice in this post
> and actually freed up some space. However, when I reboot the settings
> in /etc/network/interfaces get overwritten. I have posted in the Pi
> forums too. Waiting on a reply.
>
> Back to the question though. Does this indicate that root is mounted
> twice and/or is root using twice the disk space it needs?
>
> Filesystem Size Used Avail Use% Mounted on
> rootfs 3.5G 3.1G 192M 95% /
> /dev/root 3.5G 3.1G 192M 95% /
>
> TIA
>
> mike
>
>
--
Please post to: Hampshire@???
Web Interface:
https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL:
http://www.hantslug.org.uk
--------------------------------------------------------------