View previous topic :: View next topic |
Author |
Message |
sigix Apprentice
Joined: 25 Jul 2003 Posts: 192
|
Posted: Mon May 28, 2007 9:13 am Post subject: touch: cannot touch `me': Read-only file system |
|
|
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 |
|
|
Abecedarian n00b
Joined: 14 Jan 2007 Posts: 40
|
Posted: Mon May 28, 2007 11:37 am Post subject: |
|
|
Yeah, I have trouble touching myself sometimes too.
OH COME ON YOU WERE THINKING IT TOO |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Mon May 28, 2007 6:03 pm Post subject: |
|
|
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 |
|
|
sigix Apprentice
Joined: 25 Jul 2003 Posts: 192
|
Posted: Tue May 29, 2007 7:31 am Post subject: |
|
|
Ok it worked after I did fsck.ext3, is there any disk crash chances ? |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4734 Location: Angra do Heroísmo (PT)
|
Posted: Tue May 29, 2007 6:16 pm Post subject: |
|
|
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 |
|
|
|