FreeBSD Bugzilla – Attachment 239372 Details for
Bug 268851
periodic: daily/404.status-zfs: allow verbose pool listing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Allow verbose ZFS pool listing
allow-verbose-zfs-pool-listing.diff (text/plain), 1.10 KB, created by
Trond Endrestøl
on 2023-01-10 07:50:06 UTC
(
hide
)
Description:
Allow verbose ZFS pool listing
Filename:
MIME Type:
Creator:
Trond Endrestøl
Created:
2023-01-10 07:50:06 UTC
Size:
1.10 KB
patch
obsolete
>diff --git a/usr.sbin/periodic/etc/daily/404.status-zfs b/usr.sbin/periodic/etc/daily/404.status-zfs >index df23bae7a37e..eabd7a3fc6e6 100755 >--- a/usr.sbin/periodic/etc/daily/404.status-zfs >+++ b/usr.sbin/periodic/etc/daily/404.status-zfs >@@ -18,7 +18,14 @@ case "$daily_status_zfs_enable" in > > case "$daily_status_zfs_zpool_list_enable" in > [Yy][Ee][Ss]) >- lout=`zpool list` >+ case "$daily_status_zfs_zpool_list_verbose" in >+ [Yy][Ee][Ss]) >+ _zpool_list_verbose=-v >+ ;; >+ *) >+ ;; >+ esac >+ lout=`zpool list ${_zpool_list_verbose}` > echo "$lout" > echo > ;; >diff --git a/usr.sbin/periodic/periodic.conf b/usr.sbin/periodic/periodic.conf >index 4429c8d48eea..2e8f7d23d59e 100644 >--- a/usr.sbin/periodic/periodic.conf >+++ b/usr.sbin/periodic/periodic.conf >@@ -122,6 +122,7 @@ daily_status_graid_enable="NO" # Check graid(8) > # 404.status-zfs > daily_status_zfs_enable="NO" # Check ZFS > daily_status_zfs_zpool_list_enable="YES" # List ZFS pools >+daily_status_zfs_zpool_list_verbose="NO" # List ZFS pools verbose > > # 406.status-gmirror > daily_status_gmirror_enable="NO" # Check gmirror(8)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268851
: 239372