On 2017-02-27 13:04, Richard Brown wrote:
On 26 February 2017 at 18:04, Dr.-Ing. Dieter Jurzitza <> wrote:
A regular approach is to check a filesystem with XXXfsck, and it is the very responsibility of that tool to not destroy anything and to guide you through problems if problems are found.
from btrfsck (aka "btrfs check") --help
"WARNING: the repair mode is considered dangerous"
Unacceptable.
from man btrfs check
"Warning Do not use --repair unless you are advised to by a developer, an experienced user or accept the fact that fsck cannot possibly fix all sorts of damage that could happen to a filesystem because of software and hardware bugs."
unacceptable.
from man e2fsck (aka fsck.ext2/3/4)
" Note that in general it is not safe to run e2fsck on mounted filesystems.
Of course. A filesystem can only be repaired if not mounted - even on Windows.
from man xfs_repair
" The filesystem to be checked and repaired must have been unmounted cleanly using normal system administration procedures (the umount(8) command or system shutdown), not as a result of a crash or system reset. If the filesystem has not been unmounted cleanly, mount it and unmount it cleanly before running xfs_repair"
Same thing, umounted. No surprise. And the log must be played.
The conclusion you can take from the above is that all fsck tools are somewhat unsafe, all should be taken with some care and btrfs is the only one which clearly documents this fact not only in it's man page, but also at runtime in the command.
All those tools for other filesystems do work as they say they do. They don't make things worse, in any case. And in most cases, they do repair the damage.
Especially as you do not appear to be volunteering to do any of the work, just asking others to do it for you..why should our maintainers discard they work they've been doing just because it doesn't suit you?
Oh, but the volunteers have to be aware of what the users want and really use. Just by they volunteering to do something the way they like doesn't mean that others have to accept that work without critique. That doesn't mean the work invested is not appreciated. -- Cheers / Saludos, Carlos E. R. (from 42.2 x86_64 "Malachite" (Minas Tirith))