You are not logged in.
For example when i try
sudo touch /usr/share/plymouth/themes/test
Output:
touch: cannot touch '/usr/share/plymouth/themes/test': Read-only file system
I ran
cat /etc/fstab
Output is
# /dev/nvme0n1p2
UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 / btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=256,subvol=/@root 0 0
# /dev/nvme0n1p2
UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 /home btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=257,subvol=/@home 0 0
# /dev/nvme0n1p2
UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 /srv btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=259,subvol=/@srv 0 0
# /dev/nvme0n1p2
# UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 /tmp btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=261,subvol=/@tmp 0 0
tmpfs /tmp tmpfs rw,nodev,nosuid,size=2G 0 0
# /dev/nvme0n1p2
UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 /opt btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=260,subvol=/@opt 0 0
# /dev/nvme0n1p2
UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 /.snapshots btrfs rw,noatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=263,subvol=/@.snapshots 0 0
# /dev/nvme0n1p2
UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 /swap btrfs rw,relatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=262,subvol=/@swap 0 0
# /dev/nvme0n1p2
UUID=d3a5eadd-16fb-4705-ac7d-f2379eec6c44 /var btrfs rw,relatime,compress=lzo,ssd,discard=async,space_cache=v2,subvolid=258,subvol=/@var 0 0
# /dev/nvme0n1p1
UUID=98B9-3C58 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 2
/swap/swapfile none swap defaults 0 0
As you can see, there are `rw` mount options so i'm clueless now.
Earlier there wasn't such problem with `Read-only file system`. Perhaps the problem appeared after i booted into btrfs snapshot, but it's not certain.
Last edited by judex_gauss (Yesterday 12:26:27)
Offline
Marking problem as solved:
I assume that problem started after I booted to readonly snapshot.
I ran
btrfs property set -ts /path/to/snapshot ro false
And FS is no more read-only. Then I rebooted to make sure it worked and FS is working as expected.
Hope this will help someone.
Last edited by judex_gauss (Yesterday 12:26:53)
Offline