File tree Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Expand file tree Collapse file tree 1 file changed +25
-1
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,23 @@ List pool
51
51
zpool list -v pond # change based on your pool name
52
52
```
53
53
54
+ ## Setting Small Blocks & Record Size
55
+
56
+ To change your small blocks value you can do so like this, however it's a good idea to check your record size first
57
+
58
+ ``` console
59
+ zfs get recordsize test-1
60
+ ```
61
+
62
+ You should see something like:
63
+
64
+ ``` console
65
+ NAME PROPERTY VALUE SOURCE
66
+ test-1 recordsize 128K default
67
+ ```
68
+
69
+ You always want to be sure that your record size > small blocks size, otherwise all blocks will be written
70
+
54
71
Get value
55
72
56
73
``` shell
@@ -60,7 +77,14 @@ zfs get special_small_blocks pond -r # change based on your pool name
60
77
Set value
61
78
62
79
``` shell
63
- zfs set special_small_blocks=128k pond # change based on your pool name and the small block value you want to use
80
+ zfs set special_small_blocks=64k pond # change based on your pool name and the small block value you want to use
81
+ ```
82
+
83
+ If you want to use something higher than 128K you would do something like this
84
+
85
+ ``` console
86
+ zfs set recordsize=256K yourpool/yourdataset
87
+ zfs set special_small_blocks=128K yourpool/yourdataset
64
88
```
65
89
66
90
## My Test results
You can’t perform that action at this time.
0 commit comments