Skip to content
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: failed to scan device /dev/nvme0n1p3: -13 #10

Open
askiiart opened this issue Oct 30, 2024 · 6 comments
Open

ERROR: failed to scan device /dev/nvme0n1p3: -13 #10

askiiart opened this issue Oct 30, 2024 · 6 comments

Comments

@askiiart
Copy link

When mounting a partition, btrfs-fuse throws this error.

~ $ /home/askiiart/btrfs-fuse/build/btrfs-fuse /dev/nvme0n1p3 ./data/mountpoints/btrfs-fuse
ERROR: failed to scan device /dev/nvme0n1p3: -13

There's no debug info; nothing changes when adding -d.

@adam900710
Copy link
Owner

-13 is -EACCESS, do you have read access to that partition?

@askiiart
Copy link
Author

@adam900710 Well, I tried it with both sudo and without, with the same effect. And using the normal btrfs kernel driver, I was able to mount it just fine.

@adam900710
Copy link
Owner

I still failed to reproduce the problem.

Does your distro utilize extra security models especially SELinux? If so, have you tried disable SELinux or at least set it to permissive mode?

If still failed to mount, I can add extra debug output to help debugging the problem.

@askiiart
Copy link
Author

askiiart commented Nov 4, 2024

I'm on an Arch derivative (BlendOS), so no SELinux. I broke my arm a couple weeks ago so now I'm in a splint, so for now I'm not gonna bother fighting with the computer for now, but once I'm healed I'll give it a shot.

Also, I may not be able to reproduce the problem; sway started segfaulting for some reason, and when reinstalling I ended up inadvertently deleting the partition. But yeah, I'll give it a shot once I can use my right hand without my splint hitting the shift key :p

Thanks <3

adam900710 added a commit that referenced this issue Nov 4, 2024
There is a report about a weird -EACCESS failure mountting a partition,
add extra debugging for it.

Issue: #10
Signed-off-by: Qu Wenruo <[email protected]>
@adam900710
Copy link
Owner

I have updated the branch to include some debugging.

Wish you to have a full and quick recovery.

@askiiart
Copy link
Author

askiiart commented Nov 5, 2024

Update: out of the splint woohoo, I can be a functioning member of society again! that was fast lol

Anyways, got some school work to catch up on, once I've got some free time I'll try it and let you know how it goes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants