Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-01-2004, 01:47 AM   #1
LQ Newbie
Registered: Apr 2004
Posts: 6

Rep: Reputation: 0
Web hosting application- assigning disk space

I am trying to develop a web hosting application on a Linux host. Users can connect to this application and create -and host - their domains.

At the point at which the user creates a domain, (s)he also needs to choose the amount of storage that this domain would require.

I need help with how to implement this at the back end.

Should I create a file system for the domain specifying number of blocks matching the space requested by the user? If this is done can moe blocks be added on the fly (the user has an option to request for more storage). If this approach is right, what would be the commands to use to acheive this? I cam imagine that the sequence would be, create a file system and mount it. But I'm not sure about how to go about doing it.

On the other hand, would it be smarter to enable quotas for the file systems that would be used by the users requesting for domain creations. But I guess disk quota mgmt requires lots of intervention - like editing files - by the sys admin. But I want all this to happen on the click of buttons.

Help please......

Old 05-01-2004, 06:09 PM   #2
LQ Newbie
Registered: Nov 2003
Location: Pune, India
Distribution: RH
Posts: 10

Rep: Reputation: 0
If immplemented properly ie if all the scripts/codes are proper, using quotas to
manage disk space would be much simpler.
Try setting quotas using setquota (man setquota )
So user can set quota at the time of creation and later can even modify that
though the same interface.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
notify user space application from the kernel space lordofring Linux - Software 2 06-22-2009 01:32 PM
Web Application to grab large files from web addresses farmerjoe Programming 3 10-16-2005 09:49 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
Free web based control panel for web hosting? mooman_fl Linux - Software 0 06-18-2004 06:16 PM
hosting: unlimited everything w/limited bandwidth/space.. miguetoo General 0 06-17-2004 10:49 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration