Re: quotas on nfs share



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



Relevant Pages

  • Re: quotas on nfs share
    ... on the server, and not the client. ... any other client is mounting the same export on the server. ... All quota setup is done at the server. ... Cannot find filesystem to check or filesystem not mounted ...
    (Fedora)
  • Re: quotas on nfs share
    ... on the server, and not the client. ... any other client is mounting the same export on the server. ... All quota setup is done at the server. ... Cannot find filesystem to check or filesystem not mounted ...
    (Fedora)
  • Re: quotas on nfs share
    ... If they're working on the server, the server should then enforce the quota, whether the files are accessed directly from the server, or from the client. ... Cannot find filesystem to check or filesystem not mounted ...
    (Fedora)
  • Re: Storing Images in SQL Server (2005)
    ... We already know how to secure a filesystem and it's credentials ... filesystem is much faster than SQL at returning file objects, ... table permissions to file system permissions where you're creating the ... directories so Client A can only see their own data, ...
    (Focus-Microsoft)
  • RE: Storing Images in SQL Server (2005)
    ... looked into IPSec tunnelling Active Directory replication to provide secure ... How about using SQL to keep your references to the filesystem as Matthew ... applied to the different client directories so Client A can only see their ...
    (Focus-Microsoft)