1855749 Members
1471 Online
104103 Solutions
New Discussion

NFS quota problem

 
donC_1
Occasional Advisor

NFS quota problem

Greetings. First off, I'm using our BCS account for this post, so my name is not Melanee, it's Eric... :D
The home file systems for our dev community are exported from NFS servers, and mounted on the various dev servers via automounter as needed. We are starting to implement quotas, and during testing, things generally work pretty well. The problem is that if a user logs into a server, initially they gets their quota message, and can check their quota status just fine. But, if that connection persists over a few days (they stay logged in), they lose the ability to check their quotas;
running `quota` - returns nothing
running `quota -v` - returns just the headers
When the user initially logged in, and things were working, checking the mnttab showed that the file system was operating under quotas, but after things stop working, the mnttab also drops the quota tag. If I go to the NFS server as the user, it is still aware of the quotas...
I know quotas aren't fully supported over NFS, so I'm hoping I can find some way to refresh the mnttab, or find out what is causing it to drop the quota tag. Any help would be greatly appreciated!
Eric
3 REPLIES 3
RAC_1
Honored Contributor

Re: NFS quota problem

after few days, if you do mount -p, does it show that the FS is mounted with quota option??

mnttab can be refreashed as follows.

mv /etc/mnttab /etc/mnttab.old
mountall

Anil
There is no substitute to HARDWORK
donC_1
Occasional Advisor

Re: NFS quota problem

No, since thats just another way of reading the mnttab, it still shows the tag has been dropped. I'd rather get to what's causing the tag to drop rather than remove and re-read the mnttab...
Bill Hassell
Honored Contributor

Re: NFS quota problem

The 'fully supported' warning covers quotas. When you think about where the disks are located and the fact that several different computers may be accessing the same directory structure, and then throw in automounter...I'd say you're doing pretty well to have quotas work at all. You may need to look at the two different automounter solutions, but before you do, get a copy of Dave Olker's book on NFS for HP-UX. It will give you a lot to think about for NFS and $HOME directories.


Bill Hassell, sysadmin