#1  
Old 6th March 2013, 18:02
technokratos technokratos is offline
Junior Member
 
Join Date: Mar 2013
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Smile Debian server: LVM or not?

Hello, I am trying to setup a small server for my web, mails and RVM with Ruby, gems. I cannot decide if I should use LVM or not as I have one internat 150 GB HDD. Some folks say it's a great thing but only useful if you plan to add new drives (which I don't). Should I use it or not?

If I go with LVM, I plan to create logical volumes for /home, /usr, /var and swap. Could someone please give advice concerning initial size of those volumes?

For reference, I posted this question on serverfault with more details. http://serverfault.com/questions/485...size-under-lvm

Thanks guys for your experience.
Reply With Quote
The Following User Says Thank You to technokratos For This Useful Post:
Al-Muntaqim (9th March 2013)
Sponsored Links
  #2  
Old 8th March 2013, 14:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

I'd always use LVM, even if you don't plan to add further drives, because it gives you so much more flexibility. You can even do snapshots - to use this feature you need to leave some free space in your volume group (which is recommended in general because this allows you to create additional volumes if necessary or to resize volumes).
__________________
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
  #3  
Old 8th March 2013, 16:02
technokratos technokratos is offline
Junior Member
 
Join Date: Mar 2013
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
Default

Thank you, Falko. I'm very glad you gave your professional insight.

Could you please also comment on:
- which LVMs you yourself usually create for server (/home, ...)
- their initial sizes?

I couldn't find any good examples for this.
Thank you very much.
Reply With Quote
  #4  
Old 9th March 2013, 17:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Usually an lv for / and one for /var/lib/mysql (so that you can create snapshots) is a good start. 50 - 100 GB for /var/lib/mysql should be more than enough in most cases; for / I'd use a few hundred GB, depending on how many websites and email accounts you plan to host.
__________________
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 9th March 2013, 21:25
technokratos technokratos is offline
Junior Member
 
Join Date: Mar 2013
Posts: 4
Thanks: 0
Thanked 1 Time in 1 Post
 
Default

Thank you, Falko. Finally someone with specific advice.
Much appreciated.
Reply With Quote
Reply

Bookmarks

Tags
debian, lvm, partitions

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
500 internal error after upgrade abintipl Installation/Configuration 9 18th July 2012 12:51
Local mail server - final touch Alexhor Installation/Configuration 4 12th April 2012 22:33
php Apps email not going through palkat General 8 21st September 2011 05:35
Debian 5 Ajax error + network interface always shutting down ev0css Installation/Configuration 3 5th June 2010 12:58
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 14:35.


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