Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
touch: cannot touch `me': Read-only file system
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sigix
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 192

PostPosted: Mon May 28, 2007 9:13 am    Post subject: touch: cannot touch `me': Read-only file system Reply with quote

I'm not been able to create any file on system residing on SDA, but I'm able to do I/O on SDB

Code:

[root@billing2 local]# touch me
touch: cannot touch `me': Read-only file system
[root@billing2 local]# ls -al
total 108
drwxr-xr-x  13 root   root  4096 May 23 15:05 .
drwxr-xr-x  16 root   root  4096 May 20 01:44 ..
drwxr-xr-x   2 root   root  4096 May 21 19:17 bin
drwxr-xr-x   2 root   root  4096 Aug 12  2004 etc
drwxr-xr-x   2 root   root  4096 Aug 12  2004 games
drwxr-xr-x   2 root   root  4096 Aug 12  2004 include
drwxr-xr-x   2 root   root  4096 Aug 12  2004 lib
drwxr-xr-x   2 root   root  4096 Aug 12  2004 libexec
drwx------   2 root   root 16384 May 20 06:37 lost+found
drwxr-xr-x   2 root   root  4096 Aug 12  2004 sbin
drwxr-xr-x   4 root   root  4096 May 20 01:42 share
drwxr-xr-x   2 root   root  4096 Aug 12  2004 src


And following is the mount command output

Code:
[root@billing2 local]# mount
/dev/sda3 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/sda1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/sda2 on /home type ext3 (rw)
/dev/sdb1 on /i03 type ext3 (rw)
/dev/sda7 on /tmp type ext3 (rw)
/dev/sda6 on /usr type ext3 (rw)
/dev/sda8 on /usr/local type ext3 (rw)
/dev/sda5 on /var type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
configfs on /config type configfs (rw)


What has went wrong, It was working fine a few days ago...
Back to top
View user's profile Send private message
Abecedarian
n00b
n00b


Joined: 14 Jan 2007
Posts: 40

PostPosted: Mon May 28, 2007 11:37 am    Post subject: Reply with quote

Yeah, I have trouble touching myself sometimes too.

OH COME ON YOU WERE THINKING IT TOO
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Mon May 28, 2007 6:03 pm    Post subject: Reply with quote

The filesystem has been mounted read-only. If you did not do this on purpose, it is likely that the kernel did so in reaction to I/O errors. Post the output of dmesg right after this happens. Depending on the filesystem(s) which got remounted this way, /etc/mtab may be wrong, in which case the output of mount will also be wrong. Look in /proc/mounts instead, since that is a direct image of what the kernel knows to be mounted.
Back to top
View user's profile Send private message
sigix
Apprentice
Apprentice


Joined: 25 Jul 2003
Posts: 192

PostPosted: Tue May 29, 2007 7:31 am    Post subject: Reply with quote

Ok it worked after I did fsck.ext3, is there any disk crash chances ?
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Tue May 29, 2007 6:16 pm    Post subject: Reply with quote

Abecedarian wrote:
Yeah, I have trouble touching myself sometimes too.

OH COME ON YOU WERE THINKING IT TOO

[mod]Please abstain from making this type of comments. If you don't have anything useful to contribute, it's best to remain silent. Also, please stop playing with the size tag for hiding comments.[/mod]
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum