This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:techstuff:raid [2015/10/10 20:47] – nathan | public:techstuff:raid [2020/04/25 13:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 43: | Line 43: | ||
===== Optimizing the Filesystem ===== | ===== Optimizing the Filesystem ===== | ||
+ | |||
+ | Note: this only applies to striping such as raid 0, 5, 6. | ||
To ensure maximum speeds from the array do the following. | To ensure maximum speeds from the array do the following. | ||
Line 54: | Line 56: | ||
sudo mdadm --detail <raid device> | sudo mdadm --detail <raid device> | ||
- | * Next visit [[http://busybox.net/~aldot/mkfs_stride.html|this]] website and enter the above details | + | * https://gryzli.info/2015/02/ |
+ | * Stride size = [RAID chunk size] / [Filesystem block size] | ||
+ | * Stripe width = [ Stride size ] * [ Number of data-bearing disks] | ||
- | | + | |
===== Adding drive to Raid Array with GPT Partiton ===== | ===== Adding drive to Raid Array with GPT Partiton ===== | ||
Line 64: | Line 68: | ||
< | < | ||
$ parted /dev/sdx | $ parted /dev/sdx | ||
+ | (parted) mklabel gpt | ||
(parted) mkpart primary 1049KB 3146KB | (parted) mkpart primary 1049KB 3146KB | ||
(parted) set 1 bios_grub on | (parted) set 1 bios_grub on |