filesystem eventually becomes read-only
Noah
noah-list at enabled.com
Wed Mar 31 04:04:33 UTC 2021
Hi,
I have an ubuntu server that its file system eventually claims to be
readonly and not sure why that happens? The drives are not initially
mounted read only. Something changes over time to make my root
partition read-only and not sure how that happens.
If I power cycle or reboot the server again I never get this complaint.
What is making a rw filesystem intermittently to a read only filesystem?
--- here is the error at login when the file system is read-only ---
(anon):184: read-only file system:
/tmp/p10k-instant-prompt-output-noah-2243905
(anon):13: read-only file system:
/tmp/gitstatus.POWERLEVEL9K.1000.2243905.1617162523.1.lock
[ERROR]: gitstatus failed to initialize.
Your Git prompt may disappear or become slow.
Add the following parameter to ~/.zshrc for extra diagnostics on error:
GITSTATUS_LOG_LEVEL=DEBUG
Restart Zsh to retry gitstatus initialization:
exec zsh
/home/noah/.jenv/libexec/jenv-refresh-plugins: line 43:
/home/noah/.jenv/jenv.version: Read-only file system
zsh: locking failed for /home/noah/.zsh_history: read-only file system:
reading anyway
--- snip ---
❯ uname -a
Linux nuc2 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021
x86_64 x86_64 x86_64 GNU/Linux
❯ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
❯ df -kh
Filesystem Size Used Avail Use% Mounted on
udev 32G 0 32G 0% /dev
tmpfs 6.3G 2.4M 6.3G 1% /run
/dev/sda2 1.9T 627G 1.2T 36% /
tmpfs 32G 16K 32G 1% /dev/shm
tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs 32G 0 32G 0%
/sys/fs/cgroup
/dev/sda1 511M 7.9M 504M 2% /boot/efi
/dev/loop1 100M 100M 0 100%
/snap/core/10908
/dev/loop3 56M 56M 0 100%
/snap/core18/1988
/dev/loop5 9.5M 9.5M 0 100%
/snap/helm/325
/dev/loop4 163M 163M 0 100%
/snap/gnome-3-28-1804/145
/dev/loop7 9.2M 9.2M 0 100%
/snap/kubectl/1842
/dev/loop6 9.2M 9.2M 0 100%
/snap/kubectl/1826
/dev/loop0 100M 100M 0 100%
/snap/core/10859
/dev/loop8 69M 69M 0 100%
/snap/lxd/19823
/dev/loop9 73M 73M 0 100%
/snap/lxd/19766
/dev/loop10 65M 65M 0 100%
/snap/gtk-common-themes/1514
/dev/loop11 175M 175M 0 100%
/snap/joplin-james-carroll/59
/dev/loop12 175M 175M 0 100%
/snap/joplin-james-carroll/58
/dev/loop13 62M 62M 0 100%
/snap/core20/904
/dev/loop14 33M 33M 0 100%
/snap/snapd/11107
/dev/loop15 186M 186M 0 100%
/snap/zaproxy/5
/dev/loop16 33M 33M 0 100%
/snap/snapd/11402
/dev/loop17 244M 244M 0 100%
/snap/gnome-3-38-2004/39
/dev/loop18 244M 244M 0 100%
/snap/gnome-3-38-2004/31
/dev/loop19 9.7M 9.7M 0 100%
/snap/helm/328
{ip}:/mnt/DroboFS/Shares/Music 64T 7.7T 57T 12% /media/Music
{ip}:/mnt/DroboFS/Shares/Audio 64T 7.7T 57T 12% /media/Audio
{ip}:/mnt/DroboFS/Shares/Videos 64T 7.7T 57T 12% /media/Videos
{ip}:/mnt/DroboFS/Shares/Pictures 64T 7.7T 57T 12% /media/pics
tmpfs 6.3G 16K 6.3G 1%
/run/user/125
/dev/loop20 56M 56M 0 100%
/snap/core18/1997
tmpfs 6.3G 8.0K 6.3G 1%
/run/user/1000
--- snip ---
Cheers,
Noah
More information about the ubuntu-users
mailing list