LVM Auto-Grow

xeniphon at gmail.com xeniphon at gmail.com
Fri Mar 8 08:48:24 CST 2024


LVM.conf has a number of autoextend options documented - at least on my
Fedora box.  Weirdly I don't see any references to this in the lvm man
page, but only in the lvm.conf file itself.

Did you tie your script to inotify or udev rules or auditd events or
anything like that?



On Thu, 2024-03-07 at 09:13 -0600, Billy Croan wrote:
> I had a filesystem fill up and kill a job that I rather didn't want
> killed last night.  I couldn't find a program to automatically grow
> lvm-hosted filesystems if I don't notice they're filling up and do
> something about it.
> 
> So I wrote a terrifyingly abhorrent bash script this morning to do
> it.  Next meeting I'm at, remind me and I'll show it off in all its
> terror, and maybe someone can convince me there's a better way, or
> point directly to the program I should have found before writing my
> own.
> 
> And maybe, just extending this offer, will push me to finish cleaning
> up the edge cases in my script and properly finish it to avoid the
> embarrassment of being human in front of other humans.
> _______________________________________________
> KCLUG mailing list
> KCLUG at kclug.org
> http://kclug.org/mailman/listinfo/kclug



More information about the KCLUG mailing list