$ lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
Linux zfs-test 4.10.0-20-generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
2) Installed -proposed package
$ dpkg -s sosreport
Package: sosreport
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1320
Maintainer: Louis Bouchard <email address hidden>
Architecture: amd64
Version: 3.4-1~ubuntu17.04.1
Depends: python3-six, python3:any (>= 3.3.2-2~)
Conffiles:
/etc/sos.conf ee501054a13f29cb3109a4e92da34723
Description: Set of tools to gather troubleshooting data from a system
Sos is a set of tools that gathers information about system
hardware and configuration. The information can then be used for
diagnostic purposes and debugging. Sos is commonly used to help
support technicians and developers.
Homepage: https://github.com/sosreport/sos
3) Used the LXD ZFS pool to test
$ lxc storage list
+---------+--------+--------------------------------+---------+
| NAME | DRIVER | SOURCE | USED BY |
+---------+--------+--------------------------------+---------+
| default | zfs | /var/lib/lxd/disks/default.img | 1 |
+---------+--------+--------------------------------+---------+
4) Various tests
# Check the zfs plugin is enabled
$ sudo sosreport -l | sed -n '/enabled/,/disabled/p' | grep zfs
zfs ZFS filesystem
Verification for the Zesty package:
1) Launched a new Zesty VM w/ latest daily image as of this writing
$ nova image-show ubuntu- daily/ubuntu- zesty-daily- amd64-server- 20170426- disk1.img | grep simplestreams metadata | {"aliases": "17.04,z,zesty", "arch": "amd64", "ftype": "disk1.img", "label": "daily", "md5": "d321b875d44a2a 8163f9abd5f4315 54f", "os": "ubuntu", "pubname": "ubuntu- zesty-daily- amd64-server- 20170426" , "release": "zesty", "release_codename": "Zesty Zapus", "release_title": "17.04", "sha256": "1eb370132bfea8 b929a7970ac9422 8c606f427046d21 0b22f05d9ed62e7 fcafb", "size": "345112576", "support_eol": "2018-01-25", "supported": "True", "version": "17.04"} |
| metadata simplestreams_
$ lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.04
Release: 17.04
Codename: zesty
Linux zfs-test 4.10.0-20-generic #22-Ubuntu SMP Thu Apr 20 09:22:42 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
2) Installed -proposed package
$ dpkg -s sosreport b3109a4e92da347 23 /github. com/sosreport/ sos
Package: sosreport
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 1320
Maintainer: Louis Bouchard <email address hidden>
Architecture: amd64
Version: 3.4-1~ubuntu17.04.1
Depends: python3-six, python3:any (>= 3.3.2-2~)
Conffiles:
/etc/sos.conf ee501054a13f29c
Description: Set of tools to gather troubleshooting data from a system
Sos is a set of tools that gathers information about system
hardware and configuration. The information can then be used for
diagnostic purposes and debugging. Sos is commonly used to help
support technicians and developers.
Homepage: https:/
3) Used the LXD ZFS pool to test
$ lxc storage list ---+--- -----+- ------- ------- ------- ------- ---+--- ------+ ---+--- -----+- ------- ------- ------- ------- ---+--- ------+ lxd/disks/ default. img | 1 | ---+--- -----+- ------- ------- ------- ------- ---+--- ------+
+------
| NAME | DRIVER | SOURCE | USED BY |
+------
| default | zfs | /var/lib/
+------
4) Various tests
# Check the zfs plugin is enabled ,/disabled/ p' | grep zfs
$ sudo sosreport -l | sed -n '/enabled/
zfs ZFS filesystem
$ sudo sosreport -a verification. LP1666239- 20170427071551/ sos_commands/ zfs/ -t_all_ -o_space
[...]
$ ls -la sosreport-
total 44
drwx------ 2 ubuntu ubuntu 4096 Apr 27 07:16 .
drwx------ 41 ubuntu ubuntu 4096 Apr 27 07:16 ..
-rw-r--r-- 1 ubuntu ubuntu 21815 Apr 27 07:16 zfs_get_all
-rw-r--r-- 1 ubuntu ubuntu 462 Apr 27 07:16 zfs_list_
-rw-r--r-- 1 ubuntu ubuntu 148 Apr 27 07:16 zpool_list
-rw-r--r-- 1 ubuntu ubuntu 22 Apr 27 07:16 zpool_status_-x
$ diff -u zfs_get_all <(sudo zfs get all) && echo $?
0
$ diff -u zfs_list_ -t_all_ -o_space <(sudo zfs list -t all -o space) && echo $?
0
$ diff -u zpool_list <(sudo zpool list) && echo $?
0
$ diff -u zpool_status_-x <(sudo zpool status -x) && echo $?
0
(had a quick, visual sanity check at file contents as well)
LGTM :-)