LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-19-2005, 06:02 PM   #1
buehler
LQ Newbie
 
Registered: Apr 2001
Location: Chicago
Distribution: Mandrake 10.0
Posts: 24

Rep: Reputation: 15
'Read-only file system' problem


hi.

i am having trouble connecting via ssh/scp into my PC (Mandrake 10.0):

when i try to transfer a file via scp it gives this error:
'Read-only file system'

i am still able to ssh into the machine. after successfully logging in i get this error:
/usr/X11R6/bin/xauth: error in locking authority file /home/myhome/.Xauthority
i can't seem to be able to cp/rm/mv files anymore. it always complains that it's
a 'Read-only file system'.

the same happens when i become 'root'!!!

any ideas/suggestions?

marc
 
Old 03-19-2005, 07:41 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
A quick solution might be to copy to another location or rename your /home/myhome/.Xauthority file then try to ssh/scp again and see what happens.
 
Old 03-19-2005, 07:48 PM   #3
buehler
LQ Newbie
 
Registered: Apr 2001
Location: Chicago
Distribution: Mandrake 10.0
Posts: 24

Original Poster
Rep: Reputation: 15
unfortunately that doesn't work.
cp/mv/rm ... nothing works (neither as user nor as root)!
it always complains that i only have read access.

i should also mention that i don't have physical access to
the machine at the moment. i'm debugging remotely.

marc
 
Old 03-19-2005, 07:52 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,160

Rep: Reputation: 329Reputation: 329Reputation: 329Reputation: 329
Is /home a separate partition from /? You should probably try (as root):

mount -o remount,rw <partition with /home>

If the filesystem is mounted read only, then not even root will be able to write to it.
 
Old 03-19-2005, 07:59 PM   #5
buehler
LQ Newbie
 
Registered: Apr 2001
Location: Chicago
Distribution: Mandrake 10.0
Posts: 24

Original Poster
Rep: Reputation: 15
i tried (as root):
mount -o remount,rw /dev/hda6

and get:
mount: block device /dev/hda6 is write-protected, mounting read-only


when i do 'dmesg' i get tons of these messages:
EXT3-fs error (device hda6) in start_transaction: Journal has aborted
EXT3-fs error (device hda6) in start_transaction: Journal has aborted
EXT3-fs error (device hda6) in start_transaction: Journal has aborted
.
.
.

is my harddisk broken?

marc
 
Old 04-12-2005, 12:43 PM   #6
Angelus
Member
 
Registered: Oct 2003
Location: Finland
Distribution: Debian & Kubuntu
Posts: 39

Rep: Reputation: 15
I'm having the same problem when logging in with ssh.

---------------------
dmesg says:
EXT3-fs error (device sda11) in start_transaction: Readonly filesystem.
---------------------

I can't do anything which requires writing. This happens only with 'remote controlling'.
I'm using Debian Sarge. Installed with netinstall image.

Buehler: Your hard disk ain't broken


edit:
wtf
/etc/fstab includes this
/dev/sda11 / ext3 defaults,rrors=remount-ro 0 1

This wasn't in fstab few days ago. Before I first time connected with ssh

Last edited by Angelus; 04-12-2005 at 12:50 PM.
 
Old 01-16-2006, 09:06 AM   #7
brozkeff
LQ Newbie
 
Registered: Jan 2006
Location: Czech Republic
Distribution: Linux Mint
Posts: 7

Rep: Reputation: Disabled
Post The same thing on Fedora Core 4

I had similar problem few days ago on fresh Fedora Core 4. Using default installation, it formatted disk using LVM. Then after 5-10 hours of uptime, it simply remounted root (/) fs as readonly and remound did the same as mentioned here - nothing. Only reboot helped. Didn't solved it at all, instead (not because of only this) reinstalled whole system, but choosen manual partitioning, and formatted it as normal ext3 volumes, not encapsulated in LVM... since then the problem didn't apperar at all...
 
Old 05-09-2006, 01:13 AM   #8
aspenscott
LQ Newbie
 
Registered: May 2006
Location: Aspen, CO
Posts: 1

Rep: Reputation: 0
Try this

mount -w /dev/<filesystem> (ie ad0, ad0a)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 04:27 AM
read only file system ajk48n Fedora 10 06-17-2005 04:10 PM
problem: a read only file system milo36472 Linux - Newbie 3 01-24-2005 10:11 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM
read-only file system shimonim Linux - General 3 03-05-2001 05:58 PM


All times are GMT -5. The time now is 03:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration