When periodic daily script 800.scrub-zfs is run it fails on pools with a dash (-) in the pool name. Scrubbing of zfs pools: [: hby_threshold: bad number starting scrub of pool 'filsrv-hby': consult 'zpool status filsrv-hby' for the result How-To-Repeat: Run 800.scrub-zfs on a machine with a zpool containing a dash in the pool name.
It appears that the patch that is attached here is somewhat borked, please follow the link to the patch instead. -- Regards, (jhell) Jason Hellenthal
Hi Jason, I have applied the patch on three systems that has zpools with hyphens = in their pool names. There is no error message when executing it manually, and since the = pools were scrubbed recently it does not scrub them (I have the = threshold set to 7 days), which is the correct behavior, so it looks = good so far. Scrubbing of zfs pools: skipping scrubbing of pool 'filsrv-hby': last scrubbing is 0 days ago, threshold is set to 7 days Thanks for you help! Regars, Jakob Alvermark Jakob Alvermark jakob.alvermark@bsdlabs.com BSDLabs AB Solna, Sweden 556759-7652
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped