Server :: Disk Quota (Exceeded But Unable To Restrict)

Jun 17, 2010

I installed Diskquota on CentOS 5.1 machine. I enabled quota for some user with 1 GB as both hard and soft limits, Grace period is 0. Every this is working fine if we work from normal user's login say (user1 who is a system user). If he exceeds 1GB its will restrict that saying quota exceeded. But, If root user copies some 500MB files into his workspace, and change the ownership of those files using following command
chown user1.user1 * ( * is 500 MB files).

Then quota is exceeded and it is showed using:
repquota /home
user1 +- 2039960 997020 997020 none 298 0 0
Here its showing as some 2GB.
Soft limit is 951 MB.

So, my problem is restrict quota from all possible ways, i.e., even if root does some copying and change permissions, it must tell that disc quota exceeded.

View 2 Replies


ADVERTISEMENT

General :: Print Quota Exceeded Limits?

Jun 16, 2011

how to check the print quota status on print server?

View 1 Replies View Related

Server :: How To Create Disk Space Quota

May 26, 2010

What is the best way to create a hard (OS) quota on disk space folders? Basically in web root folder /var/www/lighttpd I have a folder called domains. I want to set a quota on each domain folder. The quota sizes will vary per folder. Is there a way to do this without creating a user for every domain? Currently every folder is owned by the lighttpd user and group.

View 2 Replies View Related

Server :: Setting Disk Quota For Bulk Users?

Jun 10, 2009

In our organization there are around 1000+ users are using mails. The mailing system is implemented under RHEL using postfix and dovecot. For user based quotas i have implemented Disk Quota. But the problem when i want to edit quota for multiple users with similar limits i'm doing "edquota user" for every users. It seems very difficult. Now I wanna know:

1. Is there any way to edit quota value for multiple users at a single shot?

2. Also there is any method to send alerts mail to the end users on disk utilization?

View 3 Replies View Related

Server :: Free Backup - Give A Disk Space Quota For Each Remote Windows Client

May 2, 2011

I'm looking for a free backup solution how work in client-server in both environments Linux(server) and Windows(client). in my case, i want to give a disk space quota in my Linux server for each remote windows client.

View 2 Replies View Related

General :: Disk Quota Set On Partition

Mar 14, 2011

When going through my emails that are produced by the cron jobs ran on my Solaris servers, I am receiving a message that states,"/ is 50% full" what can I do to either lower the amount of data on this partition or raise the threshold limits to to stop this message? I would prefer to learn how to lower the amount of data on this disk to bring under my disk quota of 50% in order to stop these emails being produced by the cron job running on this server.

View 1 Replies View Related

CentOS 5 :: Disk Quota On NFS Mount?

Apr 24, 2010

I am wondering if I can set diskquota on a nfs mount, instead of where the folder actually located.

e.g.
HOST1 - /dev/sdb1 /home
exports /home to HOST2
HOST2 - HOST1:/home /home
set quota from HOST2 for /home

Is this possible? I have not tried it, I wonder if anyone tried it.

View 1 Replies View Related

Programming :: PHP - Total Disk Quota For User

Nov 22, 2010

I am writing a php script and I need to find the total diskspace of a directory. I have used space already. I have a couple of different users with quotas
Code:
$path = "/home/" . ($_SERVER['PHP_AUTH_USER']);
$used = exec("du -c -a $path");
echo $used;
Will give me the disk space used. But I need total quota for that user.

View 4 Replies View Related

Red Hat / Fedora :: Assign Disk Space Quota To Particular User?

Dec 24, 2009

i am using linux redHat 5 and fedora9 How can assgin disk space quota to particular user suppose i have 4 users

user1
user2
user3
user4

All four users have a each folder

/data/folder1
/data/folder2
/data/folder3
/data/folder4

i want to assign space limit/restriction of 100MB on each on folder.

View 3 Replies View Related

Ubuntu Servers :: 9.10 - Setting Samba User Disk Quota

Apr 11, 2010

Is there a way to set a disk quota for samba users? I've found a few guides, but they were a little to complicated for my needs. Running Ubuntu server 9.10

