User Tools

Site Tools


hardware:flexbuff

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
hardware:flexbuff [2018/02/09 12:51] buijshardware: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's with 6 disks +
-  * 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:01:00.0-sas-phy3-lun-0 +  alias F0        pci-0000:01:00.0-sas-phy3-lun-0 
-alias F1        pci-0000:01:00.0-sas-phy2-lun-0 +  alias F1        pci-0000:01:00.0-sas-phy2-lun-0 
-alias F2        pci-0000:01:00.0-sas-phy1-lun-0 +  alias F2        pci-0000:01:00.0-sas-phy1-lun-0 
-alias F3        pci-0000:01:00.0-sas-phy0-lun-0 +  alias F3        pci-0000:01:00.0-sas-phy0-lun-0 
-alias F4        pci-0000:01:00.0-sas-phy7-lun-0 +  alias F4        pci-0000:01:00.0-sas-phy7-lun-0 
-alias F5        pci-0000:01:00.0-sas-phy6-lun-0 +  alias F5        pci-0000:01:00.0-sas-phy6-lun-0 
-alias F6        pci-0000:01:00.0-sas-phy5-lun-0 +  alias F6        pci-0000:01:00.0-sas-phy5-lun-0 
-alias F7        pci-0000:01:00.0-sas-phy4-lun-0+  alias F7        pci-0000:01:00.0-sas-phy4-lun-0 
 + 
 +  alias F8        pci-0000:02:00.0-sas-phy3-lun-0 
 +  alias F9        pci-0000:02:00.0-sas-phy2-lun-0 
 +  alias F10       pci-0000:02:00.0-sas-phy1-lun-0 
 +  alias F11       pci-0000:02:00.0-sas-phy0-lun-0 
 +  alias F12       pci-0000:02:00.0-sas-phy7-lun-0 
 +  alias F13       pci-0000:02:00.0-sas-phy6-lun-0 
 +  alias F14       pci-0000:02:00.0-sas-phy5-lun-0 
 +  alias F15       pci-0000:02:00.0-sas-phy4-lun-0
  
-alias F8        pci-0000:02:00.0-sas-phy3-lun-0 +One of our config files note that the file name should be vdev_id.conf not .txt [[http://www.jive.nl/jivewiki/lib/exe/fetch.php?media=vdev_id.txt]]
-alias F9        pci-0000:02:00.0-sas-phy2-lun-0 +
-alias F10       pci-0000:02:00.0-sas-phy1-lun-0 +
-alias F11       pci-0000:02:00.0-sas-phy0-lun-0 +
-alias F12       pci-0000:02:00.0-sas-phy7-lun-0 +
-alias F13       pci-0000:02:00.0-sas-phy6-lun-0 +
-alias F14       pci-0000:02:00.0-sas-phy5-lun-0 +
-alias F15       pci-0000:02:00.0-sas-phy4-lun-0+
  
  
 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   to update the vdev entries.+  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