Index: [Article Count Order] [Thread]

Date:  Thu, 19 Apr 2007 22:13:09 +0200
From:  "Taco Scargo" <taco (at mark) scargo.nl>
Subject:  [coba-e:09633] Re: Read-only file system
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <002401c782bf$26575310$14001fac@DELLP4TACO>
References:  <0JGP004UIE3KZGE0 (at mark) mxout5.netvision.net.il>	 <001701c781f4$f50e0ad0$14001fac (at mark) DELLP4TACO>	 <011801c782aa$ea535710$befa0530$ (at mark) com> <1486c6440704191044x6470c7d6n43fbd3c135872aae (at mark) mail.gmail.com> <01fe01c782b7$6b959660$42c0c320$ (at mark) com> <02b101c782c2$a4ac73a0$ee055ae0$ (at mark) com>
X-Mail-Count: 09633

I think it is wiser to make the system fsck the corrupt filesystem (md4) and 
reboot the machine

This way the filesystem will be repaired.

According to mdstat there is no hardware failute.

Taco
----- Original Message ----- 
From: "Mitchell Rothschild" <mjr (at mark) misswebhost.com>
To: <coba-e (at mark) bluequartz.org>
Sent: Thursday, April 19, 2007 10:38 PM
Subject: [coba-e:09632] Re: Read-only file system


> Hello,
>
> I do not know much about mounting...but can I use this command to remount
> the file system so it is not in read only mode?
>
> mount -no remount,rw /
> or
> mount -o remount,rw /
>
> not sure what the exact command is..
>
> Is this the next smart step to proceed with?
>
>
>> Filesystem            Size  Used Avail Use% Mounted on
>> /dev/md1              6.0G  875M  4.8G  16% /
>> /dev/md6               99M   20M   75M  21% /boot
>> none                 1013M     0 1013M   0% /dev/shm
>> /dev/md4               99G   12G   82G  13% /home
>> /dev/md2             1012M   34M  927M   4% /tmp
>> /dev/md3              4.0G  551M  3.2G  15% /var
>
> Hi,
>
> Thanks...
> This is some of what I get from dmesg..
>
> TCP: Treason uncloaked! Peer 207.105.34.2:39897/80 shrinks window
> 1990054351:1990057248. Repaired.
> TCP: Treason uncloaked! Peer 207.105.34.2:40168/80 shrinks window
> 2000741566:2000743084. Repaired.
> EXT3-fs error (device md4): ext3_readdir: directory #3817571 contains a 
> hole
> at offset 4096 Aborting journal on device md4.
> EXT3-fs error (device md4): ext3_readdir: directory #3817571 contains a 
> hole
> at offset 8192 EXT3-fs error (device md4): ext3_readdir: directory 
> #3817571
> contains a hole at offset 12288 EXT3-fs error (device md4): ext3_readdir:
> directory #3817571 contains a hole at offset 16384 EXT3-fs error (device
> md4): ext3_readdir:
> directory #3817571 contains a hole at offset 20480 EXT3-fs error (device
> md4): ext3_readdir: directory #3817571
>
> #3817571 contains a hole at offset 319488 EXT3-fs error (device md4):
> ext3_readdir: directory #3817571 contains a hole at offset 323584 EXT3-fs
> error (device md4): ext3_readdir: directory #3817571 contains a hole at
> offset 327680 EXT3-fs error (device md4) in start_transaction: Journal has
> aborted
> TCP: Treason uncloaked! Peer 63.147.152.184:61200/80 shrinks window
> 366474174:366481639. Repaired.
>
>
> This is what I get from cat /proc/mdstat
>
> cat /proc/mdstat
> Personalities : [raid1]
> md6 : active raid1 sdb1[1] sda1[0]
>      104320 blocks [2/2] [UU]
>
> md3 : active raid1 sdb3[1] sda3[0]
>      4192896 blocks [2/2] [UU]
>
> md5 : active raid1 sdb5[1] sda5[0]
>      1052160 blocks [2/2] [UU]
>
> md2 : active raid1 sdb6[1] sda6[0]
>      1052160 blocks [2/2] [UU]
>
> md4 : active raid1 sdb7[1] sda7[0]
>      104526784 blocks [2/2] [UU]
>
> md1 : active raid1 sdb2[1] sda2[0]
>      6289344 blocks [2/2] [UU]
>
> unused devices: <none>
>
>
> run the command 'dmesg' and see what it says.
>
> it is likely that there is some sort of error with your file system and 
> the
> kernel has marked the file system read-only to protect it from damage.
>
> The root cause of this sort of thing is usually hardware failure.
> since you are using md, also run a 'cat /proc/mdstat' to see what state 
> the
> system thinks the disks are in.
>
> of course be paranoid, and take a good backup.
>
> -Adam
>
> On 4/19/07, Mitchell Rothschild <mjr (at mark) misswebhost.com> wrote:
>> Hi,
>>
>> Hope all is well with everyone...
>>
>> I have an error today...and some mysql sites are not working.
>> When I try to move or copy files I get an error...
>> Read-only file system
>>
>> How can I fix this?
>>
>> Thanks in advance.
>>
>>
>>
>
>
> --
> -----------------------------------------------------------------
> Shroom.net Donation Based Web Hosting
> http://www.shroom.net/
> -----------------------------------------------------------------
>
>
>