meta data for this page
  •  

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
linux:fs:zfs:move_to_zfs [2021/02/14 18:44]
niziak
linux:fs:zfs:move_to_zfs [2021/05/14 16:06] (current)
niziak
Line 28: Line 28:
 <code bash> <code bash>
 zpool create \ zpool create \
-    -o ashift=12 -d \+    -o ashift=13 -d \
     -o feature@async_destroy=enabled \     -o feature@async_destroy=enabled \
     -o feature@bookmarks=enabled \     -o feature@bookmarks=enabled \
     -o feature@embedded_data=enabled \     -o feature@embedded_data=enabled \
-    -o feature@empty_bpobj=enabled \+    -o feature@empty_bpobj=enabled \rapidly and thoroughly than you'd think.
     -o feature@enabled_txg=enabled \     -o feature@enabled_txg=enabled \
     -o feature@extensible_dataset=enabled \     -o feature@extensible_dataset=enabled \
Line 51: Line 51:
 <code bash> <code bash>
 zpool create \ zpool create \
-    -o ashift=12 \+    -o ashift=13 \
     -O acltype=posixacl -O canmount=off -O compression=lz4 \     -O acltype=posixacl -O canmount=off -O compression=lz4 \
     -O dnodesize=auto -O normalization=formD -O relatime=on \     -O dnodesize=auto -O normalization=formD -O relatime=on \
Line 103: Line 103:
 </​code>​ </​code>​
  
-=== Move filesystem ===+==== Move filesystem ​====
  
 <code bash> <code bash>
Line 163: Line 163:
 </​code>​ </​code>​
  
-===== fstab =====+==== fstab ====
  
 Remove all old fstab entries related to prebvious setup! Remove all old fstab entries related to prebvious setup!
Line 174: Line 174:
  
 <code bash>​update-initramfs -c -k </​code>​ <code bash>​update-initramfs -c -k </​code>​
 +
 +==== Update GRUB ====
  
 === EFI boot === === EFI boot ===
Line 315: Line 317:
 zpool add rpool log c2980761-ed99-4af3-8519-f03ed43fbefe zpool add rpool log c2980761-ed99-4af3-8519-f03ed43fbefe
 </​code>​ </​code>​
- 
-For deduplication,​ it is recommended to have L2ARC cache size of 2-5GB per 1TB of disk. 
  
 <code bash> <code bash>
 zpool add rpool cache 3b42df2e-2923-464c-92d6-8d629252727d zpool add rpool cache 3b42df2e-2923-464c-92d6-8d629252727d
 </​code>​ </​code>​
- 
- 
  
 ===== issue: No pool imported ===== ===== issue: No pool imported =====