Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th March 2010, 06:22
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default separate /var /tmp /boot on lvm

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?
Reply With Quote
Sponsored Links
  #2  
Old 4th March 2010, 11:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,413
Thanks: 834
Thanked 5,498 Times in 4,328 Posts
Default

You can set the partitions when you install your server.

Quote:
Could someoen propose the partitioning schema for Ispconfig3 with
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
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 4th March 2010, 14:34
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #4  
Old 5th March 2010, 13:53
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Add ,usrjquota=aquota.user,grpjquota=aquota.group,jqfm t=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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th March 2010, 14:16
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #6  
Old 6th March 2010, 11:57
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Please post your /etc/fstab as well.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 7th March 2010, 04:23
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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,jq fmt=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.
Reply With Quote
  #8  
Old 7th March 2010, 15:21
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Do you want ot implement quota on / as well, or just on /var?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 8th March 2010, 19:33
u4david u4david is offline
Member
 
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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.
Reply With Quote
  #10  
Old 9th March 2010, 15:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by u4david View Post
proc /proc proc defaults 0 0
/dev/mapper/vg--u4s2-lv--root / ext4 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jq fmt=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.
The problem is that you cannot set up quota on /var as long as there's no such partition...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
/var, quota

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to have a whole HD LVM (except /boot) anw Installation/Configuration 8 28th February 2009 17:19
Raid1 + LVM on fc6 (some assistance needed) rbanks HOWTO-Related Questions 6 15th March 2008 18:42
About installing ddclient satimis Server Operation 32 21st December 2006 03:51
configuring LVM? cwolf Installation/Configuration 1 12th July 2006 12:52
Xen: Smp & Lvm zokahn HOWTO-Related Questions 5 27th January 2006 10:28


All times are GMT +2. The time now is 11:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.