User Tools

Site Tools


computing:zfsreminders

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
Next revisionBoth sides next revision
computing:zfsreminders [2022/08/05 23:25] oemb1905computing:zfsreminders [2022/08/29 13:13] oemb1905
Line 1: Line 1:
 +-------------------------------------------
 +  * **zfsreminders** 
 +  * **Jonathan Haack**
 +  * **Haack's Networking**
 +  * **webmaster@haacksnetworking.org**
 +
 +-------------------------------------------
 +
 +//zfsreminders//      
 +
 +-------------------------------------------
 +
 Create a pool on a single drive and specify a mountpoint for it. Note: use id, not uuid. Create a pool on a single drive and specify a mountpoint for it. Note: use id, not uuid.
  
Line 44: Line 56:
   zfs list -H -o name -t snapshot | xargs -n1 zfs destroy   zfs list -H -o name -t snapshot | xargs -n1 zfs destroy
      
-To add a zfs cache hard drive to your pool, do the following:+To add a zfs cache or slog hard drive to your pool, do the following:
  
   zpool add pool cache /dev/disk/by-id/3434...   zpool add pool cache /dev/disk/by-id/3434...
 +  zpool add pool log /dev/disk/by-id/3434...
  
 To view current snapshots, do the following: To view current snapshots, do the following:
Line 62: Line 75:
   sudo zpool replace pool 3347762980558930904 /dev/disk/by-id/ata-WDC_WD...   sudo zpool replace pool 3347762980558930904 /dev/disk/by-id/ata-WDC_WD...
  
-The ....+To check the health, statistics, and basic specs of your pool: 
 + 
 +  zpool status -v 
 +  zpool iostat -v 
 +  zpool list 
 +   
 +Also, to see whether cache volume is necessary, run and look at cache hit/miss ratio: 
 + 
 +  arc_summary 
 + 
 +Change location of the keys for your encrypted datasets: 
 + 
 +  sudo zfs set keylocation=file:///keys/my.key mypool/mydataset
  
- --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/08/05 14:35//+ --- //[[jonathan@haacksnetworking.org|oemb1905]] 2022/08/29 07:13//
computing/zfsreminders.txt · Last modified: 2024/05/11 16:48 by oemb1905