Changes

Jump to navigation Jump to search
6,034 bytes added ,  23:31, 16 September 2014
no edit summary
Line 36: Line 36:  
Skip the media check unless you have a reason not to.
 
Skip the media check unless you have a reason not to.
 
[[File:pic03.gif|590px|frameless|none|Media check]]
 
[[File:pic03.gif|590px|frameless|none|Media check]]
 +
 +
 +
Select your language.
 +
In this example we choose English.
 +
[[File:pic04.gif|589px|frameless|none|Media check]]
 +
Click next.
 +
 +
 +
Select your keyboard layout.
 +
In this example we choose U.S. English.
 +
[[File:pic05.gif|587px|frameless|none|Media check]]
 +
Click next.
 +
 +
 +
Select Basic Storage Devices.
 +
[[File:pic06.gif|588px|frameless|none|Media check]]
 +
Click next.
 +
 +
 +
Select Yes, discard any data.
 +
[[File:pic07.gif|590px|frameless|none|Media check]]
 +
Click next.
 +
 +
 +
Select your timezone.
 +
[[File:pic08.gif|589px|frameless|none|Media check]]
 +
Click next.
 +
 +
 +
Select Create Custom Layout.
 +
[[File:pic09.gif|589px|frameless|none|Media check]]
 +
Click next.
 +
 +
 +
You are given a default RAID1 layout which uses the full disk capacity.
 +
This is where we start costomizing the partition layout.
 +
For the example I have two 40GByte SSD disks.
 +
Both disks have a 250MB system partition (sda1 and sdb1) and a larger partition for the rest of the data (sda2 and sdb2).
 +
[[File:pic10.gif|590px|frameless|none|Media check]]
 +
Click next.
 +
 +
 +
Remove all partitions by selecting sda and sdb and selection delete with both.
 +
After that you have a 2 partition free SSD’s like shown below.
 +
You can see the disk is 40959 MB in size.
 +
[[File:pic11.gif|590px|frameless|none|Media check]]
 +
 +
 +
Now, Over Provisioning usually is set somewhere between 5% and 25% and like said before, there is no right value to set for Over Provisioning.
 +
Usually people set it at 10% and that is what most SSD tools advise. Setting it lower than that will age your SSD disk faster and will compromise your SSD’s performance.
 +
If you are rather safe that sorry and the diskcapacity of your RAID1 set is not an issue you could set it to 15% or 20%.
 +
Setting it higher seems like overkill to me.
 +
In our example we will use 10% Over Provisioning.
 +
The system (250MB) and swap (4064MB) partitions will be the same size as in the default setting.
 +
That will make the size of the larger data partition: 40959MB x 0,9 = 36863MB – 250MB = 36613MB.
 +
 +
 +
We will start bij partitioning disk sda.
 +
Select sda and click create.
 +
Select RAID Partition and click create.
 +
Set all options like shown in the folowing screen and select OK:
 +
[[File:pic12.gif|293px|frameless|none|Media check]]
 +
The size of the partition (250MB) will be the same whatever size SSD you will be using.
 +
 +
Under sda select the Free space and click create.
 +
Select RAID Partition and click create.
 +
Set all options like shown in the folowing screen and select OK:
 +
[[File:pic13.gif|295px|frameless|none|Media check]]
 +
The size of the partition will be 90% of the SSD size - 250MB.
 +
So this size will depend on the size SSD you are using and using 10% Over Provisioning.
 +
 +
Now we will do the same for the disk sdb.
 +
Select sdb and click create.
 +
Select RAID Partition and click create.
 +
Set all options like shown in the folowing screen and select OK:
 +
[[File:pic14.gif|295px|frameless|none|Media check]]
 +
The size of the partition (250MB) will be the same whatever size SSD you will be using.
 +
 +
Under sda select the Free space and click create.
 +
Select RAID Partition and click create.
 +
Set all options like shown in the folowing screen and select OK:
 +
[[File:pic15.gif|294px|frameless|none|Media check]]
 +
The size of the partition will be 90% of the SSD size - 250MB.
 +
So this size will depend on the size SSD you are using and using 10% Over Provisioning.
 +
 +
Select Hard Drives and select create.
 +
Select RAID Device and click create.
 +
Set all options like shown in the folowing screen and select OK:
 +
[[File:pic16.gif|239px|frameless|none|Media check]]
 +
Make sure you select both system partitions sda1 and sdb1 witch both are 250MB.
 +
 +
Select Hard Drives and select create.
 +
Select RAID Device and click create.
 +
Set all options like shown in the folowing screen and select OK:
 +
[[File:pic17.gif|240px|frameless|none|Media check]]
 +
Make sure you select both system partitions sda2 and sdb2.
 +
 +
Under RAID Devices select md1 and click create.
 +
Select LVM Volume Group and click create.
 +
Select Add and set all options like shown in the folowing screen and select OK:
 +
[[File:pic18.gif|323px|frameless|none|Media check]]
 +
Set the swap size the same as the default setting that was presented to you earlier.
 +
 +
Select Add again and set all options like shown in the folowing screen and select OK:
 +
[[File:pic19.gif|323px|frameless|none|Media check]]
 +
Set the size the same as the maximum size shown in the same window.
 +
 +
Select OK again in this window to start the installation.
 +
[[File:pic20.gif|323px|frameless|none|Media check]]
 +
 +
 +
The RAID1 set you just created is shown now.
 +
Notice that both sda and sdb have 10% of free space now.
 +
[[File:pic21.gif|592px|frameless|none|Media check]]
 +
Click next.
 +
 +
Select Write changes to disk.
 +
[[File:pic22.gif|235px|frameless|none|Media check]]
 +
 +
 +
After the partitioning/formatting has finished you will see the screen below:
 +
[[File:pic23.gif|593px|frameless|none|Media check]]
 +
Click next.
 +
 +
The packages will now be installed.
 +
[[File:pic24.gif|594px|frameless|none|Media check]]
 +
 +
 +
After some time your installation will be completed and you are asked to reboot:
 +
[[File:pic25.gif|592px|frameless|none|Media check]]
 +
Click Reboot.
 +
After reboot, finish your SME configuration as you are used to, set an admin password, IP-settings and so on…
 +
 +
Login to your server with user root and use the command cat /proc/mdstat to check if your RAID1 set is synchronising:
 +
[[File:pic26.gif|591px|frameless|none|Media check]]
 +
 +
 +
After the synchronisation finished the command cat /proc/mdstat output should look something like this:
 +
[[File:pic27.gif|340px|frameless|none|Media check]]
 +
 +
'''Tip:'''
 +
Do not use the admin account to add an SSD disk to a RAID1 set that is custum partitioned to use less than 100% of the disk space from the menu (Option 5. Manage disk redundancy) because the script behind this option will not check how the disk that needs to be cloned is partitioned.
 +
The script will add the disk but will partition it using 100% of the disk space even when the first SSD disk in the RAID1 set is partitioned using less than 100% of the disk space.
63

edits

Navigation menu