Thanks to visit codestin.com
Credit goes to github.com

Skip to content

42LoCo42/zfullfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zfullfs

Tiny FUSE filesystem that reports the total size & allocation of a ZFS pool. Useful for providing data to disk status widgets that don’t understand ZFS.

Usage: zfullfs <pool> <mountpoint>

$ zfullfs rpool /full
# runs in foreground, switch to different terminal...

$ df -h /full
Filesystem  Size   Used  Avail Use% Mounted on
zfullfs     928G   106G   823G  12% /full
# df always rounds up, therefore size is slightly too big

$ zpool list -o name,size,alloc,free rpool
NAME        SIZE  ALLOC   FREE
rpool       928G   105G   823G

About

Tiny FUSE filesystem that reports the total size & allocation of a ZFS pool

Topics

Resources

License

Stars

Watchers

Forks