Bug 33258 - rc2: quotaon fails
rc2: quotaon fails
Product: Red Hat Linux
Classification: Retired
Component: quota (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2001-03-26 11:29 EST by Randy Russell
Modified: 2007-04-18 12:32 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-03-26 11:29:36 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Randy Russell 2001-03-26 11:29:32 EST
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)

One should be able to enable quota enforcement using quotaon /home or
quotaon -a.  These commands fail when run on rc2.

Reproducible: Always
Steps to Reproduce:
1.  Install system with separate /home filesystem
2.  Edit /etc/fstab, replace "defaults"  with "usrquota"
3.  mount -o remount /home
4.  Verify that /home is mounted as quota-capable: mount
5.  Run quotacheck /home to create /home/quota.user
6.  quotaon /home (it fails)
7.  edquota <some user>, set a limit
8.  repquota /home or quota <some user> should show quotas (so it really
did fail)

Actual Results:  [root@station5 /root]# quotaon -a
quotaon: using /home/quota.user on /dev/hda7: Invalid argument

Expected Results:  successful completion of quotaon;
ability to assign quotas

Output from strace:

quotactl(Q_QUOTAON|USRQUOTA, "/dev/hda7", 0, {1836017711, 1970351973,
778138735, 1919251317, 0, 17, 1986356271, 1633970223}) = -1 EINVAL (Invalid
write(2, "/dev/hda7: Invalid argument\n", 28/dev/hda7: Invalid argument) =
Comment 1 Preston Brown 2001-03-26 17:37:21 EST
fixed with quota 3.00 in current rawhide trees.

Note You need to log in before you can comment on or make changes to this bug.