simplest working blueprint for AlmaLinux 9 + XFS + CWP to enable quotas

Περισσότερα
2 Ημέρες 7 Ώρες πριν #330 από infogate
Here’s the simplest working blueprint for AlmaLinux 9 + XFS + CWP to enable quotas (the exact “just do these steps” version).1) Confirm filesystem is XFS
findmnt -no SOURCE,FSTYPE,OPTIONS /
(You should see
xfs
)2) Enable quotas in fstab (root filesystem)Edit:
nano /etc/fstab
Set the
/
line to ONE of these:Recommended (UUID):
UUID=<YOUR_ROOT_UUID> / xfs defaults,uquota,gquota,prjquota 0 0
Or:
/dev/sda4 / xfs defaults,uquota,gquota,prjquota 0 0
Save, then:
systemctl daemon-reload
3) Add rootflags to boot entries (the EL9-safe method)
grubby --update-kernel=ALL --args="rootflags=uquota,gquota,prjquota"
4) Reboot
reboot
5) Verify quotas are ON
cat /proc/cmdline | tr ' ' '\n' | grep -i rootflags
findmnt -no SOURCE,FSTYPE,OPTIONS /
timeout 5 xfs_quota -x -c 'state' /
You want:
  • rootflags=uquota,gquota,prjquota
    present
  • mount options show quota flags (no
    noquota
    )
  • Accounting: ON
    and
    Enforcement: ON
6) Sync CWP quota accounting
/scripts/fixquotas
That’s it.


The best possible way to start your online marketing : fspirits.com/go/leadsleap-home
Explode Your Web Site Traffice: fspirits.com/go/sparktraffic
Start your affiliate journey here: fspirits.com/go/olsp-academy
Best Solution To Create Videos: fspirits.com/go/create-studio-pro
Best Solution To Create Graphics: fspirits.com/go/clickdesigns
Smart Chat Automation: fspirits.com/go/chatterpal
Multi-Purpose Video Maker: fspirits.com/go/avatar-builder
Multi-Purpose Video Creator: fspirits.com/go/video-creator
AI Human Spokesperson Videos: fspirits.com/go/humanpal

Παρακαλούμε Σύνδεση ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.

Χρόνος δημιουργίας σελίδας: 0.068 δευτερόλεπτα
Powered by Kunena Φόρουμ