ZFS Utils for OS X
Introduction
A simple script to create and manage virtual ZFS images on OS X without requiring repartitioning
Install
To install simply run pip install zfs-utils-osx.
Example usage
To create a pool (does a dry-run with the -n flag):
zfs.py zpool -n <pool_name>
Usage:
usage: zfs.py [-h] {zpool} ...
optional arguments:
-h, --help show this help message and exit
Subcommands:
Please specify one of the following subcommands
{zpool,load}
zpool zpool creation
load load (import) the zpools
Zpool create usage:
usage: zfs.py zpool [-h] [-c COUNT] [-s SIZE]
[-t {raidz1,raidz2,raidz3,mirror,raidz}] [-n]
[-m MOUNTPOINT] [-o] [-p PATTERN]
pool_name
positional arguments:
pool_name The name of the pool to create
optional arguments:
-h, --help show this help message and exit
-c COUNT, --count COUNT
The amount of images to use (default: 3)
-s SIZE, --size SIZE The usable size of the zpool in GiB (default: 10GiB)
-t {raidz1,raidz2,raidz3,mirror,raidz}, --type {raidz1,raidz2,raidz3,mirror,raidz}
The zpool type to use (default: raidz)
-n, --no-op, --dry-run
Show what will be done but dont execute
-m MOUNTPOINT, --mountpoint MOUNTPOINT
Where should the disk be mounted (default:
~/%(pool_name)s
-o, --overwrite Overwrite old images if they exist
-p PATTERN, --pattern PATTERN
File name pattern to store the images (default:
%(pool_name)s_%(i)02d)
Zpool import usage:
usage: zfs.py load [-h] [-d IMAGE_DIRECTORY] [-p PREFIX] [--postfix POSTFIX]
[-n]
pool_names [pool_names ...]
positional arguments:
pool_names The name of the pool to import
optional arguments:
-h, --help show this help message and exit
-d IMAGE_DIRECTORY, --image-directory IMAGE_DIRECTORY
File name pattern to store the images (default:
~/zfs/)
-p PREFIX, --prefix PREFIX
File name prefix for the images (default:
%(pool_name)s_)
--postfix POSTFIX File name postfix for the images (default: )
-n, --no-op, --dry-run
Show what will be done but dont execute
Metadata
Release files for zfs-utils-osx 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| zfs-utils-osx-1.1.0.tar.gz | 4.7 kB | Without provenance | Details for zfs-utils-osx-1.1.0.tar.gz |
Release files / zfs-utils-osx-1.1.0.tar.gz
| Download URL | zfs-utils-osx-1.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eddf1fa89a36478804bdbc563d31b15a7c7d8f00652156dc5c38aa0b5815cce0
|
|
BLAKE2b-256 checksum How to use checksums |
f30204f3f94d1bcd766765d3c718d8ea062d17b3eb6516b0b871db6b61b38c5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for zfs-utils-osx 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.