This shows you the differences between two versions of the page.
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: | ||
< | < | ||
- | fdisk /dev/sda | + | fdisk -l /dev/sda |
+ | </ | ||
+ | |||
+ | or | ||
+ | |||
+ | < | ||
+ | sgdisk -p /dev/sda | ||
</ | </ | ||
Line 43: | Line 49: | ||
</ | </ | ||
- | Once you partition the first drive, use sfdisk to duplicate | + | :!: 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 -d /dev/sda | sfdisk /dev/sdb | ||
+ | </ | ||
+ | |||
+ | or | ||
< | < | ||
- | sfdisk -d / | + | sgdisk |
+ | sgdisk -G /dev/sdb | ||
</ | </ | ||