Hi there,
I want to set up a new fileserver having the following hardware:
Performance considerations
So far I have heard that separating the pool from the data is better for performance.
I also heard that using whole disks rather than partition them is also better for performance (correct me if I am mistaken), so I have decided to go this way:
+ A pool consisting of 4 x Mirrors (Raid1)
+ SSD for ZIL, L2ARC, Cache/Log and the base system itself
Q1: How to best partition the SSD and should i also use zfs for the os or rather ufs?
Purpose
It should be mainly for fileserving, but will also have a couple of jails (running inside the pool), such as dns, dhcp, mysql, apache, svn (all separate jails). The pool needs to be fully encrypted with geli.
1.) Hard disk alignment Methods
I found a couple of solutions to align the disks for 4k
a) Windows Way
b) Using gnop
I also have seen a combination of them. Now I am not too sure which method to take.
Q2: Which alignment method would be best?
2.) Hard disk alignment methods with geli
How does geli fit into all this?
Q3: Do I have to do another align for geli?
I want to set up a new fileserver having the following hardware:
Code:
RAM: 8GB RAM
CPU: Intel Core2Duo 3.2Ghz
HDD: 8x 1TB Samsung Spinpoint F3
SSD: 1x Corsair 60GB Force Series 3 SATA 6GB/s
Performance considerations
So far I have heard that separating the pool from the data is better for performance.
I also heard that using whole disks rather than partition them is also better for performance (correct me if I am mistaken), so I have decided to go this way:
+ A pool consisting of 4 x Mirrors (Raid1)
+ SSD for ZIL, L2ARC, Cache/Log and the base system itself
Q1: How to best partition the SSD and should i also use zfs for the os or rather ufs?
Purpose
It should be mainly for fileserving, but will also have a couple of jails (running inside the pool), such as dns, dhcp, mysql, apache, svn (all separate jails). The pool needs to be fully encrypted with geli.
1.) Hard disk alignment Methods
I found a couple of solutions to align the disks for 4k
a) Windows Way
Code:
gpart create -s gpt ada0
gpart add -t freebsd-zfs -b 1M ada0
b) Using gnop
Code:
gnop create -S 4096 /dev/ada0
I also have seen a combination of them. Now I am not too sure which method to take.
Q2: Which alignment method would be best?
2.) Hard disk alignment methods with geli
How does geli fit into all this?
Q3: Do I have to do another align for geli?