User Tools

Site Tools


computing:storage:linux_software_raid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
computing:storage:linux_software_raid [2019/10/25 10:31]
gcooper
computing:storage:linux_software_raid [2019/10/25 10:42] (current)
gcooper
Line 22: Line 22:
  
 <file> <file>
-fdisk /dev/sda+fdisk -l /dev/sda 
 +</file> 
 + 
 +or 
 + 
 +<file> 
 +sgdisk -p /dev/sda
 </file> </file>
  
Line 43: Line 49:
 </file> </file>
  
-Once you partition the first drive, use sfdisk to duplicate partitions from that first drive to other drives:+:!: Be careful not to write to the **wrong disk** or you will have a **very bad day**! 
 + 
 +Once you partition the first drive, use ''sfdisk'' or ''sgdisk'' to replicate partitions from that first drive to other drives: 
 + 
 +<file> 
 +sfdisk -d /dev/sda | sfdisk /dev/sdb 
 +</file> 
 + 
 +or
  
 <file> <file>
-sfdisk -d /dev/sda | sfdisk /dev/sd[bcd]+sgdisk /dev/sda -R /dev/sdb 
 +sgdisk -G /dev/sdb
 </file> </file>
  
computing/storage/linux_software_raid.1572021107.txt.gz · Last modified: 2019/10/25 10:31 by gcooper