Difference between revisions of "Talk:Software RAID on Linux"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "== Updated Notes: 2/18/2017 RAID 1 on Linux Mint == useful RAID reference: *How To Create RAID Arrays with mdadm on Ubuntu 16.04 Setting up Raid 1 (mirror) in linux mint (...")
 
(Set up RAID 1 with fdisk - 2/18/2017: new section)
Line 9: Line 9:
 
Setting up RAID 1 (Mirroring) using ‘Two Disks’ in Linux – Part 3
 
Setting up RAID 1 (Mirroring) using ‘Two Disks’ in Linux – Part 3
 
*http://www.tecmint.com/create-raid1-in-linux/
 
*http://www.tecmint.com/create-raid1-in-linux/
 +
 +
== Set up RAID 1 with fdisk - 2/18/2017 ==
 +
 +
If you have 2 drives, /dev/sda and /dev/sdb
 +
 +
fdisk /dev/sda
 +
 +
Create Partitions with fdisk
 +
* d - delete any existing partitions
 +
* n - create a new partition
 +
 +
fdisk /dev/sdb
 +
 +
Create Partitions with fdisk
 +
* d - delete any existing partitions
 +
* n - create a new partition
 +
 +
 +
Now use fdisk to convert partitions to a type needed for building the RAID array
 +
 +
fdisk /dev/sda
 +
* t - change the partition type to "fd".  You can get a list of available types

Revision as of 23:28, 18 February 2017

Updated Notes: 2/18/2017 RAID 1 on Linux Mint

useful RAID reference:

  • How To Create RAID Arrays with mdadm on Ubuntu 16.04

Setting up Raid 1 (mirror) in linux mint (or any distro)

Setting up RAID 1 (Mirroring) using ‘Two Disks’ in Linux – Part 3

Set up RAID 1 with fdisk - 2/18/2017

If you have 2 drives, /dev/sda and /dev/sdb

fdisk /dev/sda

Create Partitions with fdisk

  • d - delete any existing partitions
  • n - create a new partition
fdisk /dev/sdb

Create Partitions with fdisk

  • d - delete any existing partitions
  • n - create a new partition


Now use fdisk to convert partitions to a type needed for building the RAID array

fdisk /dev/sda
  • t - change the partition type to "fd". You can get a list of available types