View 3 Replies View Related

General :: Single Disk Space Quota Across Home Directories And Relational Databases (MySQL, PostgreSQL)?

Jun 10, 2011

Relational databases usually have their data over in /var/lib/something. Users are in /home (with data in /var/www). How can I apply a single total disk space quota across all of these independent software systems (file systems, RDBMS, etc.)?

P.S. There's a bet going on around me as to just how awesome SU is. Let's see what you've got.

View 1 Replies View Related

Ubuntu :: Unable To Configure Quota System?

Sep 2, 2010

I am trying to enable quota on my /home directory for understanding how quota works. I have not made a separate partition for my /home. The logical name of the directory "/" is /dev/sda5 on my machine

[Code]...

I tried to search this on Google as well but didn't get any satisfactory results. I usually post questions only when I have do not get results by checking earlier threads on various forums. If you find I am going the wrong way then please show me the right track.

View 1 Replies View Related

CentOS 5 Server :: KVM + Internal Error Bridge Generation Exceeded Max Id 256

Jul 18, 2010

I did a fresh installation of centos 5.5. I installed KVM. And configured a eth1 for KVM host network and i configured eth0 to be bridged.

When i do service libvirtd reload i get: internal error Bridge generation exceeded max id 256

View 5 Replies View Related

Server :: How To Set A Quota On Directory?

Nov 9, 2009

How can I set a quota on a directory?Is there an easy way to do this?

View 5 Replies View Related

Server :: Unable To Load Redhat 9 Server After Disk Recovered?

Mar 13, 2011

I got this type of messages:k journald starting. commit interval 5 seconds.EXT3.fs:mounted file system with ordered data modefreeing unused kernel memory : 212 k freed.Warning:unable to open an initial consoleAfter this Server is not hang state but stay at same Anybody can help me how to resloved this type of issue.

View 1 Replies View Related

Server :: How To Enable Quota On Centos

May 30, 2010

I want to enable quota on my centos 5.5, I've tried and it showed correctly quotacheck but when i rebooted the machine it showed me an error saying that fsck.ext3: no such file or direcotory while trying to open /dev/VolGroup00/LogVol00 below are my fdisk and fstab file. how can I enable quota based on below configuration. otherwise may be I have to reformat the machine..n it'll be really painfull for me.

[root@drikdhaka ~]# fdisk -l
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

View 1 Replies View Related

Server :: How To Implement Quota In Squid

Jul 31, 2010

How I can implement quota for my webproxy users in squid?

View 5 Replies View Related

General :: User Quota On Sendmail Server?

May 25, 2011

I want to define user quota on Redhat linux5.2 sendmail server for all my users.

View 1 Replies View Related

Server :: How To Set Quota For Mail Boxes In Postfix?

Jul 20, 2010

I am going to setup postfix mail server for my client on RHEL 5.5 64 bit server, But I don't know how do I set quota in users mail boxes as I have found postfix don't have this feature, so If I will use linux disk quota technology in my mail server for solving this purpose will this help.Please suggest procedure if it is possible or any other alternate.

View 7 Replies View Related

Server :: MailBox Quota With Sendmail & Procmail

Dec 13, 2009

I am using sendmail-8.13 & procmail as an MDA. Now as our mail users are increasing I need to put up mailbox quota limit for every user. I have gone through the search engine but could not found any effective help to configure mailbox quota with sendmail & procmail.

View 7 Replies View Related

Server :: Implement Quota Per Group Users?

Nov 12, 2010

I want to implement quota per group users like this: Assume i have a Student group in my system, that student1 and student2 and student3 are three users in this group. i want to set quota 100GB per each user in this group, 100GB for student1, 100GB for student2 and .... The problem is when i set quota per group i cant say each user in that group have 100GB quota limit, also when i set quota per user, i should set one by one for each user.I want to know, is there anyway for set quota for all users in specific group?

View 3 Replies View Related

CentOS 5 Server :: Default Quota Setting When Create User?

Nov 1, 2010

Running a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.

man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.

