All of lore.kernel.org
 help / color / mirror / Atom feed
From: Petro <petro@auctionwatch.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] Automatically GROW an LV to max size
Date: Wed Jan 23 20:26:01 2002	[thread overview]
Message-ID: <20020124022536.GE13465@auctionwatch.com> (raw)
In-Reply-To: <20020123172346.L8275@ultraviolet.org>

On Wed, Jan 23, 2002 at 05:23:46PM -0800, Tracy R Reed wrote:
> I'm the system administrator for MP3.com. I talked to some Sistina
> developers who visited the office a year or so ago but don't recall
> their
> names now, sorry. One if the things I asked for in LVM (and would still
> like to see) is a switch to create an LV that is as big as the remaining
> disk space available. 
> We have a redhat based kickstart install that sets up a basic / and then
> creates an LV out of the rest of the disk. Currently we have hard coded
> the size of the remaining disk but it would be really slick if we could
> just pass an option to lvcreate which would just create an lv with the
> most space possible. 
> Right now if we ever install on anything other than one of our standard
> 36G disks we have to delete the lv that was made and resize it or if the
> disk is smaller than 36G the hard coded lvcreate size will fail due to
> lack of space. 
> There's got to be a cleaner way to do it.

    It's been almost a year since I was inside kickstart, but you should
    be able to customize the script to read the remaining disk space,
    then call lvcreate with a variable.

-- 
Share and Enjoy. 

  parent reply	other threads:[~2002-01-23 20:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-23 19:24 [linux-lvm] Automatically GROW an LV to max size Tracy R Reed
2002-01-23 19:31 ` Steve Wray
2002-01-23 20:15 ` Markus Dobel
2002-02-04 12:46   ` [linux-lvm] I/O Error removing a file John Moser
2002-02-05  3:59     ` Heinz J . Mauelshagen
2002-02-05 10:38       ` John Moser
2002-02-20 15:37         ` [linux-lvm] Partition resizing and whatnot John Moser
2002-02-20 17:31           ` Andreas Dilger
2002-02-21  2:57           ` William Blunn
2002-01-23 20:26 ` Petro [this message]
2002-01-24  6:36 ` [linux-lvm] Automatically GROW an LV to max size Heinz J . Mauelshagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020124022536.GE13465@auctionwatch.com \
    --to=petro@auctionwatch.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.