You are not logged in.
Hello all,
Tonight i read a post somewhere that if i have problems playing videos on youtube from google chrome i should go through the graphical settings and disable hardware acceleration. I did so, and after i clicked on the relaunch button, GC never started again. It outputs an error, but i dont know if you want to see it, because i decided as chromium has the same sync features as GC i would just install that and be done with it. Ive been thinking of moving over anyway. However, running
sudo pacman -S chromium
Outputs the following 2 lines:
error: failed to init transaction (unable to lock database)
error: could not lock database: Read-only file system
Reading as much material as i could find, it was clear that i would need to remove /var/lib/pacman/db.lck
However, that file is non existent, and if it does exist it should be in that directory because my /etc/pacman.conf has it listed as such.
I hope i havent forgotten to include any important info, if i have please do ask for it.
Thanks in advance
Last edited by promitheas (2019-03-07 19:48:13)
Offline
error: could not lock database: Read-only file systemWhy is the filesystem read only?
findmnt --target /var/lib/pacman/Offline
Hello there,
error: could not lock database: Read-only file systemSeems to me your file system is read-only mode?
What is the output of the following commands?
mount
dmesg --facility kernRegards
Offline
error: could not lock database: Read-only file systemWhy is the filesystem read only?
findmnt --target /var/lib/pacman/
findmnt --target /var/lib/pacman
TARGET SOURCE FSTYPE OPTIONS
/ /dev/sda6 ext4 ro,relatime
Edit: after poking a look at the manual for findmnt, i ran this:
findmnt --fstab --target /
Amd got the same output, but the source had a long uuid, and under the options, it was rw,relatime. I assume then that ro means read-only and rw read-write?
Last edited by promitheas (2019-03-07 17:49:07)
Offline
So the root FS is read-only.
Unless this is deliberate (what you ought to know, this doesn't just happen) it was likely remounted ro for filesysteme errors.
=> Check dmesg and the disk, https://wiki.archlinux.org/index.php/SMART
Online
Hello there,
error: could not lock database: Read-only file systemSeems to me your file system is read-only mode?
What is the output of the following commands?
mount dmesg --facility kernRegards
Mount outputs a massive list of stuff. The lines i think are the most relevant are:
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=4024788k,nr_inodes=1006197,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/sda6 on / type ext4 (ro,relatime)
... MORE STUFF I THINK IS IRRELEVANT...
/dev/sda7 on /home type ext4 (ro,relatime)
/dev/sda3 on /boot type ext4 (ro,relatime,stripe=4)
tempfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=806472k, mode=700,uid=1000,gid=998)
Thanks
Offline
So the root FS is read-only.
Unless this is deliberate (what you ought to know, this doesn't just happen) it was likely remounted ro for filesysteme errors.
=> Check dmesg and the disk, https://wiki.archlinux.org/index.php/SMART
It is definitely not something i wanted. Everything worked fine until i disabled HwA for google chrome. Ill read the link you provided and get back to you.
Edit:
Unfortunately, i dont have smartctl installed and cant install it. That means i cant run smartctl --info /dev/sda to see whether my drive supports SMART
Last edited by promitheas (2019-03-07 18:07:03)
Offline
Are you using a very old / problematic disk? Your previous thread from 4 days ago was about a failing fsck of your home partition, now your root partition is having issues.
Either the disk is very close to being totally dead (and you should stop using it now) or something else is really wrong with your set up.
Can you reboot and get the root mounted rw? If not, you'll need a live medium to boot to to run a SMART check.
Last edited by Trilby (2019-03-07 18:09:58)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
https://grml.org/
Given Trilby's comment you should not touch that disk too much anyway. Before running any checks, BACKUP YOUR PERSONAL DATA.
Online
Are you using a very old / problematic disk? Your previous thread from 4 days ago was about a failing fsck of your home partition, now your root partition is having issues.
Either the disk is very close to being totally dead (and you should stop using it now) or something else is really wrong with your set up.
Well its old, vut not ancient. Its a laptop i bought about 4-5 years ago. I dont know if that qualifies. If not, then what could be wrong with my setup causing this issue? I installed arch following the instructions, and havent had any problems until i disabled hardware acceleration on google chrome, something that in my opinion shouldnt affect my filesystem in such a way. But im the newbie, so i dont know.
Offline
https://grml.org/
Given Trilby's comment you should not touch that disk too much anyway. Before running any checks, BACKUP YOUR PERSONAL DATA.
Its going to be a bit challenging getting that onto a usb, but thanks anyway
Offline
Ok, i found a thread with a similar issue (root mounted ro),
https://bbs.archlinux.org/viewtopic.php?id=133376
but the symptoms, dont seem to match my own. My /etc/fstab is not empty, and my / /home and /boot partitions are mounted rw.
Does this definately mean a bad drive, and that i should backup and replace it sharpish?
Thanks
Offline
1. Learn to use the edit button and stop bumping the thread.
2. Yes, your disk should be considered volatile at this point.
Offline
1. Learn to use the edit button and stop bumping the thread.
2. Yes, your disk should be considered volatile at this point.
Alright, ill mark as solved and see what to do. Thx
Offline