If you're talking about a VG that has free space and a script smart enough
to add the free space and do the resize, etc -- then it sounds nifty and not
too hard.

If you're talking about getting VM to give you another minidisk, which you
then add to the VG and then add space to the LV -- that's a magnitude more
complicated (but certainly doable with things like REXECD on VM, vmcp to
link the disks, etc).

But still - that would be nifty too :-)  Interesting idea...

Scott Rohling

On Fri, Aug 15, 2008 at 10:04 AM, Mark Post <[EMAIL PROTECTED]> wrote:

> >>> On 8/15/2008 at 12:58 AM, in message <[EMAIL PROTECTED]>,
> Mark
> Perry <[EMAIL PROTECTED]> wrote:
> -snip-
> > Is there a way to trigger a script when a filesystem (FS) hits a certain
> > percentage full? (90%?)
>
> Of course.  I have such a thing set up on my Slack/390 development systems
> so that I know when to temporarily suspend rsynching from my "upstream"
> source at slackware.com.
>
> > If so, then one could develop a method to automatically issue the
> > required lvresize and ext2online commands to keep the FS within a
> > certain percentage range (70-90%?). Of course rules could be developed
> > to make this more sophisticated:
> > which FS are controlled, what % range per FS, limits of VG % free etc.
>
> You're certainly willing to do that to yourself.  I would not want to do
> it, nor make that available to others.  That sort of thing is very, very,
> complicated, and I would want a human looking at that and making decisions,
> not software.
>
>
> Mark Post
>
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
> visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
>

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to