My problem.
In my dad’s notebook i have TW installed, some days ago ,after an update, Plasma stop working (just Plasma) and one suggestion was to
mv .config .config-old
. After that solution Plasma work again and i configured the desktop normally. Some days later i got this “Read only file system” after trying to run anything that have config files inside that .config directory.
At the beginning this happens after some time of use, hours. Now happens after the boot.
NOTE: i check the permissions and are all fine. And if i try to change the permissions the “Read only file system” appear.
Thanks in advance for any help (sorry for the bad english)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=1449024k,nr_inodes=362256,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
/dev/sda2 on / type btrfs (rw,relatime,space_cache,subvolid=267,subvol=/@/.snapshots/1/snapshot)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16307)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
/dev/sda2 on /root type btrfs (rw,relatime,space_cache,subvolid=262,subvol=/@/root)
/dev/sda3 on /home type btrfs (ro,relatime,space_cache,subvolid=5,subvol=/)
/dev/sda2 on /.snapshots type btrfs (rw,relatime,space_cache,subvolid=266,subvol=/@/.snapshots)
/dev/sda2 on /boot/grub2/x86_64-efi type btrfs (rw,relatime,space_cache,subvolid=264,subvol=/@/boot/grub2/x86_64-efi)
/dev/sda2 on /opt type btrfs (rw,relatime,space_cache,subvolid=263,subvol=/@/opt)
/dev/sda2 on /usr/local type btrfs (rw,relatime,space_cache,subvolid=259,subvol=/@/usr/local)
/dev/sda2 on /srv type btrfs (rw,relatime,space_cache,subvolid=261,subvol=/@/srv)
/dev/sda2 on /boot/grub2/i386-pc type btrfs (rw,relatime,space_cache,subvolid=265,subvol=/@/boot/grub2/i386-pc)
/dev/sda2 on /var type btrfs (rw,relatime,space_cache,subvolid=258,subvol=/@/var)
/dev/sda2 on /tmp type btrfs (rw,relatime,space_cache,subvolid=260,subvol=/@/tmp)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=291888k,mode=700,uid=1000,gid=100)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=291888k,mode=700)
This is an example of the message when i try to open something:
Hmmmm, never seen a setup like this, with btrfs for /home on a separate partition. I’d backup /home, change that to ext4 or xfs, then restore the data.
When a file system is mounted read-only where that is not specified, it is often the result of problems during mounting. There must be something in the logs then.
More than likely /home is actually on its own BTRFS subvolume.
The following command displays volumes and subvolumes, since the path is not defined, this should display the whole tree
btrfs subvolume list
Background:
Until LEAP 15.0, the default installation sets up only the root partition as BTRFS, and then deploys /home in a separate XFS partition.
Starting with LEAP 15.1, the entire disk is one partition, and /root and /home are configured as BTRFS sub-volumes in the same volume.
At least,
That’s what the above command should display.
Indeed. My answer? Because it is NOT a subvolume. The fstab clearly shows 2 btrfs filesystems, one for / incl. subvolumes, one for what’s mounted on /home.
Just saying…
No questions were asked about file systems used and disk layout, I see you’re inferring from the “mount” command.
Am simply suggesting what should be seen if the system was installed if all defaults were accepted.
The User should be aware of any personal changes which might have been made, or the likelihood something different might have been installed (typically requiring some level of technical sophistication).
So, for instance if BTRFS is installed, I would suggest
And how is that going to deal with a ro fs on /dev/sda3 where / is on /dev/sda2 ? Commands like ‘mount’ and ‘cat /etc/fstab’ report the truth and nothing but that.