Operating System - Linux
1753500 Members
3448 Online
108794 Solutions
New Discussion юеВ

Ro,Rw permission Filesystem -linux

 
SOLVED
Go to solution
AA786
Frequent Advisor

Ro,Rw permission Filesystem -linux

some how
mount -v
/dev/cciss/c0d1p3 on /sed type ext3 (ro)
i need
/dev/cciss/c0d1p3 on /sed type ext3 (RW
)readwrite

wat action i need to do

4 REPLIES 4
Matti_Kurkela
Honored Contributor
Solution

Re: Ro,Rw permission Filesystem -linux

By default, Linux will change a filesystem to read-only mode if it detects errors on the disk. You may find disk error messages in the syslog (see the log files in /var/log) and/or in the "dmesg" command output.

My recommendation:
- take a backup of the /sed filesystem
- umount /sed
- fsck /dev/cciss/c0d1p3
- mount /sed

If the fsck command fails, the filesystem has been seriously damaged.

The device /dev/cciss/c0d1p3 is partition 3 on logical disk 1 of SmartArray controller 0. This is a hardware RAID controller: if you have the "hpacucli" tool installed, you can view the SmartArray configuration with this command:

hpacucli ctrl all show config detail

MK
MK
AA786
Frequent Advisor

Re: Ro,Rw permission Filesystem -linux

Hi Matti,

Yes you are correct,its bcos disk problem,
We have changed the Disk .

all are sync back,

but the mount -v
/dev/cciss/c0d1p3 on /sed type ext3 (ro)
shows above

how i can change to RW
Heironimus
Honored Contributor

Re: Ro,Rw permission Filesystem -linux

If it got remounted read-only because of errors your filesystem is likely corrupted. You really should copy everything off or restore from backup. However, you may be able to umount, fsck until it stops returning errors, and remount.
Jeeshan
Honored Contributor

Re: Ro,Rw permission Filesystem -linux

edit the /etc/fstab and add rw after the word defaults like below

/dev/cciss/c0d1p3 /sed ext3 defaults,rw 1 1


save the file and then execute the command

#mount -o remount /sed

then see the mount -v output
a warrior never quits