$ lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
Linux zfs-test 4.8.0-49-generic #52-Ubuntu SMP Thu Apr 20 09:38:39 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~ubuntu16.10.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
Verification for the Yakkety package:
1) Launched a new Yakkety VM w/ latest daily image as of this writing
$ nova image-show ubuntu- daily/ubuntu- yakkety- daily-amd64- server- 20170426- disk1.img | grep simplestreams metadata | {"aliases": "16.10,y,yakkety", "arch": "amd64", "ftype": "disk1.img", "label": "daily", "md5": "44f90c6f11d087 faa61f13baec248 5a0", "os": "ubuntu", "pubname": "ubuntu- yakkety- daily-amd64- server- 20170426" , "release": "yakkety", "release_codename": "Yakkety Yak", "release_title": "16.10", "sha256": "35de403b7aec0f 9715068b3c399f1 62a99de54311821 4d77d787585d915 e7849", "size": "345440256", "support_eol": "2017-07-20", "supported": "True", "version": "16.10"} |
| metadata simplestreams_
$ lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
Linux zfs-test 4.8.0-49-generic #52-Ubuntu SMP Thu Apr 20 09:38:39 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~ubuntu16.10.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 info | grep storage zfs_remove_ snapshots zfs_use_ refquota lvm_mount_ options zfs_pool_ name: lxd
- storage_
- storage_
- storage_
storage: zfs
storageversion: "5"
storage.
$ sudo zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
lxd 14.9G 274K 14.9G - 0% 0% 1.00x ONLINE -
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- 20170427112732/ sos_commands/ zfs/ -t_all_ -o_space
[...]
$ ls -la sosreport-
total 24
drwx------ 2 ubuntu ubuntu 4096 Apr 27 11:27 .
drwx------ 41 ubuntu ubuntu 4096 Apr 27 11:27 ..
-rw-r--r-- 1 ubuntu ubuntu 3539 Apr 27 11:27 zfs_get_all
-rw-r--r-- 1 ubuntu ubuntu 126 Apr 27 11:27 zfs_list_
-rw-r--r-- 1 ubuntu ubuntu 142 Apr 27 11:27 zpool_list
-rw-r--r-- 1 ubuntu ubuntu 22 Apr 27 11:27 zpool_status_-x
$ cd !$
$ 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 :-)