Notifications
Clear all

Enable Disk Quotas on Hetzner Cloud Server

1 Posts
1 Users
0 Reactions
4 Views
Tharindu
(@tharindu)
Reputable Member Admin
Joined: 10 years ago
Posts: 309
Topic starter  

Today I was in a situation where I need to have disk quotas enabled on a Hetzner VPS. They are not enabled by default. These are the commands I used to enable disk quotas on Hetzner.

You need to execute these commands as the root user. Also make sure a take a snapshot before proceeding.

Install quota packages,

apt install quota quotatool

Install Linux generic Package,

apt install linux-generic

Start quota modules at system reboot,

echo quota_v1 >> /etc/modules
echo quota_v2 >> /etc/modules

Reboot system,

reboot

That's it. Disk quotas should be working when the server comes back up online.

This topic was modified 9 months ago by Tharindu

   
Quote
Topic Tags
Share:
Back to top button