One of ocfs2 filesystem has some errors. 1. fsck.ocfs2 informs me that : "I/O error on channel while reading .. " It was NOT TRUE - I was able to read and write entire storage over the network multiple times. 2. becouse of CRC errors and suggestion to disable metaecc I run tunefs.ocfs2 --fs-features=nometaecc /dev/xxx funefs allocate 9,89 GB of virtual memory and 95% of phisical memory (4GB). After 4 hours process has been killed - because of out of memory. I have to recreate new filesystem and restore data from backup. I try to use tools in version 1.4 and 1.6 (newest) Filesystem is quite small 250GB and less than 10 000 files, exported by aoe. Additionally on the new clean FS - running tunefs.ocfs2 --fs-features=nosparse behave in the same way It seems that the tools are not "perfect" Could anyone confirm? Pawel
On 01/20/2011 09:42 PM, Pawel wrote:> One of ocfs2 filesystem has some errors. > 1. fsck.ocfs2 informs me that : "I/O error on channel while reading > .. " It was NOT TRUE - I was able to read and write entire storage over > the network multiple times.It means it meet I/O error in some ocfs2 disk structure, not the disk.> 2. becouse of CRC errors and suggestion to disable metaecc I run > tunefs.ocfs2 --fs-features=nometaecc /dev/xxx > funefs allocate 9,89 GB of virtual memory and 95% of phisical memory > (4GB). After 4 hours process has been killed - because of out of memory. > > I have to recreate new filesystem and restore data from backup. > > I try to use tools in version 1.4 and 1.6 (newest) > Filesystem is quite small 250GB and less than 10 000 files, exported by aoe. > Additionally on the new clean FS - running tunefs.ocfs2 > --fs-features=nosparse behave in the same wayI knew a similar bug in fsck.ocfs2, but didn't meet any similar issue in tunefs.ocfs2. The bug in fsck is fixed by b987ee2 "fsck.ocfs2: Only ask available pages in o2fsck_init_cache." A new clean FS will cause so much memory, strange? would you mind run o2image and give us the image? Then I can test it locally. anyway, thanks for the test. Regards, Tao
Please file a bugzilla on the nometaecc issue. On 01/20/2011 05:42 AM, Pawel wrote:> One of ocfs2 filesystem has some errors. > 1. fsck.ocfs2 informs me that : "I/O error on channel while reading > .. " It was NOT TRUE - I was able to read and write entire storage over > the network multiple times. > 2. becouse of CRC errors and suggestion to disable metaecc I run > tunefs.ocfs2 --fs-features=nometaecc /dev/xxx > funefs allocate 9,89 GB of virtual memory and 95% of phisical memory > (4GB). After 4 hours process has been killed - because of out of memory. > > I have to recreate new filesystem and restore data from backup. > > I try to use tools in version 1.4 and 1.6 (newest) > Filesystem is quite small 250GB and less than 10 000 files, exported by aoe. > Additionally on the new clean FS - running tunefs.ocfs2 > --fs-features=nosparse behave in the same way > > It seems that the tools are not "perfect" > Could anyone confirm? > > Pawel > > > _______________________________________________ > Ocfs2-devel mailing list > Ocfs2-devel at oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-devel