hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : 2 Disks, 1 Partion
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

2 Disks, 1 Partion

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 09-12-2011, 11:20 PM
Jake112345 Jake112345 is offline
New Member
 
Join Date: Sep 2011
Posts: 3

2 Disks, 1 Partion


this may be a stupid question but is it possible to setup 2 disk on one partion.
i.e (2) 2TB Sata II disks on the / partion = 4TB for the / partion.

thanks

Reply With Quote


Sponsored Links
  #2  
Old 09-12-2011, 11:22 PM
dvgrhl dvgrhl is offline
Junior Guru Wannabe
 
Join Date: Aug 2009
Posts: 36
Quote:
Originally Posted by Jake112345 View Post
this may be a stupid question but is it possible to setup 2 disk on one partion.
i.e (2) 2TB Sata II disks on the / partion = 4TB for the / partion.

thanks
Well, you could do this easily with LVM, or RAID 0. For a server I would choose LVM myself.

Edit: Just in case this is totally new to you, LVM stands for Logical Volume Management. There are lots of guides online for setting LVM up with multiple hard disks.

I should also point out that for a server, it would be bad to use all of your disk space (excluding boot and swap) for the root partition. At a minimum you want /tmp in its own space so that if it gets filled up it can't bring your server down. This is what is great about logical volumes. You can create a logical volume for /tmp, /, and /home with whatever sizes you want. Then if one is getting tight on space, you can easily resize the logical volumes.


Last edited by dvgrhl; 09-12-2011 at 11:28 PM.
Reply With Quote
  #3  
Old 09-12-2011, 11:26 PM
Jake112345 Jake112345 is offline
New Member
 
Join Date: Sep 2011
Posts: 3
well i will run 4 disks RAID 10,
on the 2 disks
I would have 20GB for the / partion and 512MB swap. (This is for example)
And all the rest for the /home partion.
This would be over 2 disks so this would be possible?

Reply With Quote
Sponsored Links
  #4  
Old 09-12-2011, 11:33 PM
dvgrhl dvgrhl is offline
Junior Guru Wannabe
 
Join Date: Aug 2009
Posts: 36
Quote:
Originally Posted by Jake112345 View Post
well i will run 4 disks RAID 10,
on the 2 disks
I would have 20GB for the / partion and 512MB swap. (This is for example)
And all the rest for the /home partion.
This would be over 2 disks so this would be possible?
Well, if it's RAID 10 then the OS will see it as 1 volume anyway, not separate disks. Here is how I would set it up:

All 4 disks in a RAID 10

512mb partition for boot
512mb partition for swap (or whatever size you need)
Rest of space in a volume group
- One logical volume for / size 20gb
- One logical volume for /tmp size (1-4gb)
- One logical volume for /home with rest of the disk space

Reply With Quote
  #5  
Old 09-12-2011, 11:38 PM
Jake112345 Jake112345 is offline
New Member
 
Join Date: Sep 2011
Posts: 3
Quote:
Originally Posted by dvgrhl View Post
Well, if it's RAID 10 then the OS will see it as 1 volume anyway, not separate disks. Here is how I would set it up:

All 4 disks in a RAID 10

512mb partition for boot
512mb partition for swap (or whatever size you need)
Rest of space in a volume group
- One logical volume for / size 20gb
- One logical volume for /tmp size (1-4gb)
- One logical volume for /home with rest of the disk space
ah i see thank you for clearing that up.
only 512mb for /boot ?

Reply With Quote
  #6  
Old 09-12-2011, 11:46 PM
dvgrhl dvgrhl is offline
Junior Guru Wannabe
 
Join Date: Aug 2009
Posts: 36
Quote:
Originally Posted by Jake112345 View Post
ah i see thank you for clearing that up.
only 512mb for /boot ?
512mb for /boot might be a little big for some people actually. If I remember correctly, Red Hat defaults to 500mb if you let it automatically choose the disk layout. But then their documentation says 250mb should be sufficient for most people: http://docs.redhat.com/docs/en-US/Re...mmend-x86.html.

I think 512mb (just to keep it divisible by 8 ) is more than sufficient and will ensure you don't have any issues.

Reply With Quote
  #7  
Old 09-12-2011, 11:59 PM
silasmoeckel silasmoeckel is offline
Aspiring Evangelist
 
Join Date: Apr 2010
Posts: 440
Should mention yes it's possible buts it's a pretty bad idea. When one disk fails it will take the whole partition with it.

Reply With Quote
  #8  
Old 09-13-2011, 12:16 AM
dvgrhl dvgrhl is offline
Junior Guru Wannabe
 
Join Date: Aug 2009
Posts: 36
Quote:
Originally Posted by silasmoeckel View Post
Should mention yes it's possible buts it's a pretty bad idea. When one disk fails it will take the whole partition with it.
Since he's setting up a RAID10 with 4 disks, at worst case 1 drive could fail, and best case 2, and the array would still be in tact.

Reply With Quote
Reply

Similar Threads
Thread Thread Starter Forum Replies Last Post
Quad + 16GB RAM + 10K Disks - $150/mo [+] 6 x 500GB Disks + RAID + 10TB BW - $180/mo SC-Daniel Dedicated Hosting Offers 11 08-01-2010 12:45 AM
Quad + 16GB RAM + 10K Disks - $150/mo [+] 6 x 500GB Disks + RAID + 10TB BW - $180/mo SC-Daniel Dedicated Hosting Offers 4 07-28-2010 08:24 AM
resize partion/create new partion/lvm robocap Hosting Security and Technology 0 07-04-2008 02:25 PM
4 500 gb disks in raid 10 or 2 150 gb raptor disks in raid 1 pjssms Dedicated Server 12 04-27-2008 04:36 PM
Swapping disks for larger disks on a 3Ware rghf Hosting Security and Technology 1 03-12-2006 08:57 PM

Related posts from TheWhir.com
Title Type Date Posted
OnApp Cloud v3.0 Helps Cloud Providers Build SANs, Adds VMware Support Web Hosting News 2013-02-20 11:16:49
Microsoft Acquires Cloud-Integrated Storage Provider StorSimple Web Hosting News 2012-10-16 17:10:45
Web Host Connectria Hosting Launches Amazon S3 Compatible Cloud Storage Web Hosting News 2011-11-16 21:52:21
Web Host SoftLayer Adds Local Disk Storage Option to CloudLayer Hosting Web Hosting News 2011-07-26 18:43:31
Storage System Maker Scality Updates RING for Cloud Storage Web Hosting News 2011-06-07 15:33:33


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?