Allocate disk space for users of multisite app
- date: August 12, 2013
I am developing an app that will run as a multisite app on a linux cloud hosting service but i want each site to have a predefined limited amount of disk space it can consume just as in some SaaS software. The amount disk space can be adjusted up or down based on user's requirements. So for each site the user/owner cannot consume more than their allocated space per time.
In this setup also, a user may have a dedicated IP, ftp access. Makes me think the allocation should be done at hardware level but all sites share the same code base so I need them on same computer.
I do not know if this can be achieved by this approach but I am open to any suggestions.
Please ask for any clarifications.
It may also be obvious from my question that I am a Linux noob.
Thanks for any help, it will be more appreciated than you could imagine.
How to assign disk quota(disk space limited) to user and group.
- date: August 24, 2007
Hi, good morning, my question i have find out from linuxquestions.org ya have a similar questions same like my question,but i still cannot understand,so i post this question ok.
1. how to set the disk quota (harddisk space) for individul user and group?
2. how to set the access right for harddisk partition for individul user and group?
3. The default RHLE 3, is it not yet start while boot up, the disk quota control?
Thank you very much...
Ubuntu Low Disk Space /Boot on LAN
- date: November 1, 2013
Your assistance is appreciated.
* There are user computers that have no hard drive and boot on LAN an image of Ubuntu.
* All these computers can boot Ubuntu but now have the following message on startup:
! Low Disc Space
! The volume "share" has only
363.5 MB disc space remaining.
You can free up disk space by removing unused programs or files, or by moving files to another disk or partition.
* If Ignore is chosen, users can still use the interface of Ubuntu but are unable to load any programs.
* I lost remote access to the server.
* Directly connected to the server I try the following:
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/trimserver-root 8.0G 7.2G 362M 96% /
varrun 2.0G 108K 2.0G 1% /var/run
varlock 2.0G 4.0K 2.0G 1% /var/lock
udev 2.0G 84K 2.0G 1% /dev
devshm 2.0G 0 2.0G 0% /dev/shm
/dev/md0 236M 101M 123M 46% /boot
/dev/mapper/trimserver-home 1016G 6.3G 959G 1% /home
/dev/mapper/trimserver-archive 60G 4
Wrong calculation of free disk space by kdiskfree
- date: February 8, 2006
i have been looking for a 3 GB disk space for some downloads and i used kdiskfee and it was totally impossible to find that i have used only 3% on my main storage drive
after using the ordinary method (Right click> properties on the mounted drive's folder) i got the accurate results but in a long time indeed (you may check the screenshot http://www.boomspeed.com/darkknight/win_d.jpg 180 kb
there was no change after using the update option of kdiskfree
and there is no need to tell you i want that simple program to calculate things right for me
Itunes disk space
- date: May 18, 2012
My parents' XP computer has an 41GB drive.
Now diskspace is running out (i was kinda expecting this).
After some searching i determined the culprit (well, the worst one) is Itunes.
It uses 18+GB in My Music (!)
Some more searching reveals that it's used because itunes keeps a copy of every app ever installed on the phone of me,my sister, my mother and my dad.
(Note: As much as i hate apple, they DO make good phones with a lot of apps (that and the android UI just hates me, it never detects my finger)).
Now, i never hook my phone up to itunes, but my sister does and it would be a problem if it would try to erase her phone.
My question is: Can i safely delete those app-files w/o triggering itunes to erase the phones (it already wants to do that on mine, guess why i never hook it up)?
Please keep in mind that i hate itunes.
(I can build ubuntu based distro's in a snap by hand and do a lot of stuff complex on computers. But itunes just gives me a headacke when i try to do even the simple
interview question, Databases and disk space.
- date: June 22, 2011
HI my /var/database/ directory is filled..!
Is there any way to redirect some databases to another directory ...! help me out plz.this question is asked by my trainer..!
du vs df Huge difference; Disk Space Vanishing
- date: March 20, 2007
A couple weird things are going. First, if I do a df -h, my system shows that 19G are being used on our /var parition, with 0 free space:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda3 1012M 394M 567M 42% /
/dev/sda2 99M 47M 48M 50% /boot
/dev/sda8 9.9G 1.5G 7.9G 16% /home
none 1004M 0 1004M 0% /dev/shm
/dev/sda9 347G 93G 236G 29% /srv
/dev/sda11 2.0G 81M 1.8G 5% /tmp
/dev/sda10 4.0G 1.3G 2.6G 33% /usr
/dev/sda6 4.0G 2.1G 1.8G 55% /usr/local
/dev/sda5 20G 19G 0 100% /var
However, if I do a du -sh /var it reports that only 4.6G are being used:
# du -sh /var
Furthermore, free space is somehow disappearing. If I delete say a 1G file, I can watch the newly freed space rapidly dwindle away by repeatedly doing a df -h. But du -sh /var still shows only 4.6G are being used. And I can't
Missing disk space openvz not a df vs du thingy
- date: October 1, 2010
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/simfs 52428800 21473116 9787792 69% /
none 524288 4 524284 1% /dev
where the hell is the other half of my hdd? I first though maybe a file of an open software keeping the space allocated and did a full restart. Still the same.
BTW; du confirms the disk usage
Disk space du and df discrepency
- date: March 13, 2007
Can someone explain this to me?
I started off with
[SOLVED] Not enough free disk space on /tmp
- date: July 30, 2013
I have a remote Linux Box which Centos 5.2 x86 is installed. When I connect Linux and windows with xmanager - a kind of vnc - through ssh, I got this error message.