Browsing articles tagged with "quota - Admins Goodies"
Apr 21, 2012
tom

relay email quota

I have a mail server which relays mail to the network. i have implemented a disk quota on each user which is:- 1 user can send mails upto a limit of 200 Mb,but this is creating a problem as some users are sending less mails and some of the users are sending more mails. So Now i want a user qouta to limit the number of emails sent by a single user to say=10000 emails […]

Continue Reading »
Apr 12, 2012
tom

File Server Resource Manager attempting to access quota.xml on System Reserved partition?

I’ve got a new install of Server 2008 R2 that is designed to be our quota server for user home directories and shared areas. I installed FSRM and set up a few quotas to try out. They worked fine but at some point over the weekend it’s stopped loading the FSRM console quota screen and gives the following error, with Event ID 8228: File Server Resource Manager was unable to access the following file or […]

Continue Reading »
Mar 20, 2012
tom

Getting at fsid under Linux? Or an alternate way of identifying filesystems?

In an environment with automounted home directories, such that the same filesystem exported by a fileserver may be mounted multiple times on the client, I would like to authoritatively be able to identify whether two mountpoints are in fact the same filesystem. That is, if the remote server exports: /home And the local client has: # mount fileserver:/home/l/lars on /home/lars type nfs (rw…) fileserver:/home/b/bob on /home/bob type nfs (rw…) I am looking for a way […]

Continue Reading »
Feb 13, 2012
tom

Make /home /tmp noexec nodev without a separate patition

I need to change some mount options for parts of the root filesystem, such as /tmp /var and /home (add nodev,nosuid and quota), but I haven’t ability to make a separate partition and I have not enough RAM to mount /tmp as tmpfs. I’ve tried mount -o bind,noexec,nodev,nosuid /tmp /tmp, but it seems not working because after that I still can exec files from /tmp and make device nods on it. Is there other way […]

Continue Reading »
Jan 16, 2012
tom

Setup user/group quotas >4TiB on Ubuntu

I’ve run into the problem that my 5TB disk has a large proportion of content from one group of users, which is okay. I’d like to limit the total disk usage of that group to ~4.5TB, but I’m unable to, I get the following error: setquota: Cannot set quota for group 100 from kernel on /dev/md1: Numerical result out of range Google has not been very useful so far in trying to solve this question. […]

Continue Reading »
Jan 11, 2012
tom

Setup group quotas >4TB on Ubuntu

I’ve run into the problem that my 5TB disk has a large proportion of content from one group of users, which is okay. I’d like to limit the total disk usage of that group to ~4.5TB, but I’m unable to, I get the following error: setquota: Cannot set quota for group 100 from kernel on /dev/md1: Numerical result out of range Google has not been very useful so far in trying to solve this question. […]

Continue Reading »
Dec 17, 2011
tom

Force specific user for created files?

Is there a way to force files that are created through a network share, or in a given folder, to be owned by a specific user (i.e., is there a native Windows equivalent of Samba’s force user). Rationale: I have a server that runs a number of SQL Server 2008 instances for our internal development environments. Each instance runs as it’s own service user, and each service user has a fixed quota – thus ensuring […]

Continue Reading »
Dec 8, 2011
tom

Setting Archive Quotas by Mailbox database (Exchange 2010 SP1)

We’re working on setting up archiving and quotas on our Exchange 2010 server, we would like to create two databases for primary mailboxes, and two for archive mailboxes. We can set quotas on the database for the primary mailboxes by setting the limits on the DB, then under the user’s mailbox, it uses the default for the DB. Can we set quotas for the archive mailbox the same way somehow? So that the DB has […]

Continue Reading »
Dec 6, 2011
tom

Capping system resources available to users

We would like to allocate chunks of cpu-time and RAM-hours to the users every few months. This is on a Linux server. I think process accounting can help keep track of usage but it does not enforce a usage policy. What would be a good way to enforce a usage policy. What we want is something like a bank account from which an user can withdraw cpu-time and memory-hours. If I understand correctly ulimit puts […]

Continue Reading »
Nov 25, 2011
tom

Munin quota usage

I’m trying to get Munin to report quota usage but it’s not working. On top of quota_usage_ it says: # Usage: place in /etc/munin/node.d/quota-usage_<dev> (or link it there using # ln -s), for example quota-usage_hda3. Use underscores instead of slashes, for # example to monitor /dev/mapper/vol-foo, name this quota-usage_mapper_vol-foo So I did just that but it doesn’t seem to work. munin-node.log says: 2011/11/25-11:05:08 [23728] Error output from quota_usage_: 2011/11/25-11:05:08 [23728] Can’t exec “/etc/munin/plugins/quota_usage_”: No such […]

Continue Reading »
Pages:1234»