VFS_DEFAULT_QUOTA(8)

✨ VFS_DEFAULT_QUOTA ✨

ok so bestie, welcome to vfs_default_quota β€” it's section 8 of the manual (system administration tools, iykyk), and it's genuinely one of those little modules that fixes a very specific, very annoying problem. let's get into it 🫢


🌸 NAME 🌸

vfs_default_quota β€” store default quota records for Windows clients πŸ’Ύ


πŸŽ€ SYNOPSIS πŸŽ€

vfs objects = default_quota

that's it. that's the whole vibe. one line and you're in ✨


πŸ’– DESCRIPTION πŸ’–

This VFS module is part of the samba(7) suite, so it's already in the family, no adoption paperwork needed 🧚

So here's the tea: many common quota implementations only store quotas for users and groups, but do not store a default quota. like, they forgot that one. rude honestly. The vfs_default_quota module steps in and lets Samba store default quota values β€” which can be examined using the Windows Explorer interface πŸ‘€ windows users get to see them, slay.

By default, Samba returns NO_LIMIT the default quota and refuses to update them. yes bestie, refuses. no notes, it just won't. What vfs_default_quota does instead is map the default quota to the quota record of a user. And by default the root user is the one it grabs, because quota limits for root are typically not enforced β€” so root's quota record is basically free real estate for storage 🏠

This module is stackable. stack it, layer it, build your little tower, we love a stackable icon πŸ‘‘


πŸ’… OPTIONS πŸ’…

  • default_quota:uid = UID β€” UID specifies the user ID of the quota record where the default user quota values are stored. that's the little vault where your default user quota lives πŸ“¦
  • default_quota:gid = GID β€” GID specifies the group ID of the quota record where the default group quota values are stored. same energy, but for groups 🫢
  • default_quota:uid nolimit = BOOL β€” If this parameter is True, then the user whose quota record is storing the default user quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. so like, do you want them to look unlimited, or do you want the truth? pick one, no cap 😌
  • default_quota:gid nolimit = BOOL β€” If this parameter is True, then the group whose quota record is storing the default group quota will be reported as having a quota of NO_LIMIT. Otherwise, the stored values will be reported. group edition, same plot 🎬

🌈 EXAMPLES 🌈

ok this is the moment. Store the default quota record in the quota record for the user with ID 65535 and report that user as having no quota limits:

           [global]
        vfs objects = default_quota
        default_quota:uid = 65535
        default_quota:uid nolimit = yes

ate, no crumbs, periodt πŸ’…βœ¨


⭐ VERSION ⭐

This man page is part of version 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1 of the Samba suite. πŸ’œ


πŸ‘‘ AUTHOR πŸ‘‘

The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. like, they really said "open source but make it iconic" 🐧🫢


and that's the whole page bestie!! this came to you straight from Samba 4.24.7-Ubuntu-4.24.7+dfsg-1ubuntu1, dated 09/13/2026, and it's section VFS_DEFAULT_QUOTA(8) β€” go set some default quotas, you absolute main character, ily πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from