Server :: How To Set A Quota On Directory?
Nov 9, 2009How can I set a quota on a directory?Is there an easy way to do this?
View 5 RepliesHow can I set a quota on a directory?Is there an easy way to do this?
View 5 RepliesI 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]....
How I can implement quota for my webproxy users in squid?
View 5 Replies View RelatedI want to define user quota on Redhat linux5.2 sendmail server for all my users.
View 1 Replies View RelatedI 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 RelatedWhat 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 RelatedI 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 RelatedI 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 RelatedI 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.
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?
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.
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.
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 RelatedI'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 RelatedI have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.
I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:
aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010
[code]....
How to change the password of Directory Manager in RED HAT Directory Services through a ldapclient through command line or graphical.
View 1 Replies View RelatedI m having a RHEL-5 sever.ABC directory size is 57GB after taking backup in the same disk with name ABC.bkp showing 56GB. i used below command to copy/backup. # cp -r ABC ABC.bkp (different sizes after copying)..I checked both the directory sizes by #du -sh <ABC> and du -ks <ABC.bkp>In both GB and KB there is lots of difference (200mb). why this will happen in copying? what is the solution for above question? what is the correct way of copying 1dir to newdir exactly?
View 4 Replies View RelatedI'm using OpenSSH 5.5p1 on Fedora 15. I'm trying to get a chrootDirectory to work. Specifically trying to figure out why I can't write files to a sub-directory of the chroot directory. I created a user test_user and created a group called sftp. I added test_user to the sftp group. I edited /etc/ssh/sshd_config as follows:
Code:
Subsystem sftp internal-sftp
Match group sftp
ChrootDirectory /home/sftp_users/%u
X11Forwarding no
[code]....
Ubuntu server recently had issues with a disk. fsck seemed to correct everything, but I have one directory that I can't delete, chown, chgrp, chmod, etc.
Here's the listing for the directory
dr-x-wxrwt 2 16709 25134 8192 2020-08-23 22:34 UDLEDATB.DBF
Note the sticky bit is set and the uid is a number that does not appear in /etc/passwd.
Even as root, any attempt to delete, chmod, chown, etc. gives "Operation not permitted".
Since sticky bit on a directory restricts delete to the owner and the owner is invalid, I am stuck. I need to delete this directory.
How can I fix this?
How can I set quota on group plz send me detail with command.I am still facing problem to set the quota. I've tried many option plz send all steps to set quota from start to end.
View 3 Replies View RelatedI have uShare 1.1a setup to talk to my XBox 360. If I share a directory that has no subdirectories, the video files display on the XBox. However, most of my files are in sub-directories on a different partition - I don't really want to copy them to the share, but uShare doesn't seem to recognise any sub-directories or files contained therein.
I have tried setting up symbolic soft links directly to the video files (although this is a pain, it is better than moving the files)...
Code:
ln -s /home/jonftp/TV-Shows/Buffy/Season-1/Buffy-101.avi /home/share/Buffy-101.avi
...but these don't show up on the XBox either.
How can I get uShare to "drill down" the directory structure to list the files or how can I get uShare to follow symbolic links?
Is there a way that I can set a quota for all new users that get created? I want to limit the hard drive space they get. I don't want to have to keep setting each new users quota either.
I am running Ubuntu 10.4 LTS 64Bit
On one Debian 4.0 x86_64 previously running kernel version 2.6.18-6-amd64 (installed with upt-get upgrade) I updated with the last stable kernel 2.6.35.5
The problem I'm facing regards the quotas. In dmesg I'm getting errors like:
EXT3-fs (sda3): Quota write (off=4080, len=40) cancelled because not block aligned VFS: dquota write failed on dev sda3 The users are shown like overquota and edquota, quota commands are running OK, but when they go overquota I get this errors and quota not functioning. What problem can this be?
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 RelatedI 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.
We have quota system in home directory and there is binary aquota.user file.
How do i determine how much quota is assigned to a user?
What is the value to set unlimited quota for system user in linux?
View 1 Replies View Relatedi've enabled quotas for a user on my fedora 10 distro but whenever i reboot the machine the boot.log contains the following message :"Enabling local filesystem after every startup i have to login as root and issue the quotaon -auv command to reenable quotas.what causes this failure on startup ? is there a workaround to solve this problem ?there is plenty of free space on the root partition that quotas are enabled.
View 2 Replies View RelatedI 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.
I'd like to allocate a certain quota to my local user for their internet navigation.
View 8 Replies View Related