Re: quotas on nfs share

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 12, 2009 at 6:28 PM, Rick Stevens<ricks@xxxxxxxx> wrote:
> Aldo Foot wrote:
>> The mount command does have a "usrquota" mount option. See man page.
>
> The man page states that "usrquota" is only valid for affs,
> ext2/ext3/ext4, jfs, and xfs filesystems.

Hmm... that's a very good observation . Thanks Rick.
Nothing is said about nfs filesystems.

> Have you tried "quotaon /NFS/mountpoint" on the client?

Nothing seems to work for that nfs mount point on the client.

client> quotaon /mnt/p1
quotaon: Mountpoint (or device) /mnt/p1 not found or has no quota enabled.

client> quotacheck -cugm /mnt/p1
quotacheck: Cannot find filesystem to check or filesystem not mounted
with quota option.

client> repquota /mnt/p1
repquota: Mountpoint (or device) /mnt/p1 not found or has no quota enabled.
repquota: Not all specified mountpoints are using quota.

I've got this version of quota on the client.
client> rpm -qa | grep quota
quota-3.17-4.fc11.i586

On the client, I created a partition and enabled quotas just to check that, at
least locally, it works.

client> repquota /mnt/p2
*** Report for user quotas on device /dev/sda9
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
User            used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
root      --    1167       0       0              4     0     0


And just to add another informative detail, the quota related files do
exist in the
server exported filesystem.
server> ls -l /mnt/p1
total 30
-rw------- 1 root   root     7168 Aug 12 18:15 aquota.group
-rw------- 1 root   root     7168 Aug 12 18:29 aquota.user

I cannot believe that it's not possible to enable nfs quotas *on fedora* at all.
I guess this is not done frequently enough to catch people's attention.

any comments? what am I missing?
~af

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux