Quota issue on Raspberry OS 11

Discussion in 'Installation/Configuration' started by Csaba Bocskai, Dec 28, 2021.

  1. Csaba Bocskai

    Csaba Bocskai New Member


    I'm trying to adapt the Perfect server tutorial to Raspberry OS and I'm stuck at setting up FTP quota. Hope someone can help with this.

    /etc/fstab looks like this:
    PARTUUID=2f3c941e-01 /boot vfat defaults 0 2
    PARTUUID=2f3c941e-02 / ext4 usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1

    And this is the error I get:
    quotacheck: Cannot stat() mounted device /dev/root: No such file or directory
    quotacheck: Cannot find filesystem to check or filesystem not mounted with quota option.

    Is there some fundamental difference between the vanilla Debian and Raspberry OS?
    I would hate it to restart the whole process.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. Csaba Bocskai

    Csaba Bocskai New Member

    It works until I reboot. Then the link gets lost.
    I suppose I need to automate link creation (?)

    Also, there is a message that reads
    "Your kernel probably supports ext4 quota feature but you are using external quota files. Please switch your filesystem to use ext4 quota feature as external quota files on ext4 are deprecated"
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Have you tried copying that error message to Internet Search engines?
  5. Csaba Bocskai

    Csaba Bocskai New Member

    What I found was I need to create an entry somewhere in rc.d
    As far as I remember, that belongs to the old init system, and systemd uses something else.
    I have been away from servers for some years...
  6. Csaba Bocskai

    Csaba Bocskai New Member

    Ended up creating the symlink (ln -s /dev/sda2 /dev/root) via /etc/rc.local
    Now it does it at every boot.
    Thank you both.
    ahrasis and till like this.

Share This Page