LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 05: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, 06:41 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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, 06: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, 06:52 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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, 06: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, 11:43 AM   #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 11:50 AM.
 
Old 01-16-2006, 08: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, 12: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



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 03:27 AM
read only file system ajk48n Fedora 10 06-17-2005 03:10 PM
problem: a read only file system milo36472 Linux - Newbie 3 01-24-2005 09:11 AM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 07:23 PM
read-only file system shimonim Linux - General 3 03-05-2001 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:28 AM.

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
Open Source Consulting | Domain Registration