Hello everyone.
I’d like to know if Haiku has disk repair tools and what partition types are supported.
Thank you.
Only “tool” I use from time to time is checkfs on the Haiku partitions.
You can probably find the usual linux tools (ddrescue, photorec) in the package repos, or easily compile them if they aren’t there yet.
For bfs partitions that are too corrupt even for checkfs and won’t mount anymore, there is also bfs_recover that will allow to find still valid files and directories and write them to a new partition.
Okay, thank you very much.
It helped a lot.
Okay, thank you very much.
Ahoy Adrien,
I tried to locate or get it for probation this tool in R1B5/64 bit - however I found nothing.
~> find /boot -name bfs-recover
~> find /boot -name bfs-recover
~> pkgman search bfs_recover
No matching packages found.
~> pkgman search bfs-recover
No matching packages found.
~>
> find /boot -name bfs_recovery
~> find /boot -name bfs-recovery
~> pkgman search bfs_recovery
No matching packages found.
~> pkgman search bfs-recovery
No matching packages found.
~>
How can I get this tool ?
The binary is called just “recover” and is in the Haiku package. So you don’t need to install anything
Thanks :), I 've found this way finally
~> find /boot -name recover
/boot/system/bin/recover
~> /boot/system/bin/recover --help
Copyright (c) 2001-2008 pinc Software.
usage: recover [-idv] [-r [start-offset] [end-offset]] <device> [recover-to-path]
-i recreate indices on target disk
-d dump missing and recreated i-nodes
-r disk access in raw mode (use only if the partition table is invalid)
-s recreate superblock and exit (for experts only, don't use this
if you don't know what you're doing)
-v verbose output
~>
BTW, instead of find
, you can just use Haiku’s native query
for that instead (query -a name=recover
). Much faster than find
since it uses indexes! (And since this command’s in bin
, you don’t need to specify the full path anyway.)
Not necessary a “repair” tool exactly, but testdisk + photorec are tools than can help to access and even retrieve some data from partially corrupted differents file systems, including BeFS.
Search testdisk on Haiku Depot, there is even a GUI for it available.