All of lore.kernel.org
 help / color / mirror / Atom feed
From: Georges Giralt <georges.giralt@free.fr>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] Resising underlying array
Date: Wed, 03 Jul 2013 21:37:52 +0200	[thread overview]
Message-ID: <51D47D90.4010104@free.fr> (raw)
In-Reply-To: <1372877653.37850.YahooMailNeo@web181502.mail.ne1.yahoo.com>


Le 03/07/2013 20:54, matthew patton a �crit :
>
>> 200 MB for /boot was sensible years ago but now is a joke.
> since when? All you need is 2 kernels. Have Linux 3.x kernels gotten out of hand? I only use RHEL/Centos5 and 6 and I've never even come close to running out.
>
>> reduce the PV size without harm. But I'm unable to decide on a workflow and
>> loosing data or downtime are not acceptable options...
> then don't bother.
>
>> So I'm begging your help on a suitable workflow to make this happen.
>
> A. tell the customer "too bad" buy newer/bigger hard drives already and build new layout on new disks and DD/RSYNC data to new layout
>
> Or if you like to play with fire:
> * reduce filesystem size
> * lvresize down to match
> * resize MD member device (eg. http://webapp5.rrz.uni-hamburg.de/SuSe-Dokumentation/manual/sles-manuals_en/manual/raidresize.html)
> * create partition out of newly available slack space (use kpartx and you should avoid a reboot)
> * pvcreate on new partition, add to VG and grow LV into new space
> * resize filesystem
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
Hello Matthew,
Actually my volume group has a big lot of free PE. (the 320 Gb disk are 
only used for the OS and a couple of administrative accounts for the 
server, so even the /home is small.... )
So I think I could avoid the resizing of the file systems.... All data 
is stored elsewhere.
This is why I thought I could do it online without too much risk. Of 
course I will not do this on Friday ;-)

-- 
If the only tool you have is a hammer, you tend to see every problem as a nail.
                 Abraham Maslow
A British variant :
Any tool can serve as a hammer but a screwdriver makes the best chisel.

  parent reply	other threads:[~2013-07-03 19:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 14:29 [linux-lvm] Resising underlying array georges.giralt
2013-07-03 18:54 ` matthew patton
2013-07-03 19:01   ` matthew patton
2013-07-03 19:37   ` Georges Giralt [this message]
2013-07-04  8:54   ` Bryn M. Reeves
2013-07-04 17:21     ` Georges Giralt

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=51D47D90.4010104@free.fr \
    --to=georges.giralt@free.fr \
    --cc=linux-lvm@redhat.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.