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.

Files for zpoolparty, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size zpoolparty-0.1.2.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page