ZPOOL-SYNC(8)

πŸ’– zpool-sync(8) πŸ’–

okay bestie, this one is from the System Manager's Manual and it's literally about making ur ZFS pools flush their dirty little secrets to primary storage. no cap. πŸ¦‹


✨ NAME ✨

zpool-sync β€” flush data to primary storage of ZFS storage pools πŸ’…


🌸 SYNOPSIS 🌸

zpool sync [pool]…

πŸŽ€ DESCRIPTION πŸŽ€

okay so this command forces all in-core dirty data to be written to the primary pool storage and not the ZIL. yes, u heard that right β€” primary storage, not the ZIL. periodt. πŸ’–

it will also update administrative information including quota reporting. the way that it keeps ur admin stuff in check? obsessed. ✨

  • without arguments β€” zpool sync will sync all pools on the system. every single one. no pool left behind. πŸ‘‘
  • with arguments β€” otherwise, it will sync only the specified pools. so if u pass [pool]…, that's the only vibe it's syncing. 🫢
ngl, this is ur "flush it rn" button for ZFS. use it when u need that data on primary storage asap. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯


and that's the whole page, bestie! brought to u by OpenZFS on July 11, 2022, and it's zpool-sync(8) β€” iconic, no cap. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from