Skip to contentSkip to conversation

useless tools - tunefs.ocfs2,fsck.ocfs2

Ocfs2-devel Pawel 3 participants 3 messages Jan 20, 2011 OCFS2

lore
Share & tools
lore

Pawel

author
#0 lore raw

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

#1 lore raw
Quoted 4 lines · Pawel

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.

Quoted 11 lines

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

I 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

#2 lore raw
In reply to Pawel

Please file a bugzilla on the nometaecc issue.

Quoted 26 lines · Pawel

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