Partitioning

Discussion in 'Installation/Configuration' started by Mosquito, Dec 6, 2007.

  1. Mosquito

    Mosquito New Member

    Does any one here use the non-default partitioning scheme on their servers? If so, I was wondering what sizes you had for partitions. Just curious because I noticed that all the perfect sets have you select the default partitioning scheme.
     
  2. falko

    falko Super Moderator ISPConfig Developer

    What partitions do you want to use?
     
  3. Mosquito

    Mosquito New Member

    I'm actually just curious what sizes people use for partitions. Personally, I'd like to seperate out a couple of mine at some point, but it is pretty low on my to do list.

    Partitions I was thinking about using were:
    /home - Enabling Quota, and setting to fill the volume
    /var/log - Set at a hard size limit (not yet determined)
    /tmp - Size limit again, possibly adding noexec permissions. I'm not sure how this would affect some of my software though. I haven't had time to test this one)
    /var/www - Maybe, though if I do, I'd split out my databases too, to be on faster drives and another logical volume.
    / - Everything that I don't need special mount options on would then fall under here

    I created the topic more to generate some discussion on various paritioning schemes than to ask for advice on sizes of particular partitions - though I would welcome it.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    I'd make / 5GB at least. /home and /var/www should be your biggest partitions, depending on whart you want to store in it. /tmp and /var/log don't need to be big (unless you expect very big log files), 5GB each should do.
     
  5. Mosquito

    Mosquito New Member

    For a Webserver (ISPConfig) do you use a large home partition? Or just a large www partition?

    Do you use the noexec option on your tmp space (or any partitions) or is it not worth using?
     
  6. Leszek

    Leszek New Member

    ISPConfig 2 (don't know about 3) doesn't store user's files in /home.
    Only what's stored there after ISPConfig installation so /var/www should have more space.

    Sooner or later we can end up with a problem when our disks run out of space. Then we can buy a new one and copy the files to a bigger partition.
    Another potentially good way to deal with problems like that is LVM (Logical Volume Management),which lets You add new drives/partitions that would be seen as one big drive/partition.
     
  7. SoftDux

    SoftDux New Member

    Why doesn't ISPConfig store user's folders in /home? Doesn't it make more sence to store it there?
     
  8. Leszek

    Leszek New Member

    Well storing user's files and folders doesn't make it less sensible.
    It's just a decision the developers made while writing ISPConfig.
     
  9. planner

    planner New Member

    I've always used LVM on any PC (server, desltop, or laptop) that I install Linux on. It stops you from worryiing about running out of disk space. Regardless of the the system you are installing, always use LVM.
     

Share This Page