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


ADVERTISEMENT

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

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

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

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 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

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

Fedora Installation :: Create 6GB /user Partition And It Says Not Enough Disk Space?

Oct 4, 2010

I have a 80GB HDD on which I have installed Ubuntu10.04. I have about 45GB space remaining. I am trying to install Fedora13. I create : 2GB / partition - 2.4GB swap partition. I want to create 6GB /usr partition and it says not enough disk space? Why is it giving that message?

View 1 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

Ubuntu :: Wine / Rosetta Stone - "Cannot Create Needed Files Of Not Enough Disk Space"

Mar 27, 2010

Running ver 9.10 with Wine installed. Up untill about 2 mos ago Wine loaded 'Rosetta' ok. I tried last week and get Application Error. "Cannot create needed files of not enough disk space". I have over 35 gb unused space. I removed wine (purged) and re-installed -- still no good. It however works on my laptop that has same configuration (9.10)??

View 2 Replies View Related

Server :: How To Check Disk Space

Sep 26, 2010

Code:

df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 50G 47G 602M 99% /

How to find why Avail space shows only 602M?

View 8 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

Server :: Creating The Disk Space Alerts?

Mar 28, 2011

#!/usr/bin/perl
use Term::ANSIColor;
####TIME DETAILS ######
print colored ( "PLEASE SPECIFY HOURS FOR THE FILESIZEREPORT TO RUN
", ' bold green on_blue' );
$hrstorun = ;

[code]....

View 6 Replies View Related

Server :: How To Check Disk Free Space

Apr 23, 2010

[root@linux root]# fdisk -l
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 1276 4864 28828642+ f Win95 Ext'd (LBA)
/dev/hda3 14 395 3068415 83 Linux
/dev/hda4 396 526 1052257+ 82 Linux swap
/dev/hda5 1276 3187 15358108+ 7 HPFS/NTFS
/dev/hda6 3188 3249 497983+ 8e Linux LVM
/dev/hda7 3250 3311 497983+ 8e Linux LVM

Here /dev/hda5 taken of How much capacity for NTFS (need space in MB).

View 8 Replies View Related

General :: Why Is Used + Available Disk Space Always Less Than Total Disk Space

Feb 24, 2011

root@localhost:~ $ df /dev/sdb1
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sdb1 1922858352 23247088 1801935664 2% /mnt/external/sdb1

[code]....

View 1 Replies View Related

Server :: Check Hard Disk Space In Level 3?

Sep 23, 2009

When level 3, we can use only command. What can I do to check for Hard Disk usage such as used space, free space, total space.

View 4 Replies View Related

Server :: Good Amount Of Disk Space To Have Free?

Jan 8, 2010

What a good amount of disk space to have free? Is there a general rule of thumb? IE 70, 80 or 90%?

View 2 Replies View Related

CentOS 5 Server :: How To Enlarge Space Of Disk Without Re-install Operative System

Dec 5, 2009

I have a server with centos 5, with two hd, i did a fresh installation with cenTOS using the 2 hard disk, now we need enlarge with other hard disk more, can some one explain how to enlarge the space of disk without re-install the operative system?.

View 1 Replies View Related

Debian :: Create An Unallocated Space The Space Will Stay In That Extended Partition

Mar 20, 2010

my home partition is an extended one, and when i want to create an unallocated space the space will stay in that extended partition. but there is also an 7 gb unallocated space which i want to merge with the other unallocated space. I also cannot extend that partition over that 7 gb. how can i overcome that problem?

i m also uploading a screenshot of gparted.[URL]..

View 4 Replies View Related

Server :: Create A Boot Disk For Red Hat AS Enterprise Server?

Jan 15, 2010

I am in need of the instructions of how to create a boot disk for my RED HAT Linux Enterprise Server. I have a floppy drive also it this helps.

View 2 Replies View Related

Slackware :: Disk Space Lost- Root Partition Has Very Little Space Left

Jan 31, 2010

Today I was installing a lot of software since I'm just setting up my Slackware system again after a fresh install, and I realized that my root partition has very little space left.

Here is the output of df -h:


Code:

As you can see, I have a 20G (19G here for some reason) root partition, 8G /var, and 86G of /home. I thought this would be plenty since many recent recommendations for / are 10-15G. Now, though, 17G are used up for some reason! How is this possible? I thought a full slackware install only had about 4G of software! I don't have any music or movies or any crazy huge files that I know of, and those would be in my /home directory anyway. Is there any way I can see which files are taking up all this space?

If it's necessary to allocate more space to my / partition, is it still possible to boot up a GParted live Cd, shrink /home a bit, move some partitions to the right, and expand my root partition? I would REALLY prefer I don't have to reinstall since I just spent a ton of time setting up my system again, but if worst comes to worst ... :'-(

In case you're curious, here's my /etc/fstab:

Code:

View 14 Replies View Related

Hardware :: Reduced Disk Space / Use The Total Amount Of Space?

Aug 25, 2009

OS: RHEL AS 5 64-bit

HDD:300 GB Hardware mirror (HP blade bl460c)

While installing OS, in partition window after OS file system structure I've left 277 GB. But after installation it shows Size - 255GB and available disk space is 242 GB.

Isn't it weired? How can I use the total amount of space in Linux? I need the whole 277GB exactly. What should be my workaround?

View 6 Replies View Related

Server :: Create Users On Mounted Disk Image?

Sep 30, 2010

I'm currently in the middle of developing an automatic system which can provision Linux VMs automatically.Let's say I have a disk image which has a Linux distro installed on it. How would I change the root password on that, without having to boot the OS?It would be nice if I could just simply run passwd with some switch to point to the /etc/shadow file on the (mounted) VM disk image..

View 2 Replies View Related

Red Hat :: Hard Disk Partition Size To Create Name Server

Jan 24, 2011

I want to configure Name Server i.e., DNS to my red hat linux box in a production enviromnt.The ram is 2 GB and Hard Disk size is 200 GB. How much space should I give /var, /usr, /boot, /root and home partition. May be I am wrong in partition point of view while installing fresh red hat but to install for home purpose and server end is different. So kindly guide me the hard disk partition size to ready it for name server.

View 3 Replies View Related

Ubuntu :: Disk Space Used Doesn't Match What Is Shown In Disk Usage Analyzer?

Feb 26, 2011

Some thing is using up a huge amount of my disk space about 10G and I can not determine what it is. When I look at my disk usage in system monitor it say I have used about 25G and when I scan the directory in disk usage analyzer the entire file system used is 15G.

View 1 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

Ubuntu :: Add Hard Disk Expand Disk Space For /home

May 23, 2010

ran out of space in my /home dir. Have a second hard drive to install and would like to designate it as additional space for /home. I do not want to mount it as a dir inside my home I would like it to simply work as though my /home simply has more space available to it.

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







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