You are not logged in.

#1 2010-11-29 16:29:34

jocom
Member
Registered: 2009-04-29
Posts: 74

Pacman made filesystem readonly.

Hi,

While I was trying to get a Diskless network boot up and running, following the ArchWiki page about it, I came to the part where I had to run the following command:

pacman -Sy --arch i686 --root /opt/thinclient --dbpath /opt/thinclient/var/lib/pacman base

Well, the command started out nice, but then at a certain moment I got "Read-only filesystem" errors. So, somewhere in the pacman run, /opt was turned into readonly.

How could this have happened? And how do I reverse it? At the moment I can't even remove /opt/thinclient

EDIT: Ok, due to kernel update, I rebooted and this fixed the readonly problem. But, how can I make sure that this will not happen again when I true to run the above pacman command?

jocom

Last edited by jocom (2010-11-29 17:11:47)

Offline

#2 2010-11-30 13:11:16

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Pacman made filesystem readonly.

I doubt pacman made /opt readonly. You likely had a filesystem errors and the kernel remounted as ro.


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2010-11-30 13:16:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,390
Website

Re: Pacman made filesystem readonly.

pacman really knows nothing about your filesystem so definitely did not make it read only.

Offline

#4 2010-11-30 13:29:15

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: Pacman made filesystem readonly.

Moved to Kernel & Hardware Issues.


ᶘ ᵒᴥᵒᶅ

Offline

#5 2010-11-30 13:47:04

jocom
Member
Registered: 2009-04-29
Posts: 74

Re: Pacman made filesystem readonly.

Thanks for the replies.

Ok, but before I ran that command, I had still created folders etc...
Afterwards, I ran the command, and then it started nicely downloading all the packages, but half-way it stopped, due to the mentioned errors.

Also, 'mount' said that /opt wasn't mounted read-only, still 'touch '/opt/foo' failed due to the error, so I don't understand anything of it.
But I'll retry the particular command, and see if it succeeds this time.

Offline

Board footer

Powered by FluxBB