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
ADVERTISEMENT
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
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
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
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
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
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
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
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
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
Oct 10, 2010
I have a 2 TB disk in an external SATA dock, formatted with a single ext3 (Linux) partition, which doesn't show up in the Windows 7 Computer Management->Disk Management utility, even as a raw/blank disk. I've verified that there's nothing wrong with the disk by connecting it to my Linux machine and mounting it, and I've verified that the dock is functioning properly by connecting a different FAT32-formatted disk, which mounts flawlessly as expected.I realize that I can't actually read the ext3 partition without additional software (e.g., Ext3IFS), but why doesn't the disk show up at all? Is there some sort of stupid anti-Linux filter built in? Is there any way to force Windows to recognize the disk, so that I can at the very least use direct block access with it?
Background: I want to clone an identical 2 TB disk onto this one. Due to my hardware layout, it's much easier to have the source disk attached to one machine and the destination disk connected to another, and do the clone over the network (the network is not a bottleneck with switched gigabit ethernet), than it is to hook them both up to one machine.(1) I did this once before when both machines were running Linux, but I've since upgraded the destination machine and decided to switch back to Windows for regular desktop use. I've got Cygwin installed, and have verified that the same basic method (dd + nc) will work, but I can't do anything if Windows doesn't even consider the destination disk to exist.I only have one eSATA port on each machine. Opening them up just to do this clone is a rather large annoyance. Also, since this is my backup disk, I'd like to eventually automate the cloning from the active disk to another one that I regularly swap with a third disk that I store off-site.
View 1 Replies
View Related
Feb 17, 2011
USB flash disk partition disappeared as well as partition table I'm not sure about the cause
Code:
root@u# less /var/log/syslog
usb 5-1: New USB device found, idVendor=058f, idProduct=1234
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[code]....
Where did the partition table go? The device had one ext3 partition something around 4GB(size of USB storage device). I need to restore few files from this device.
View 3 Replies
View Related
Mar 11, 2010
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 Related
Apr 27, 2011
I would like to know if is possible extend a partition using one disk. I have 50 GB on /dev/vdf2 and would like to add on:
/dev/vdc1 50G 6.4G 41G 14% /home3
And this partition will have 100G of space..
View 9 Replies
View Related
Mar 6, 2010
I'm trying to dual boot pclinux2009 with vista already installed on an acer laptop, but once i get to the partition part of the linux installation the laptop freezes.
View 2 Replies
View Related
Feb 1, 2010
I need to resize a NTFS partition in a disk for which I have an image (dumped with dd).
I mounted it through the loop device on linux:
# losetup -o 32256 /dev/loop0 disk.img # I got the offset from looking at fdisk's output
# mount /tmp/t /dev/loop0
# ls /tmp/t
[content of NTFS partition shows correctly]
# umount /tmp/t
# gparted /dev/loop0
gparted shows me the disk correctly; it just contains one large NTFS partition I want to shrink.
I have it had it running for one hour now.
Question: will this work? There is lots of disk access but the timestamp and size of the underlying file disk.img remain unchanged.
View 1 Replies
View Related
Apr 13, 2010
i have debian system in which i have mounted the OS on a ext-3 system . I have got a partition of 60 gb , which is formatted to ext-2 partition . Even if I mount , i cant write anything into it . How can i change that ? How can I make the disk writable?
View 2 Replies
View Related
May 26, 2009
The partition is formatted to ext3, starting with block 1 on the drive. The mount point for /dev/sdc1 lists 0 files when doing `ls -A` `df -h` shows that the partition has 92MB used. How is this space being used, and how can I free it up?edit: I guess this isn't a newbie question.
View 7 Replies
View Related
Mar 30, 2010
OS: LINUX RHEL5
I want to resize the partition
for example..
my
/u01 is 50 gb.
/u02 is 30 gb.
i need to risize /u02 to 100gb( i have space left of around 60 gb and I need to take 10gb from /u01)
View 1 Replies
View Related
Nov 13, 2009
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?
View 1 Replies
View Related
Jan 1, 2009
What is the value to set unlimited quota for system user in linux?
View 1 Replies
View Related
Jun 16, 2011
how to check the print quota status on print server?
View 1 Replies
View Related
May 25, 2011
I want to define user quota on Redhat linux5.2 sendmail server for all my users.
View 1 Replies
View Related
Jan 7, 2009
I'm trying to resize a partition on an IDE hard disk to use the entire disk but can not get more than a 309GB partition. I can get 295, 300, 301, 302GB, etc... fine but start getting problems with anything over 309GB. I get the following error with 310GB or more:
error: block relocator should have relocated 533 Warning: You should reinstall your boot loader before rebooting. Read section 4 of the Parted User documentation for more information. I am using Slackware 12.1, GNU parted 1.8.8, ext2 filesystem.
Some output that may be of use:
root@asus:~# parted /dev/hdb print
Model: ST3500630A (ide)
Disk /dev/hdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
[code].....
View 3 Replies
View Related
Nov 16, 2010
I downloaded an raw SD card image that has two partitions. It caused some file system errors when I tried to dd it directly into an SD card. I am not sure if the card is defective or the image. Is there a way to examine this image without writing it to a physical card? Like trying to mount the partitions separately or checking the tables?
View 2 Replies
View Related
Feb 23, 2011
I'm installing RHEL 4.x to a hard disk that already has windows 7 enterprise installed. I would like to dual-boot both the OSes. The hard drive size is about 220 GB (of which windows 7 occupies about 50 GB).Now, is there any free and friendly tool that I can download to partition this drive ?RHEL comes with a text mode (disk druid) to partition and I could not figure out how to resize the existing windows partition. So, I'm assuming that I need to abort the linux install now and proceed to boot from another CD that contains a good partitioning tool and then later resume boot from RHEL install disk.Also, what should my partitions look like ? What size should they be ? The system is a new LENOVO with 4 GB RAM on a i5 core processor.I know that I will need atleast 5 partitions. right ?1) /boot2) /3) /home4) swap5) /var
View 2 Replies
View Related
Sep 8, 2011
As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?
View 1 Replies
View Related
Jan 6, 2011
I recently installed Linux to run a few Linux based tools on a disk images I have, and I can't seem to copy the disk image over to my ext3 partition.
The particular distibution I'm using is BackTrack 4 r2, which is Ubuntu based. I can't seem to find specifically which version of Ubuntu is being used. The disk image is 108GB. It is currently located on a NTFS partition on a SATA hard drive connected directly to the computer. The ext3 partition is located on a second SATA hard drive connected to the same computer. It has 200GB total. I do not remember exactly how much free space it had but "df -h" showed a lot more than 108GB. The computer has 4GB of RAM and I gave it 8GB of swap space.
At this point it has been running for more than 12 hours. This is far longer than I would expect it to take had I been copying the file under Windows. How ever I do not have much experience with Linux, so if it's supose to take this long please let me know. I am planning on letting it run until I wake up tomorrow.
"cp -v" hasn't been very verbose at all. The only sign I have that indicates the computer is still trying to do something is the HDD light on my chasis that has stayed lit this whole time.
View 4 Replies
View Related
Apr 30, 2010
I have installed 1tb hard drive and would like to partition as follows:
1) / - 20g
2) /swap - 6G
3) /photos /150g
4) /videos /500g
5) /audio /300g
After 2-3 partition an extended partition automatically created in which I am not able to create specified capacity i.e., say I want 150g of /photos partition, the /videos partition is automatically reduced and a free space at the end appears. Some free space is always there which i am not able to understand. Nevertheless i clicked to create, but I get an error viz. 'device not created'.
View 7 Replies
View Related
Mar 10, 2010
How do you calculate the number of usable bytes on a disk partition? When I do an fdisk -l I get this:
Disk /dev/md0: 192.0 GB, 192069500928 bytes
2 heads, 4 sectors/track, 46891968 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
[code]...
View 7 Replies
View Related