Skip to main content

Execute ZFS dataset commands transparently across pools/hosts

Project description

zpoolparty: Execute ZFS dataset commands transparently across pools/hosts

The command syntax is the same as the standard “zfs” command, except that instead of specifying datasets in pool/filesystem[@snapshot] form, you can prepend host:. For example,

$ zpoolparty snapshot bos:mypool/work@today

is translated into

$ ssh bos zfs snapshot mypool/work@today

A single command can reference filesystems on multiple hosts. For example,

$ zpoolparty get mountpoint mypool/foo bos:mypool/work lax:mypool/play

is, in turn, translated into three commands, run sequentially:

$ zfs get mountpoint mypool/foo $ ssh bos zfs get mountpoint mypool/work $ ssh lax zfs get mountpoint mypool/play

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
zpoolparty-0.1.2.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page