From: Rickard Olsson <richie@webhackande.se>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] pvscan showing 0 free on all PV's.
Date: Thu Sep 18 00:29:01 2003 [thread overview]
Message-ID: <3F694264.2080704@webhackande.se> (raw)
In-Reply-To: <20030916143432.H27659@copilotconsulting.com>
Tracy R Reed wrote:
> Inherently dangerous? Nonsense. It should not be inherently dangerous if
> the resize tool and LVM do their jobs properly. Resizing should be a
> perfectly safe operation when done properly.
While I agree with you on principle, there is an additional element of
risk inherent in shrinking a filesystem - moving existing data off the
shrinking part. Interruptions during this phase may severely damage your
filesystem's structural integrity (and we can't just route more power to
the structural integrity field yet).
Very early this morning, I even thought of a good, real-life example:
Imagine that the eastern seaboard of the continental US is your LV. Now,
along comes hurricane Isabel, hell bent on reducing your VG with a PV or
two. What do you do? You evacuate (lvreduce, pvmove and resize) the data
to safer ground. During this evacuation, panic and chaos lurks
underneath the surface at all times. Bits and bytes flee the still
unseen enemy. You get traffic jams and the buses are filled with ones
and zeroes. It's almost inevitable that an operation of this magnitude
may leave behind some dead and wounded, but the alternative is worse and
that's why we do it.
OK, it all sounded a lot better before I got my first cup of coffee, but
still. :-)
A transaction-based pvmove and ditto resize_reiserfs (I don't know if it
already is or if it turns journalling off during a resize) would solve
this problem, but pvmove is already slow as it is... A pvmove with hooks
into Reiser4 so it could use R4s fast transactions might however be
ideal in this particular case. That almost brings me to my wish-list for
LVM/EVMS/md/R4, but that's a different story.
/ Rickard Olsson,IT-Konsult/
/ Telefon: +46 70 635 01 42/
/ http://www.webhackande.se/
next prev parent reply other threads:[~2003-09-18 0:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-16 13:19 [linux-lvm] pvscan showing 0 free on all PV's Rene Olsen
2003-09-16 13:57 ` Tupshin Harper
2003-09-17 1:54 ` Rickard Olsson
2003-09-17 2:02 ` Tupshin Harper
2003-09-17 7:07 ` Tracy R Reed
2003-09-18 0:29 ` Rickard Olsson [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-09-17 7:07 Rene Olsen
2003-09-17 13:57 ` Tupshin Harper
2003-09-19 5:46 ` 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=3F694264.2080704@webhackande.se \
--to=richie@webhackande.se \
--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.