The runtime of fsck strongly depends on the number of files in your file system. For a runtime calculation that's far more important than the size of the file system and the files. If you have a lot of files a long runtime is possible, because checking the integrity of the file system in backward mode is very communication intensive and time-consuming at the moment.
>
> I could not find detailed documentation of fhgfs-fsck anywhere...
>
A detailed documentation of fsck is work in progress and can be found in the wiki in the next two week, at the latest.
Regards,
Christian
--
=======================================================
Christian Mohrbacher
Competence Center High Performance Computing
Institut fuer Techno- und Wirtschaftsmathematik (ITWM)
Fraunhofer-Platz 1
D-67663 Kaiserslautern
=======================================================
Tel.: (49) 631 31600 4425
Fax: (49) 631 31600 1099
E-Mail: christian....@itwm.fraunhofer.de
Internet: http://www.itwm.fraunhofer.de
=======================================================
The runtime of fsck strongly depends on the number of files in your file system. For a runtime calculation that's far more important than the size of the file system and the files. If you have a lot of files a long runtime is possible, because checking the integrity of the file system in backward mode is very communication intensive and time-consuming at the moment.
> Any chance that a percent of completion could be displayed and updated
> while running ?
>
Well, in the current version, a percentage indicator would be hard to
implement, as we are not fully aware of the number of chunks in the file
system at runtime (we could guess the number of chunks according to the
number of files in the FhGFS, but even then, we would not know about
orphaned chunks, defective metadata entries, etc.). For the next major
release of FhGFS we are implementing the fsck with a different approach,
which has some improvements. We will try to have some more detailed
statistics at runtime in that version.
Regards,
Christian
--
=====================================================
| Christian Mohrbacher |
| Competence Center for High Performance Computing |
| Institut fuer Techno- und |
| Wirtschaftsmathematik (ITWM) |
| Fraunhofer-Platz 1 |
| |
| D-67663 Kaiserslautern |
=====================================================
| Tel: (49) 631 31600 4425 |
Well, in the current version, a percentage indicator would be hard to
implement, as we are not fully aware of the number of chunks in the file
system at runtime (we could guess the number of chunks according to the
number of files in the FhGFS, but even then, we would not know about
orphaned chunks, defective metadata entries, etc.).
For the next major
release of FhGFS we are implementing the fsck with a different approach,
which has some improvements. We will try to have some more detailed
statistics at runtime in that version.
>
> I have performed the upgrade, and now fsck goes to completion. The command
> and output is pasted below.
>
Good to hear.
> There are 179 messages in the humanReadableErrorLog output file:
>
> I suppose this is due to the filesystem being live during the fsck ?
Yes, this can be due to the fact that you are using the FS. These "false positives" should be sorted out in the second pass, which is performed by the fsck. So, this is ok.
Regards,
Christian
>
> Cheers,
> Christian
>
>
--
=======================================================
Christian Mohrbacher
Competence Center High Performance Computing
Institut fuer Techno- und Wirtschaftsmathematik (ITWM)
Fraunhofer-Platz 1
D-67663 Kaiserslautern
=======================================================
Tel.: (49) 631 31600 4425
Fax: (49) 631 31600 1099
E-Mail: christian....@itwm.fraunhofer.de
Internet: http://www.itwm.fraunhofer.de
=======================================================