ZFSp 介绍
ZFS是一个拥有逻辑卷管理功能的文件系统,最早源自于太阳微系统为Solaris操作系统开发的文件系统。ZFS是一个具有高存储容量、文件系统与卷管理概念集成、崭新的磁盘逻辑结构的轻量级文件系统,同时也是一个便捷的存储池管理系统。ZFS是一个使用通用开发与散布许可证授权的开源项目,这个商标名称现由甲骨文公司拥有。
要求 Python 3.5+ ,目前还不支持 3.6.
pipenv install -e .
使用方法:
$ zexplore label -p tests/fixtures/feature_large_blocks {b'errata': 0, b'features_for_read': {}, b'guid': 6168868809305637343, b'hostid': 8323329, b'hostname': b'ubuntu-zesty', b'name': b'feature_large_blocks', b'pool_guid': 16637796155898928459, b'state': 1, b'top_guid': 6168868809305637343, b'txg': 16, b'vdev_children': 1, b'vdev_tree': {b'ashift': 9, b'asize': 62390272, b'create_txg': 4, b'guid': 6168868809305637343, b'id': 0, b'is_log': 0, b'Metaslab_array': 33, b'Metaslab_shift': 24, b'path': b'/vagrant/fixtures/feature_large_blocks', b'type': b'file'}, b'version': 5000} $ zexplore objset -p tests/fixtures/nested_datasets -P 1 {'config': 27, 'creation_version': 5000, 'deflate': 1, 'feature_descriptions': 30, 'features_for_read': 28, 'features_for_write': 29, 'free_bpobj': 11, 'history': 32, 'root_dataset': 2, 'sync_bplist': 31} $ zexplore ls -p tests/fixtures/nested_datasets /n1/n2/n3 x y $ zexplore cat -p tests/fixtures/nested_datasets /gzip-9/gzip-9 | head -n 5 A a aa aal aalii
ZFSp 官网
https://github.com/alcarithemad/zfsp
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。