Changes between Version 2 and Version 3 of Linux/Ubuntu/HardyRAID5EncryptedLVM


Ignore:
Timestamp:
07/07/08 17:13:04 (9 years ago)
Author:
tj
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Linux/Ubuntu/HardyRAID5EncryptedLVM

    v2 v3  
    88 * /dev/md0 RAID-1 (Mirrored), not encrypted. For /boot. 3GB (only needs 250MB). 
    99 * /dev/md1 RAID-1 (Mirrored), not encrypted. For swap & hibernate. 3GB. 
    10  * /dev/md2 RAID-5 (Stripping with Parity), encrypted. Logical Volume Management. For /, /var, and /home. Remaining disk space. 
     10 * /dev/md2 RAID-5 (Striping with Parity), encrypted. Logical Volume Management. For /, /var, and /home. Remaining disk space. 
    1111 
    1212/boot contains the kernel image that GRUB loads via the BIOS and therefore cannot be encrypted or allocated via LVM (BIOS/GRUB do not know how to deal with encryption or LVM). It is placed in a RAID-1 mirror because when GRUB starts it has no way to read a software RAID-5 array. RAID-1 is usable because each disk/partition has identical data on it. GRUB will boot from either of the two drives in the RAID-1 array but is unaware of the mirror. The swap & hibernate partition uses a RAID-1 mirror too, sized based on the installed system RAM plus a margin (system has 2GB RAM), which is unencrypted (However, encryption is possible because the kernel has been loaded and started by GRUB at the point the hibernate image is read - I might add instructions for encrypting once I've had chance to test it). The mirrors are arranged so the disks are on different controller channels, which allows for concurrent access. 
     
    2525[[Image(RAIDencryptedLVM-logical-RAID1.png)]] 
    2626 
    27 The operating system and user data are in an encrypted RAID-5 (stripped plus parity) array:[[BR]] 
     27The operating system and user data are in an encrypted RAID-5 (striped plus parity) array:[[BR]] 
    2828[[Image(RAIDencryptedLVM-logical-RAID5.png)]] 
    2929 
     
    5454 
    5555== Partition the disks == 
    56  
    57  
    58  
    59  
    60  
    61  
    62  
    63  
    64  
    65  
    66  
    67  
    6856 
    6957Each disk is identically partitioned. The RAID-5 array will use the majority of the space. GRUB and BIOS require a ''regular'' disk layout in order to boot the system, so a small partition for /boot is first on the disks.