You are not logged in.

#1 2012-06-08 08:10:51

justinesmithies
Member
From: Cruden Bay , Scotland
Registered: 2012-06-08
Posts: 26

[ Solved ] 1Tb raid 1 Partition help

Hi Guys,
             I am setting up my 3Ghz dual core intel with 2Gb ram and 2 x 1Tb sata drives using hardware raid 1.
Its going to be on 24 /7 as im setting it up as a web / mail / file server and its going to double as my desktop until i purchase another pc.
I want to use ext4 but i would like advice on what size partitions you would advise on etc please.

Thanx in advance

Justine

Last edited by justinesmithies (2012-06-08 13:51:40)


“Microsoft sells you Windows … Linux gives you the whole house.”

2 x Dual core Xeon 5160 @ 3.0Ghz , 8 Gb Ram , Nvidia GTX 560 TI 1Gb on 2 x Neovo 19" LCD's, 1Tb HD , Sound Blaster Audigy2 all running on Arch Linux 64.

Offline

#2 2012-06-08 09:39:51

cybertorture
Member
Registered: 2010-05-05
Posts: 339

Re: [ Solved ] 1Tb raid 1 Partition help

hello justinesmithies,

Any particular reason for "hardware" raid ? any good raid controller (aka. ultra expensive one) ? if no - use real software raid instead wink .


O' rly ? Ya rly Oo

Offline

#3 2012-06-08 09:51:46

justinesmithies
Member
From: Cruden Bay , Scotland
Registered: 2012-06-08
Posts: 26

Re: [ Solved ] 1Tb raid 1 Partition help

No i'm just using the onboard hardware raid controller . I'd just like an idea of sugested partion layout sizes for the 1Tb array , as this is going to be a server / desktop.


“Microsoft sells you Windows … Linux gives you the whole house.”

2 x Dual core Xeon 5160 @ 3.0Ghz , 8 Gb Ram , Nvidia GTX 560 TI 1Gb on 2 x Neovo 19" LCD's, 1Tb HD , Sound Blaster Audigy2 all running on Arch Linux 64.

Offline

#4 2012-06-08 11:04:07

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [ Solved ] 1Tb raid 1 Partition help

Is it a desktop first and sever second? Or a SERVER first and a desktop second? Either way you can probably use VirtualBox. Maybe even with the setup you currently have, or from Windows.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-06-08 11:26:46

justinesmithies
Member
From: Cruden Bay , Scotland
Registered: 2012-06-08
Posts: 26

Re: [ Solved ] 1Tb raid 1 Partition help

Server first then desktop but i dont want to use virtualbox i just would like advice on the partion setup /sizes .

Thanx


“Microsoft sells you Windows … Linux gives you the whole house.”

2 x Dual core Xeon 5160 @ 3.0Ghz , 8 Gb Ram , Nvidia GTX 560 TI 1Gb on 2 x Neovo 19" LCD's, 1Tb HD , Sound Blaster Audigy2 all running on Arch Linux 64.

Offline

#6 2012-06-08 12:06:18

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,279

Re: [ Solved ] 1Tb raid 1 Partition help

the partition sizes depend on how big the data you need to store is.
The web mail and fileserver functions will likely have the biggest amount of data, but how much do you need ?

The simplest solution will likely be an LVM setup so you can change volume sizes afterwards.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2012-06-08 12:10:19

justinesmithies
Member
From: Cruden Bay , Scotland
Registered: 2012-06-08
Posts: 26

Re: [ Solved ] 1Tb raid 1 Partition help

All i'm after is what partitions would you have for this setup if i was not going to use lvm ?
i.e. / root /var /boot /home

Is this ok ?

swap = 4Gb -- Based on 2Gb ram ??
/boot = 250Mb -- ext2
/var = 50Gb -- ext4
/ = 200Gb -- ext4
/home = The rest ?? -- ext4

Total drive size 1Tb

Any comments welcome.

Last edited by justinesmithies (2012-06-08 12:14:01)


“Microsoft sells you Windows … Linux gives you the whole house.”

2 x Dual core Xeon 5160 @ 3.0Ghz , 8 Gb Ram , Nvidia GTX 560 TI 1Gb on 2 x Neovo 19" LCD's, 1Tb HD , Sound Blaster Audigy2 all running on Arch Linux 64.

Offline

#8 2012-06-08 12:18:53

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,279

Re: [ Solved ] 1Tb raid 1 Partition help

Personally i'd put the folder where the server stuff ends on a separate partitions.

If the webserver / mailserver / fileserver all use /sys to access/store their data, then i'd put /sys separate .
The /var partition seems a bit big, but you may need it.
Swap and boot are ok in size.

swap = 4Gb
/boot = 250Mb
/ = 50 Gb
/var = 50Gb
/sys = 500Gb
/home = rest

with /var and /sys on their own partitions, you could probably do with a root of 10 GB or so, but if you're not going to use lvm let's give root plenty of space.

Last edited by Lone_Wolf (2012-06-08 12:20:21)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#9 2012-06-08 12:23:09

justinesmithies
Member
From: Cruden Bay , Scotland
Registered: 2012-06-08
Posts: 26

Re: [ Solved ] 1Tb raid 1 Partition help

Thanx for your help Lone_Wolf i think thats what i'll use. big_smile

swap = 4 Gb        -- Swap
/boot = 250 Mb     -- Ext2
/ = 100 Gb            -- Ext4
/var = 100 Gb        -- Ext4
/home = rest       -- Ext4

Last edited by justinesmithies (2012-06-08 12:37:55)


“Microsoft sells you Windows … Linux gives you the whole house.”

2 x Dual core Xeon 5160 @ 3.0Ghz , 8 Gb Ram , Nvidia GTX 560 TI 1Gb on 2 x Neovo 19" LCD's, 1Tb HD , Sound Blaster Audigy2 all running on Arch Linux 64.

Offline

#10 2012-06-08 14:22:38

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [ Solved ] 1Tb raid 1 Partition help

Too much space for "/" can be an issue. The HDD read head will have to travel more and that can impact performance. A 10 GB "/" is more than enough. You'll probably only use have of that anyway. Like Lone_Wolf said, LVM is an interesting option too, because it allows resizing partitions on-the-fly. Not to mention snapshots.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB