linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Andy Smith <andy@strugglers.net>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] lvreduce nightmare
Date: Sun, 20 May 2012 19:45:54 +0000	[thread overview]
Message-ID: <20120520194554.GH3867@bitfolk.com> (raw)
In-Reply-To: <CAGQjrKaWT_LnjxbEE57-Mxhn+n+KSvHEGUwC7wapQ7S9Dcb-aA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

Hi Tariq,

On Sun, May 20, 2012 at 02:29:56PM +0530, tariq wali wrote:
> I am not sure if reducing by lvreduce alone is safe and will actually
> reduce the underneath file system also,

It won't; I never said it would.

My point was that you said:

> and then lvreduce -n data -L 100G /dev/vg0/data ( to reduce the lvm by
> 100

but that WON'T do what you want. That will reduce the LV *to* 100G.

You need BOTH your resize2fs AND lvreduce commands to be correct.

Cheers,
Andy

-- 
http://bitfolk.com/ -- No-nonsense VPS hosting

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2012-05-20 19:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-16 15:48 [linux-lvm] lvreduce nightmare tariq wali
2012-05-17 23:13 ` Ray Morris
2012-05-18  0:21   ` Stuart D Gathman
2012-05-18  1:16   ` Andy Smith
2012-05-18 10:25   ` Bryn M. Reeves
2012-05-18 14:13     ` tariq wali
2012-05-19 15:58       ` Stuart D Gathman
2012-05-19 23:14       ` Andy Smith
2012-05-20  8:59         ` tariq wali
2012-05-20 19:45           ` Andy Smith [this message]
2012-05-21  9:02           ` Bryn M. Reeves
2012-05-20 21:39       ` Raptorfan
2012-05-18  9:57 ` Bryn M. Reeves

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=20120520194554.GH3867@bitfolk.com \
    --to=andy@strugglers.net \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).