From: Andy Smith <andy@strugglers.net>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] lvreduce nightmare
Date: Sat, 19 May 2012 23:14:05 +0000 [thread overview]
Message-ID: <20120519231404.GF3867@bitfolk.com> (raw)
In-Reply-To: <CAGQjrKYrgcx+y8M6NnLGZK5Z+hNpH3Fp4E2EysnKGZuObaFuBA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
Hi tariq,
On Fri, May 18, 2012 at 07:43:40PM +0530, tariq wali wrote:
> so to i guess to do this right i should have
>
> resize2fs /dev/vg0/data 1.6T or (1600G)
>
> and then lvreduce -n data -L 100G /dev/vg0/data ( to reduce the lvm by 100
> )
I believe that will also reduce the LV *to* 100G. You want:
# lvreduce -n data -L-100G
if you want to reduce it *by* 100G.
Nothing like FS/LV shrinking to keep you on your toes..
Cheers,
Andy
--
http://bitfolk.com/ -- No-nonsense VPS hosting
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2012-05-19 23:14 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 [this message]
2012-05-20 8:59 ` tariq wali
2012-05-20 19:45 ` Andy Smith
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=20120519231404.GF3867@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 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.