Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Directory Quota
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Tux12Fun
Apprentice
Apprentice


Joined: 16 Aug 2007
Posts: 156

PostPosted: Sun Nov 21, 2010 8:59 pm    Post subject: Directory Quota Reply with quote

Hello,

I got the following Problem.

I have a Directory Structure like that

/mnt/input/x1
/mnt/input/x2
/mnt/input/x3
/mnt/input/x4

input is a mounted Filesystem via NFS. I would like to quotate the x1 / x2 ... Directorys. But the owner of the Directorys and Files is root. And the Directorys should be qouted to dirfferent max. Sizes. Is this possible.

like x1 = 10MB
x2 = 500MB
and so on.
Back to top
View user's profile Send private message
g.e.n.t.u.x.
Guru
Guru


Joined: 21 Aug 2006
Posts: 410
Location: Berlin

PostPosted: Sun Nov 21, 2010 11:03 pm    Post subject: Reply with quote

hello tux12fun.

this seems to be helpful for you purpose.

http://linuxhelp.blogspot.com/2005/10/disk-quotas-in-linux-explained.html

maximus successus
_________________
Human being isnt a default setted feature.
Back to top
View user's profile Send private message
Tux12Fun
Apprentice
Apprentice


Joined: 16 Aug 2007
Posts: 156

PostPosted: Tue Nov 23, 2010 8:59 pm    Post subject: Reply with quote

Hi,

my nfs mount doesn't accept "usrquota" or "grpquota".
It doesn't complain about it, but if I take a look to "mount" or "/etc/mtab",
I can't see that the flags are set. Mount shows me the flags in verbose Mode.

The quotacheck command complains, that it can't find a device with quota flags.

Remember, I'd like to have the quota on a NFS on the Client side.

Is this possible?

Thank you for your help.

Regards Thomas
Back to top
View user's profile Send private message
manaka
Apprentice
Apprentice


Joined: 23 Jul 2007
Posts: 178
Location: Spain

PostPosted: Thu Nov 25, 2010 4:01 pm    Post subject: Reply with quote

You need to enable disc quotas on the server side. The usrquota and grpquota aren't necessary on the client side (they do no harm, though).

Make sure you have the usrquota and grpquota as mount options on the server. Also, check that the nfs service is starting the rpc.rquotad daemon (look at NFS_NEEDED_SERVICES on /etc/conf.d/net).
_________________
Javier Miqueleiz

"Listen to your heart. It knows all things, because it came from the Soul of the World, and it will one day return there."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum