How would this work out to have /var nad /tmp on separate partitions? Concerned about Quotas on /var to function properly with Ispconfig3 and have /tmp mounted with noexec. Do not think that separate /boot would create any complications. Could someoen propose the partitioning schema for Ispconfig3 with 200 gb harddrive to be used on. and possible changes how to make it all work together as mentioned?
You can set the partitions when you install your server. I would not make that many different partitions as you will sooner or later get troble with it if one partition gets full. But if you really want to make many partitions, make sure that you have a large /var partition as websites and email accounts are stored in /var (on ubuntu, debian, centos and fedora). Only on opensuse, the websites are in /srv
what would be the scoop on that? sue i can set them up. but what do i have to do to mount them so quota is working right on separate /var and /tmp noexec will not brake somethink in ispconfig3 alsi sizes for ecah partition for 200 gb hd would be nice to know the ratioes. This is my personal server vith about 20 sites oriented on photo gallery and social community.
Add ,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 to the /var partition in /etc/fstab and then run Code: touch /var/aquota.user /var/aquota.group chmod 600 /var/aquota.* mount -o remount /var quotacheck -avugm quotaon -avug
i did that with error i did and i got error i do not remember what it was but something that the options are incorrect or something. I will post the exact message when i get to it
fstab before separate var...... proc /proc proc defaults 0 0 /dev/mapper/vg--u4s2-lv--root / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 /dev/mapper/vg--u4s2-lv--boot /boot ext4 defaults 0 2 /dev/mapper/vg--u4s2-lv--tmp /tmp ext4 defaults 0 2 /dev/mapper/vg--u4s2-lv--swap none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 this is before the separate /var I will implement /var as is own partition (logical lvm )when I start running out off space.
Ispconfig3 well that is what i'm not sure. I'm using ispconfig3 and for user the quota is definitively needed on war but I think that user can be jailed to home directory on root also. Just won the ISPconfig3 to not get broken and user quota working properly system wide.
i got that yes I will make new partition for /var that is definite. What i wonder is hot to enable quota on the new partition so it works seamlessly with ISPconfig3 quota system
Ok so what Ok, now I need to expand my system. So I would like to add the /var partition. Still concerned about the quota.Do not wan to brake my shizeled ispconfig3. AND would like to keep the quota in control of user space. # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 /dev/mapper/vg--u4s2-lv--root / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 /dev/mapper/vg--u4s2-lv--boot /boot ext4 defaults 0 2 /dev/mapper/vg--u4s2-lv--tmp /tmp ext4 defaults 0 2 /dev/mapper/vg--u4s2-lv--swap none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0 Side note: (/var will be added using lvm just like all the above partitions -that does not changes anything quota vise and this post is not about how to do LVM.) So what kind of mount options to assign to the new /var partition and how to enable quota so it will nicely interoperate with my current ispconfig3? (Do not over look my current set up on the root partition as I feel that it may play some role with quota .)