
4th March 2010, 06:22
|
|
Member
|
|
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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?
|

4th March 2010, 11:09
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,896
Thanks: 693
Thanked 4,190 Times in 3,207 Posts
|
|
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
|

4th March 2010, 14:34
|
|
Member
|
|
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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.
|

5th March 2010, 13:53
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
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
|

5th March 2010, 14:16
|
|
Member
|
|
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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
|

6th March 2010, 11:57
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Please post your /etc/fstab as well.
|

7th March 2010, 04:23
|
|
Member
|
|
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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.
|

7th March 2010, 15:21
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Do you want ot implement quota on / as well, or just on /var?
|

8th March 2010, 19:33
|
|
Member
|
|
Join Date: Nov 2009
Posts: 99
Thanks: 1
Thanked 0 Times in 0 Posts
|
|
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.
|

9th March 2010, 15:39
|
|
Super Moderator
|
|
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,665
Thanks: 1,896
Thanked 2,593 Times in 2,444 Posts
|
|
Quote:
Originally Posted by u4david
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...
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +2. The time now is 04:49.
|
Recent comments
19 hours 37 min ago
1 day 5 hours ago
1 day 5 hours ago
1 day 9 hours ago
1 day 13 hours ago
1 day 14 hours ago
1 day 16 hours ago
2 days 2 hours ago
2 days 7 hours ago
2 days 8 hours ago