store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Fri May 24, 2013 12:10 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 
Author Message
 Post subject: Hard disk quota ?
Unread postPosted: Sat Jun 11, 2011 3:30 am 
Offline
Forum Regular
Forum Regular

Joined: Sat Dec 11, 2004 2:33 pm
Posts: 195
Location: South Africa
Hello,

I just noticed that I not able to allocate disk quotas to domains.
I am almost 100% sure it was working a week ago?

/etc/fstab

proc /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/md0 none swap sw 0 0
/dev/md1 /boot ext3 defaults 0 0
/dev/md2 / ext3 defaults 0 0


df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 2902481912 102994404 2653210876 4% /
/dev/md1 256586 49977 193361 21% /boot
tmpfs 6160212 0 6160212 0% /usr/local/psa/handlers/before-local
tmpfs 6160212 0 6160212 0% /usr/local/psa/handlers/before-queue
tmpfs 6160212 0 6160212 0% /usr/local/psa/handlers/before-remote
tmpfs 6160212 360 6159852 1% /usr/local/psa/handlers/info
tmpfs 6160212 440 6159772 1% /usr/local/psa/handlers/spool


I tried this article over a Parallels http://kb.parallels.com/en/768

/usr/local/psa/admin/sbin/usermng --isquotable
1

mount -o remount /

quotaon /dev/md2
-bash: quotaon: command not found ??

Any suggestions on how to resolve this?

_________________
Mark Brindley
2Large Networks - Web solutions that work


Top
 Profile  
 
 Post subject: Re: Hard disk quota ?
Unread postPosted: Sat Jun 11, 2011 8:31 am 
Offline
Forum Regular
Forum Regular

Joined: Sun Mar 29, 2009 6:52 pm
Posts: 348
You /etc/fstab should look like this in order to assign quotas.

Code:
/dev/md2 / ext3 defaults,usrquota 0 0


Enter the ,usrquota for any partition you need quota. In your case you have allocated all space in the / partition. So you only need to edit one line.

Then reboot the box. And ready !

_________________
Hello IT.
Phone : Blah Blah ....
Have you tried turning it on and off again ?
Phone : Blah Blah ....
....
I'm sorry, are you from the Past ?!
http://www.youtube.com/watch?v=-E4fm4Wqego


Top
 Profile  
 
 Post subject: Re: Hard disk quota ?
Unread postPosted: Sat Jun 11, 2011 4:22 pm 
Offline
Forum Regular
Forum Regular

Joined: Sat Dec 11, 2004 2:33 pm
Posts: 195
Location: South Africa
OK - found the problem for the error "-bash: quotaon: command not found"

I ran yum install quota :)

[root@webhost ~] mount -o remount /
[root@webhost ~] quotaon /dev/md2
quotaon: Can't find mountpoint for device /dev/md2
quotaon: No correct mountpoint specified.

Please could you help me with the correct command to run?

_________________
Mark Brindley
2Large Networks - Web solutions that work


Top
 Profile  
 
 Post subject: Re: Hard disk quota ?
Unread postPosted: Mon Jun 27, 2011 6:33 pm 
Offline
Forum Regular
Forum Regular

Joined: Sat Dec 11, 2004 2:33 pm
Posts: 195
Location: South Africa
I have tried a number of times and variations to get this resolved.
Can adnybody give me a hand/pointer?

:?:

_________________
Mark Brindley
2Large Networks - Web solutions that work


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 4 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group