adam900710 / btrfs-fuse

A read-only, license friendly, FUSE based btrfs implementation
Other
26 stars 4 forks source link

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

Open askiiart opened 3 weeks ago

askiiart commented 3 weeks ago

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 commented 3 weeks ago

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

askiiart commented 3 weeks ago

@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 commented 2 weeks ago

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 commented 2 weeks ago

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 commented 2 weeks ago

I have updated the branch to include some debugging.

Wish you to have a full and quick recovery.

askiiart commented 2 weeks ago

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