hardware:flexbuff
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
hardware:flexbuff [2018/02/09 12:51] – buijs | hardware:flexbuff [2018/02/09 13:10] – [Flexbuf] buijs | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== How we setup the filesytem on our flexbufs ====== | ||
- | ===== The really short version ===== | + | |
- | * We use ZFS | + | |
- | * 6 raidz' | + | |
- | * Use a 4k alignment for the disks | + | |
- | * Set set xattr=sa for each pool | + | |
- | * Use vdev aliases for the disks | + | |
===== Create a vdev alias mapping ===== | ===== Create a vdev alias mapping ===== | ||
Line 22: | Line 17: | ||
Heres an example | Heres an example | ||
- | alias F0 pci-0000: | + | |
- | alias F1 pci-0000: | + | alias F1 pci-0000: |
- | alias F2 pci-0000: | + | alias F2 pci-0000: |
- | alias F3 pci-0000: | + | alias F3 pci-0000: |
- | alias F4 pci-0000: | + | alias F4 pci-0000: |
- | alias F5 pci-0000: | + | alias F5 pci-0000: |
- | alias F6 pci-0000: | + | alias F6 pci-0000: |
- | alias F7 pci-0000: | + | alias F7 pci-0000:01: |
+ | |||
+ | alias F8 pci-0000: | ||
+ | alias F9 pci-0000: | ||
+ | alias F10 | ||
+ | alias F11 | ||
+ | alias F12 | ||
+ | alias F13 | ||
+ | alias F14 | ||
+ | alias F15 | ||
- | alias F8 pci-0000: | + | One of our config files note that the file name should be vdev_id.conf not .txt [[http://www.jive.nl/ |
- | alias F9 pci-0000: | + | |
- | alias F10 | + | |
- | alias F11 | + | |
- | alias F12 | + | |
- | alias F13 | + | |
- | alias F14 | + | |
- | alias F15 | + | |
Look closely you will see there is some logic to it so you don't have to probe all your disks. | Look closely you will see there is some logic to it so you don't have to probe all your disks. | ||
- | After editing the file you need to run | + | After editing the file you need to update your vdev entries by running. |
- | sudo udevadm trigger | + | sudo udevadm trigger |
If you want to check if its correct you can do the same smartctl command but with the vdev instead of the pci path. | If you want to check if its correct you can do the same smartctl command but with the vdev instead of the pci path. |
hardware/flexbuff.txt · Last modified: 2018/02/09 13:17 by buijs