From: "Heinz J . Mauelshagen" <mauelshagen@sistina.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] lvreduce
Date: Fri Jun 27 04:41:01 2003 [thread overview]
Message-ID: <20030627112559.A27001@sistina.com> (raw)
In-Reply-To: <20030626163644.GA25171@defiant.sonsofthunder.yi.org>; from storm@tux.org on Thu, Jun 26, 2003 at 12:36:44PM -0400
Bradley,
could it accidentially be, that your LV was 2GB large before ?
That'ld explain the resulting 1GB, because lvreduce shows the absolute
resulting size.
On Thu, Jun 26, 2003 at 12:36:44PM -0400, Bradley M Alexander wrote:
> I ran across this today, and wanted some clarification if I could. I am
> running kernel 2.4.21 and lvm 1.0.7.
>
> I needed to resize a partition, reducing it by 1GB. As I have done in the
> past, went into single user mode, umounted the partition did a
> resize_reiserfs -s-1GB /dev/vg00/var
>
> This went fine, then I tried to reduce the size of the lv, using
> lvreduce -L-1G /dev/vg00/var
>
> lvreduce -- WARNING: Reducing active logical volume to 1 GB
> lvreduce -- THIS MAY DESTROY YOUR DATA (filesystem etc.)
> lvreduce -- do you really want to reduce "/dev/vg00/var"? [y/n]:
>
> Isn't the -L-1G option for lvreduce supposed to reduce the lv _by_ the
> requested amount rather than _to_ that size?
Yes.
> If specify -L1G, that should
> be an absolute value rather than a relative value.
Correct.
>
> Am I missing something here?
No.
> Would this be better addressed to the Debian
> maintainer for the lvm tools?
Well, that's Patrick Caulfield and he's on my team reading this mail as well :)
>
> Thanks,
> --
> --Brad
> ============================================================================
> Bradley M. Alexander |
> gTLD SysAdmin, Security Engineer | storm [at] tux.org
> Debian/GNU Linux Developer | storm [at] debian.org
> ============================================================================
> Key fingerprints:
> DSA 0x54434E65: 37F6 BCA6 621D 920C E02E E3C8 73B2 C019 5443 4E65
> RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A C8 9C F0 93 75 A0 01 34
> ============================================================================
> If all you can see out of the window is ground that's going
> round and round and all you can hear is commotion coming from the
> passenger compartment, things are not at all as they should be.
> --Rules of the Air, #18
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen@Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2003-06-27 4:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-26 11:37 [linux-lvm] lvreduce Bradley M Alexander
2003-06-27 4:41 ` Heinz J . Mauelshagen [this message]
2003-06-27 6:28 ` Bradley Alexander
-- strict thread matches above, loose matches on Subject: below --
2007-10-22 4:41 Humble Chirammal
2007-10-22 6:14 ` Itamar Reis Peixoto
2007-10-23 0:36 ` Stuart D. Gathman
2007-10-23 1:08 ` Alasdair G Kergon
2001-09-18 9:09 G'abor Luk'acs
2001-09-18 10:20 ` 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=20030627112559.A27001@sistina.com \
--to=mauelshagen@sistina.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 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).