Read-only file system (drive)

dannygoh

Verified User
Joined
Feb 9, 2004
Messages
368
Location
Malaysia
[root@server /]# mkdir /backup/testing
mkdir: cannot create directory `/backup/testing': Read-only file system

Code:
[root@server /]# cat /etc/fstab
LABEL=/                 /                       ext3    defaults,usrquota,grpquota      1 1
LABEL=/backup           /backup                 ext3    defaults        1 2
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
LABEL=SWAP-sda2         swap                    swap    defaults        0 0

What's wrong?
 
I suspect your disk is going to give you problem.

Run a fsck and see if it report any problem.
 
[root@server /]# mkdir /backup/testing
mkdir: cannot create directory `/backup/testing': Read-only file system
Look into the log file for error messages related to your partitions. Check this site for information on HowTo manage your HD partitions. If you are not very comfortable with this Linux, hire a sys admin.
 
If you don't have console access, get your provider to run fsck on your drive. When it drops you into read-only access, it means the drive is possibly fubared.
 
Back
Top