Difference between revisions of "Hard Drive Partition Scheme"

From Amahi Wiki
Jump to: navigation, search
Line 3: Line 3:
 
image =Warning.png|
 
image =Warning.png|
 
heading =WARNING|
 
heading =WARNING|
message = Recommend you disable/unplug ALL hard disks you do not want to put the system on to make it easier to partition. Data loss can result if you don't know what disks are which or you make an error.}}
+
message = Recommend you disable/unplug ALL hard disks you do not want to put the system on to make it easier to partition. Data loss can result if you accidentally get confused about what disks are which or you make an error.}}
The default setup in Fedora is to use [https://www.amahi.org/faq/does-amahi-support-lvm Logical Volume Management (LVM)] which creates added complexity for inexperienced users.  The majority of drive space is dedicated to a /home partition.  The Amahi team recommends removing the /home partition for best results. 
 
  
The majority of hard drive space should be made available in / (root) as this is where the file shares (''/var/hda/files'') reside and the default location of the [[Greyhole_landing_zone|Greyhole Landing Zone]]. 
+
The Amahi team makes the following recommendations when partitioning drives in Amahi 7:
  
At the partitioning point of the Fedora installer:  
+
* Skip using [https://www.amahi.org/faq/does-amahi-support-lvm Logical Volume Management (LVM)], which creates added complexity for inexperienced users, in particular if there are disk failures.
 +
* Do not make a separate /home partition. Amahi does not recommend use of /home for storage for users
 +
* Allocate the majority of hard drive space in the / (root) partition.
 +
* Do not add extra drvies while installing
 +
* The majority of space, to be used by file shares is set up to be at ''/var/hda/files'', which typically resides in the root partition.
 +
* If you plan to use the [[Greyhole]] drive pooling technology, keep in mind that by default the Greyhole "[[Greyhole_landing_zone|Landing Zone]]" will be located in the root partition. This needs to have enough space to accommodate the single largest transaction that you plan or foresee you will make.
 +
 
 +
= How to Partition=
 +
At the partitioning point of the Fedora installer in the Amahi Express 7 CD install (or the [[Amahi 7 full DVD]] install), you do this:
 
* Select '''Create Custom Layout''' and click '''Next'''.
 
* Select '''Create Custom Layout''' and click '''Next'''.
 
* Next delete ''lv-root'', ''lv-swap'', and ''vg_xxxxxxx'' by selecting one at a time and clicking '''delete''' (''xxxxxx'' is different on every machine).
 
* Next delete ''lv-root'', ''lv-swap'', and ''vg_xxxxxxx'' by selecting one at a time and clicking '''delete''' (''xxxxxx'' is different on every machine).

Revision as of 17:06, 2 January 2015

Warning.png WARNING
Recommend you disable/unplug ALL hard disks you do not want to put the system on to make it easier to partition. Data loss can result if you accidentally get confused about what disks are which or you make an error.



The Amahi team makes the following recommendations when partitioning drives in Amahi 7:

  • Skip using Logical Volume Management (LVM), which creates added complexity for inexperienced users, in particular if there are disk failures.
  • Do not make a separate /home partition. Amahi does not recommend use of /home for storage for users
  • Allocate the majority of hard drive space in the / (root) partition.
  • Do not add extra drvies while installing
  • The majority of space, to be used by file shares is set up to be at /var/hda/files, which typically resides in the root partition.
  • If you plan to use the Greyhole drive pooling technology, keep in mind that by default the Greyhole "Landing Zone" will be located in the root partition. This needs to have enough space to accommodate the single largest transaction that you plan or foresee you will make.

How to Partition

At the partitioning point of the Fedora installer in the Amahi Express 7 CD install (or the Amahi 7 full DVD install), you do this:

  • Select Create Custom Layout and click Next.
  • Next delete lv-root, lv-swap, and vg_xxxxxxx by selecting one at a time and clicking delete (xxxxxx is different on every machine).
  • Now delete ALL partitions under hard drives. Now you will see free space as the size of the drive.
  • First we need to make the swap. Click on the free space and click Create:
  1. On the menu select standard partition.
  2. Go to file system type and click Swap.
  3. The recommended size of a swap partition depending on the amount of RAM in your system. For example, if you have 1GB of ram and plenty of HDD space, make it 2GB Fixed size and select OK.
System RAM Recommended swap space
< 2GB 2 times the amount of RAM
> 2GB – 8GB Equal to the amount of RAM
> 8GB – 64GB 0.5 times the amount of RAM
> 64GB 4GB of swap space
  • Click Create again, and we will make a /boot mount point:
  1. Click free space and select Create.
  2. Choose Standard Partition and under mount point select /boot.
  3. Select Ext4 for file system type. Should be 500MB, but not less than 200MB and click OK.
  • The last one, the ROOT partition (recommend it be the rest of the disk):
  1. Just click free space, and Create one more time.
  2. For mount point select /.
  3. File system type select Ext4 under leave the size box alone.
  4. Select Fill to Maximum allowable size to use up the rest of the disk.
  • Click NEXT and select Write Changes to Disk


You can now continue with the install as normal.


Reference: Fedora Recommended Partitioning Scheme