Skip to content

non-responsive [simple] mount; How to debug? #182

@Thomas131

Description

@Thomas131

Hi!
I set up a bindfs a few days ago; nothing special. This code on nixos:

  fileSystems."/home/[my2nduser]/mnt" = {
    device = "/";
    fsType = "fuse.bindfs";
    options = [ "map=1000/1001" ];
  };

Which translates to this fstab entry:

/ /home/[my2nduser]/mnt fuse.bindfs map=1000/1001 0 2

My system froze today. I had some unrelated technical difficulties, but I didn't change technical stuff since the last reboot, so that should be unrelated I guess. (Oh for some reason, the root-Folder ("/") was owned by uid 1000 - I hope bindfs wasn't responsible for that.)

On my 2nd user:

  • ls ~ froze
  • lsof froze
  • (sudo) umount froze
  • ls --exclude=mnt worked

I found nothing interesting related to fuse or bind in journalctl or dmesg.

I killed the fuser process; made an sudo umount and a mount -a afterwards and things work again.

How to debug such behavior if it happens again so I can do a proper bug report in case it happens again? Thanks!
Thomas131

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions