|
From: Phil S. <ph...@ca...> - 2025-09-16 17:14:55
|
On 9/16/25 12:39, Gary Dale wrote: > Internet searches have been futile. The ones that actually mention > bconsole suggest what I've been trying to do should work, but it doesn't. > > Through my initial setup struggles, my storage volumes have become a > disjointed mess. To make matters worse, there are close to a hundred > volumes showing "Error" when I "List Volumes". I have only about 20 that > show up as physical disk volumes. And automatic volume creation seems to > be failing. All my backups for the last 5 days have failed. ... > Being able to put bconsole commands into a bash script seems like > something that will be generally useful but I can't find a way to make > it work. > > Any ideas? Willing to try a Perl script instead? Try this one. It does exactly what you're trying to do, including detecting errored volumes. You'll need DBD::mysql or DBD::mariadb if you con't have them already installed and you're using a mysql/mariadb back end. If you use PostgreSQL you'll have to make some changes. Try it with -t first as a dry-run to make sure it's going to do what you want it to. -- Phil Stracchino Fenian House Publishing ph...@ca... ph...@co... Landline: +1.603.293.8485 Mobile: +1.603.998.6958 |