-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error mounting on GNU/Linux: all records greater than key / could not find root parent #24
Comments
Hi, it's tough to say but based on where this error is cropping up I'm concerned it may be a regression in fb874cd. Do you mind checking out the most recent commit before that fd11ccc and rebuilding with Thanks for the detailed report. |
Hi, thank you; I built it as suggested from fd11ccc. It still gave that error:
|
Hi, sorry for the back and forth, but could you try one more time with bb30b40 ? The debug output here indicates there are records in the filesystem but none are under / -- which seems like the result of filesystem corruption -- but the fact that these other tools are able to read them makes me wonder if some of the nodes are being skipped by hfsfuse instead. There were some changes in the commits after the one I linked to prevent possible overreads of nodes and I'm wondering if this is a bug that only appears in certain btree layouts (e.g. there are exactly the max number of nodes and hfsfuse isn't reading the last one). |
Unfortunately it still didn't seem to work, building from that commit:
|
I see, thanks for trying it out. I've been trying to trace what might be going on here but it's tough without a disk that demonstrates the same problem to do more involved debugging on. I still think this might be a bug in hfsfuse, partly because I've never tested with a disk this large, but it's admittedly a bit of a stab in the dark at this point so if you'd rather stick with the other tools than continue trying things out that's understandable. As for other info that could help at this point, I'd be interested to see the output of these if any. /home/kyan/hfsfuse/hfsfuse -d -o noublio /dev/sdd2 /redacted
/home/kyan/hfsdump /dev/sdd2 read /
/home/kyan/hfsdump /dev/sdd2 stat /
/home/kyan/hfsdump /dev/sdd2 stat /.DS_Store |
Here are the last three:
The first one was taking a long time and producing a lot of output, so I cancelled it because it's time for bed for me, but here's what I got (I find-and-replaced one directory name that is from the filesystem contents of /dev/sdd2 with "redacted"; all the "redacted" in this correspond to the same string): https://gist.github.com/ethus3h/cff6c1880725889d33b9ba821d98c24a |
(Oh, those were still using the bb30b40 commit, if that matters.) |
Hi, I ran into an error using this in GNU/Linux, saying "all records greater than key" and "could not find root parent" when mounting a disk. The disk mounts OK using the Linux kernel driver. (I was trying this program to try to get around a character encoding issue with the Linux driver, but the Linux driver mostly works. Hfsexplorer is able to read the drive without any character encoding issues, but I want to mount it as a directory, which hfsexplorer can't do.)
I built hfsfuse from commit 70e2afe.
I'd appreciate any help with getting it working if possible! Thank you.
Here are the errorred output of
hfsfuse
, mounting it successfully withmount
, theuname -a
of the system I'm using, and output ofhfsdump
for the disk:The text was updated successfully, but these errors were encountered: