Menu

#20 bcachefs support

None
closed
Jan Kara
None
5
2025-07-02
2024-10-25
Anonymous
No

multi-device filesystems bcachefs not supported by Linux DiskQuota.
Bcachefs fomated and mounted with quota support. but userspace tool does not support multiple device.

# grep bcachefs /proc/mounts
/dev/sdb:/dev/sda:/dev/sdc / bcachefs rw,relatime,metadata_replicas=2,data_replicas=2,background_compression=lz4,metadata_target=ssd,foreground_target=ssd,background_target=hdd,promote_target=ssd,usrquota,grpquota,prjquota 0 0

# repquota  -a
repquota: Cannot stat() mounted device /dev/sdb:/dev/sda:/dev/sdc: No such file or directory

Discussion

  • Jan Kara

    Jan Kara - 2024-11-07

    Thanks for report! Which version of quota tools are you using? Because the latest version of quota-tools in current git should handle this fine?

     
  • Jan Kara

    Jan Kara - 2025-04-25
    • status: open --> closed
    • assigned_to: Jan Kara
    • Group: -->
     
  • Jan Kara

    Jan Kara - 2025-04-25

    No response from reporter.

     
  • Anonymous

    Anonymous - 2025-05-11
    # quotaon -P /
    quotaon: Cannot stat() mounted device /dev/sdc:/dev/sda:/dev/sdb: No such file or directory
    quotaon: Mountpoint (or device) / not found or has no quota enabled.
    # quota -V
    Quota utilities version 4.09.
    Compiled with: EXT2_DIRECT BSD_BEHAVIOUR
    Bugs to jack@suse.cz
    
     
  • Anonymous

    Anonymous - 2025-05-11
    # repquota -Pa
    *** Report for project quotas on device /dev/sdb:/dev/sdc
    Block grace time: 7days; Inode grace time: 7days
                            Block limits                File limits
    Project         used    soft    hard  grace    used  soft  hard  grace
    ----------------------------------------------------------------------
    #0        -- 42113329       0       0        1060684     0     0
    #42       --       0       0       0              1     0     0
    
    
    # quotaon -Pv -F vfsv1 /
    quotaon: cannot find . on /dev/sdb:/dev/sdc [/]
    
     # quotaon -V
    Quota utilities version 4.10.
    Compiled with: USE_LDAP_MAIL_LOOKUP EXT2_DIRECT
    Bugs to jack@suse.cz
    
     
  • Jan Kara

    Jan Kara - 2025-07-01
    • status: closed --> open
     
  • Jan Kara

    Jan Kara - 2025-07-01

    OK, so still broken with 4.10 version. I'll have a look...

     
  • Jan Kara

    Jan Kara - 2025-07-02
     
  • Jan Kara

    Jan Kara - 2025-07-02

    I have pushed out a bunch of changes that should fix this.

     
  • Jan Kara

    Jan Kara - 2025-07-02
    • status: open --> closed
     
  • Jan Kara

    Jan Kara - 2025-07-02

    I have pushed out a bunch of changes that should fix this.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB