This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
projects:homelab:openzfs_notes [2024/10/06 07:05] – created Andrew Yong | projects:homelab:openzfs_notes [2024/11/08 18:32] (current) – [Building OpenZFS on Fedora] use `pwd` Andrew Yong | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== OpenZFS Notes ====== | ====== OpenZFS Notes ====== | ||
+ | |||
+ | ===== Building OpenZFS on Fedora ===== | ||
+ | |||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | - '' | ||
+ | |||
===== Adding Hardware 512e SSDs to 512e/4kn zpool ===== | ===== Adding Hardware 512e SSDs to 512e/4kn zpool ===== | ||
Line 17: | Line 30: | ||
* 4k/8k/16kb sector SSD with hardware 512e: LOG-SEC = 512, PHY-SEC = 512 | * 4k/8k/16kb sector SSD with hardware 512e: LOG-SEC = 512, PHY-SEC = 512 | ||
* 512b drive: LOG-SEC = 512, PHY-SEC = 512 | * 512b drive: LOG-SEC = 512, PHY-SEC = 512 | ||
- | - Verify [[https:// | + | - Verify [[https:// |
* 4096: ashift = 12 | * 4096: ashift = 12 | ||
* 512: ashift = 9 | * 512: ashift = 9 | ||
- Look at your SSD datasheet to confirm physical sector size ≥ 4096 (if you can't find this information, | - Look at your SSD datasheet to confirm physical sector size ≥ 4096 (if you can't find this information, | ||
- Specify the same ashift value as the existing pool when adding the SSD(s):\\ '' | - Specify the same ashift value as the existing pool when adding the SSD(s):\\ '' | ||
- | - Verify command succeeded: | + | - Verify command succeeded: |