View 1 Replies View Related

Software :: Ubuntu Server 10.10 - Segmentation Fault Error On Quota Activation

Jan 25, 2011

I'm running ubuntu server 10.10 64 bit.
1. Set quota in /etc/fstab like this:
/dev/sdb1 /var/www reiserfs defaults,usrquota 0 2
2. Checked quotas:
# quotacheck -cavm
quotacheck: Your kernel probably supports journaled quota but you are not using it. Consider switching to journaled quota to avoid running quotacheck after an unclean shutdown.
3. Tried to activate quotas using "quotaon -a" and got a segmentation fault error.
When I change filesystem to ext3 (using mkfs.ext3 and changing /etc/fstab) it works well. So there are 2 problems, quotacheck warning about journaled quota and the segmentation fault error.

View 1 Replies View Related

CentOS 5 Server :: Setting Quota Limit In Samba 'homes' Share?

May 20, 2010

I'm trying to set up quota limit in samba-3.0.33-3.15.el5_4.1 in CentOS 5.5, by means of the module vfs objects. In the samba howto [1] I found a very brief explanation, but it isn't working for me. The basic idea is to setup a user called 'quota2g' (uid 499) and setup the [homes] share, as it comes by default, to enforce the quota on each user share.quota2g:x:499:499:User quota 2GB:/home/quota2g:/bin/bash

View 1 Replies View Related

Server :: Amanda Unable To Copy Backup File From Holding Disk To Tapes

May 14, 2010

I have some issue with my amanda backup server, which is connecting with Scalar Quantum i500 via FC. I got the error as below 3 days ago.
These dumps were to tape 000289.
*** A TAPE ERROR OCCURRED: [No more writable valid tape found].

Normally I will load the proper tapes and run the amflush to push stuff from the holding disk to tapes manually. However this time amflush in this case did not help, Amanda immediately responded with an out of tape error again.

Meanwhile I got some errors from dmesg as well
st3: Error 18 (sugg. bt 0x0, driver bt 0x0, host bt 0x0).
scsi1 (0,3,0) : reservation conflict

View 8 Replies View Related

Server :: Postfix Configuration: How To Restrict Use Of CC

Jan 17, 2011

I have configured postfix on my server.

telnet mydomain.com 25
helo validdomain.com
mail from: validaddress@validdomain.com
rcpt to: validuser@mydomain.com

[code]....

When I run this test, as expected, the email is delivered to validuser. However, postfix also delivers it to user1 and user2 despite the fact that the sender does not belong to my domain. I have implemented client, helo and recipient restrictions as below. How do I prevent the malicious use of CC as described here?

Snap of main.cf
-------------------
smtpd_client_restrictions = permit_mynetworks,
reject_invalid_hostname,
reject_rbl_client zen.spamhaus.org,
reject_unknown_client,

[code].....

View 1 Replies View Related

Server :: Restrict SMB Access For A Particular Domain?

Sep 14, 2010

I have a question in Samba and would like to ask you for the solution. Is there anyway we can restrict the SMB share access to particular domain name? say allowing access for "example.com" domain users only.

View 2 Replies View Related

General :: Restrict Access To A Server Application?

Nov 18, 2010

I have written a simple server application (with an HTTP interface). I want to ensure that only calls from the local machine are processed - i.e. I want to prevent outsiders from accessing/using my server.

How may I restrict outsiders (i.e. requests from remote machines)?

View 4 Replies View Related

Server :: Restrict 60 Mails Per Minute - Sendmail

May 4, 2010

I am having many mails transferred through my Sendmail server, so I want to configure it not to allow more than 60 mails to be sent by my sendmail server per minute. How to optimize my mail server's configuration.

View 6 Replies View Related

Server :: Restrict FTP Users From Accessing 1 Folder Only

Jul 1, 2010

I'd like to restricting my ftp users to access 1 particular folder.

we have a root folder called /home everyone has aces to that so they can operate.

but then there is /home/config how can i restrict certain users from access /config folder, since this is containing sensitive files I would like for no one else but my self to be able to access it.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved