I did some more test. First I split the raid in two partitions and run mkfs.ext3 -c for badblocks. then I tried to copy data on the first partion. after a while i got errors (around 130gb were on th partition) : attempt to access beyond end of device sda1: rw=0, want=3151373440, limit=1464846304 attempt to access beyond end of device sda1: rw=0, want=2853870672, limit=1464846304 attempt to access beyond end of device sda1: rw=0, want=1751501064, limit=1464846304 attempt to access beyond end of device sda1: rw=0, want=2783268072, limit=1464846304 attempt to access beyond end of device sda1: rw=0, want=2835511344, limit=1464846304 attempt to access beyond end of device so I googled and found this thread: http://lkml.org/lkml/2006/10/5/353 I tried the script from there on my partition (whith around 130 gb on it): dd bs=1M count=200 if=/dev/zero of=test0 while :; do echo "cp 0-1"; cp test0 test1 || break echo "cp 1-2"; cp test1 test2 || break echo "cp 2-3"; cp test2 test3 || break echo "cp 3-4"; cp test3 test4 || break echo "od 0" ; od test0 || break echo "rm 1"; rm test1 || break echo "rm 2"; rm test2 || break echo "rm 3"; rm test3 || break echo "rm 4"; rm test4 || break done The script was running not more then 10 minutes and I got: EXT3-fs error (device sda1) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs error (device sda1) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs error (device sda1) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs error (device sda1) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda1): ext3_free_blocks: Freeing blocks in system zones - Block = 327680, count = 1 EXT3-fs error (device sda1) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda1): ext3_free_blocks: Freeing blocks in system zones - Block = 327680, count = 1 EXT3-fs error (device sda1) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda1): ext3_free_blocks: Freeing blocks in system zones - Block = 327680, count = 1 Then I create a new fs on the partition without any data on it and got the same errors while running ths script. On internal ide harddisk softwareraid-1 but partiton size only 4 gb no problem with the test script. The testscript with 10mb file is now running for several hours without any problems on the sata raid partition. New Partion with size of 340GB, testscript with 200mb files. Errors: ock = 65536, count = 1 EXT3-fs error (device sda2) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda2): ext3_free_blocks: Freeing blocks in system zones - Block = 65536, count = 1 EXT3-fs error (device sda2) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda2): ext3_free_blocks: Freeing blocks in system zones - Block = 65536, count = 1 EXT3-fs error (device sda2) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda2): ext3_free_blocks: Freeing blocks in system zones - Block = 65536, count = 1 EXT3-fs error (device sda2) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs error (device sda2) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs error (device sda2) in ext3_reserve_inode_write: Readonly filesystem EXT3-fs error (device sda2) in ext3_truncate: IO failure EXT3-fs error (device sda2) in ext3_reserve_inode_write: Readonly filesystem EXT3-fs error (device sda2) in ext3_orphan_del: Readonly filesystem EXT3-fs error (device sda2) in ext3_reserve_inode_write: Readonly filesystem EXT3-fs error (device sda2) in ext3_delete_inode: IO failure And with 180 GB Partition: ree_blocks: Freeing blocks in system zones - Block = 262144, count = 1 EXT3-fs error (device sda3) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda3): ext3_free_blocks: Freeing blocks in system zones - Block = 262144, count = 1 EXT3-fs error (device sda3) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs unexpected failure: !jh->b_committed_data; inconsistent data on disk EXT3-fs error (device sda3): ext3_free_blocks: Freeing blocks in system zones - Block = 262144, count = 1 EXT3-fs error (device sda3) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs error (device sda3) in ext3_free_blocks_sb: Readonly filesystem EXT3-fs error (device sda3) in ext3_reserve_inode_write: Readonly filesystem EXT3-fs error (device sda3) in ext3_truncate: IO failure EXT3-fs error (device sda3) in ext3_reserve_inode_write: Readonly filesystem EXT3-fs error (device sda3) in ext3_orphan_del: Readonly filesystem EXT3-fs error (device sda3) in ext3_reserve_inode_write: Readonly filesystem EXT3-fs error (device sda3) in ext3_delete_inode: IO failure Strange ? I still don't know how to solve the problem. Regards, Jan > Hey, > > I've a problem with an ext3 filesystem and don't know how to fix it or > find the failure :( > > The Hardware: > > Tyan mainboard, AMD Athlon CPU, ARECA ARC-1120 RaidController Raid5 with > 400GB Seagate HD's, 756 MB Ram, other harddisks for system, network and > avm isdn controller. > > Couse of the filesystem problems I run memtest and found one bad memory > module which I replaced yet. > > The System: > > Kernel 2.6.19.1 > Debian Gnu/Linux 3.0 with e2fsck 1.37 (21-Mar-2005) > > > I've setup one ext3 partition with around 1.4 TB on the raid5 volume. > The first four month we run the raid without any problems. About two > month ago I noticed that the filesystem was remounted ro. A filesystem > check found a lot of errors. After a filesystem check and a new mount of > the partition and copy data on the partition you get the errors again. > Also with Kernel 2.6.17.3 I got this problems. A raid volume check with > the areca command line tools doesn't find any errors. > > Errors from dmesg / kernel.log: > > > EXT3-fs: mounted filesystem with ordered data mode. > init_special_inode: bogus i_mode (113301) > init_special_inode: bogus i_mode (170101) > init_special_inode: bogus i_mode (115140) > init_special_inode: bogus i_mode (117302) > init_special_inode: bogus i_mode (111700) > EXT3-fs error (device sda1): ext3_readdir: bad entry in directory > #143278260: rec_len % 4 != 0 - offset=0, inode=1857588108, rec_len=8466, > name_len=34 > > Dec 22 14:25:03 datahaven kernel: init_special_inode: bogus i_mode (111501) > Dec 22 14:25:03 datahaven kernel: init_special_inode: bogus i_mode (113301) > Dec 22 14:25:03 datahaven kernel: init_special_inode: bogus i_mode (170101) > Dec 22 14:25:03 datahaven kernel: init_special_inode: bogus i_mode (115140) > Dec 22 14:25:19 datahaven kernel: EXT3-fs error (device sda1): > ext3_readdir: bad entry in directory #150569204: rec_len %% 4 != 0 - > offset=0, inode=3038782558, > rec_len=28425, name_len=75 > > > Dec 22 06:31:43 datahaven kernel: init_special_inode: bogus i_mode (111501) > Dec 22 06:31:43 datahaven kernel: init_special_inode: bogus i_mode (113301) > Dec 22 06:31:43 datahaven kernel: init_special_inode: bogus i_mode (170101) > Dec 22 06:31:43 datahaven kernel: init_special_inode: bogus i_mode (115140) > Dec 22 06:31:54 datahaven kernel: EXT3-fs error (device sda1): > ext3_readdir: bad entry in directory #20351025: directory entry across > blocks - offset=0, inode=20353857, rec_len=13600, name_len=1 > Dec 22 06:31:55 datahaven kernel: EXT3-fs error (device sda1): > ext3_readdir: bad entry in directory #20417957: rec_len %% 4 != 0 - > offset=96, inode=20437734, rec_len=27291, name_len=6 > Dec 22 06:31:59 datahaven kernel: EXT3-fs error (device sda1): > ext3_readdir: bad entry in directory #21007912: directory entry across > blocks - offset=296, inode=21005643, rec_len=32184, name_len=25 > Dec 22 06:32:24 datahaven kernel: init_special_inode: bogus i_mode (114764) > Dec 22 06:32:29 datahaven kernel: EXT3-fs error (device sda1): > ext3_readdir: bad entry in directory #21839877: rec_len %% 4 != 0 - > offset=24, inode=21839878, rec_len=22019, name_len=7 > Dec 22 06:32:30 datahaven kernel: init_special_inode: bogus i_mode (55314) > Dec 22 06:32:34 datahaven kernel: init_special_inode: bogus i_mode (117302) > Dec 22 06:32:36 datahaven kernel: EXT3-fs error (device sda1): > ext3_readdir: bad entry in directory #22448122: rec_len %% 4 != 0 - > offset=24, inode=22417991, rec_len=28145, name_len=8 > > Any hints how to solve this problem or to isolate the failure ? > > Best regards and thanks in advance for your help, > > Jan > > _______________________________________________ > Ext3-users mailing list > Ext3-users@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/ext3-users _______________________________________________ Ext3-users mailing list Ext3-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/ext3-users