# Failed to turn on quotas : quotaon: using . on /dev/sda1 \[/home\]: File exist

**URL:** <https://forum.virtualmin.com/t/failed-to-turn-on-quotas-quotaon-using-on-dev-sda1-home-file-exist/137832>\
**Category:** Webmin\
**Created:** [August 24, 2026, 1:47pm UTC](https://forum.virtualmin.com/t/failed-to-turn-on-quotas-quotaon-using-on-dev-sda1-home-file-exist/137832 "2026-08-24T13:47:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![clakograv](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/clakograv/32/24693_2.png) [@clakograv](https://forum.virtualmin.com/u/clakograv)\
**Post date:** [August 24, 2026, 1:47pm UTC](https://forum.virtualmin.com/t/failed-to-turn-on-quotas-quotaon-using-on-dev-sda1-home-file-exist/137832/1 "2026-08-24T13:47:58Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-138-generic x86\_64) |
| Webmin version | 2.660 |

Hi there. I’m on a fresh Ubuntu install.

```auto
$ uname -a
Linux s1.servername.com 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux

```

I have a problem trying to get disk quotas to work.

On “re-check configuration” under Virtualmin → System Settings, it’s reporting:

```auto
[...]
Quotas are not enabled on the filesystem /home which contains home directories under /home and email files under /home. Quota editing has been disabled
[...]

```

Disks are like so:

```auto
$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 20G 0 disk 
└─sda1 8:1 0 20G 0 part /home/chroot/<NUMBERS>/home/user1
                                 /home/chroot/<NUMBERS>/home/user2
                                 /home
vda 253:0 0 50G 0 disk 
├─vda1 253:1 0 49G 0 part /
├─vda14 253:14 0 4M 0 part 
├─vda15 253:15 0 106M 0 part /boot/efi
└─vda16 259:0 0 913M 0 part /boot

```

My `/etc/fstab` looks like this:

```auto
$ cat /etc/fstab
LABEL=ROOT	/	ext4	discard,commit=30,usrquota,relatime,rw,grpquota,errors=remount-ro,quota	0	1
LABEL=BOOT	/boot	ext4	defaults	0	2
LABEL=UEFI	/boot/efi	vfat	umask=0077	0 1

/swapfile none swap sw 0 0

LABEL=WEBDATA	/home	ext4	usrquota,grpquota	0	2

/home/user1	/home/chroot/<NUMBERS>/home/user1	bind	defaults,bind	0	
/home/user2	/home/chroot/<NUMBERS>/home/user2	bind	defaults,bind	0
[...]

```

Quota appears available for the disk:

```auto
$ sudo tune2fs -l /dev/sda1 | grep -i quota
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize quota metadata_csum
User quota inode: 3
Group quota inode: 4

```

```auto
$ sudo dmesg | grep -i 'quota'
[0.641116] VFS: Disk quotas dquot_6.6.0
[2.528076] EXT4-fs (vda1): mounted filesystem XXX ro with ordered data mode. Quota mode: none.
[4.483987] EXT4-fs (vda16): mounted filesystem YYY r/w with ordered data mode. Quota mode: none.
[5.145285] EXT4-fs (sda1): mounted filesystem ZZZ r/w with ordered data mode. Quota mode: journalled.

```

And `quotaon` reports:

```auto
$ sudo quotaon -vug /home
quotaon: using . on /dev/sda1 [/home]: File exists
quotaon: using . on /dev/sda1 [/home]: File exists

```

which is the same error I get on the Webmin GUI under System → Disk Quotas when clicking “Enable Quotas”.

 ![Screenshot 2026-08-24 at 23-07-39 Disk Quotas_Error — Webmin 2.660 on s1 (Ubuntu Linux 24.04.4)](https://cdn.forum.virtualmin.com/uploads/default/original/3X/c/c/cc9f10c2297c1dbef929383e1a8ac7d9f4a39555.png)

 ![Screenshot 2026-08-24 at 23-07-24 Disk Quotas — Webmin 2.660 on s1 (Ubuntu Linux 24.04.4)](https://cdn.forum.virtualmin.com/uploads/default/original/3X/c/9/c9697559b5eeca3610572dbb321ed8f72bb5a900.png)

I’ve seen other posts here suggest installing `linux-image-extra-virtual`, so I did that, and a server reboot, but still the same error appears when trying to ‘enable’ and on re-check of the config.

 ![Screenshot 2026-08-25 at 08-58-27 Checking Configuration — Webmin 2.660 (Ubuntu Linux 24.04.4)](https://cdn.forum.virtualmin.com/uploads/default/original/3X/0/0/003d5442fe2d53841808b232af16f7194ab0b94b.png)

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [September 10, 2026, 2:17am UTC](https://forum.virtualmin.com/t/failed-to-turn-on-quotas-quotaon-using-on-dev-sda1-home-file-exist/137832/2 "2026-09-10T02:17:05Z")

</div>

Hello,

Thanks for reporting it!

This turned out to be a real bug. If you could apply the patch from the link below, restart Webmin, and check whether it works correctly, that would help:

> <https://github.com/webmin/webmin/commit/10c328ef4db5fa5b3423e708c560d506fe875a10>
>
> Fixes https://forum.virtualmin.com/t/failed-to-turn-on-quotas-quotaon-using-on-d…ev-sda1-home-file-exist/137832

---

<div class="post-metadata">

**Author:** ![clakograv](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/clakograv/32/24693_2.png) [@clakograv](https://forum.virtualmin.com/u/clakograv)\
**Post date:** [September 10, 2026, 4:41pm UTC](https://forum.virtualmin.com/t/failed-to-turn-on-quotas-quotaon-using-on-dev-sda1-home-file-exist/137832/3 "2026-09-10T16:41:07Z")

</div>

Hello there!

I can confirm the patch works 😄

Thank you very much for great software and support! ❤

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [September 18, 2026, 4:42pm UTC](https://forum.virtualmin.com/t/failed-to-turn-on-quotas-quotaon-using-on-dev-sda1-home-file-exist/137832/4 "2026-09-18T16:42:07Z")

</div>

Closed on September 18, 2026, 4:42pm UTC

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.
