All of lore.kernel.org
 help / color / mirror / Atom feed
From: Uli Heller <uli@daemons-point.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] LVM2: Problems with "lvextend" on device with mounted filesystem
Date: Tue Dec  2 02:10:01 2003	[thread overview]
Message-ID: <3FCC46F4.5050607@daemons-point.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

|
| You never told reiserfs that it's partition had increased.  AFAIK
| you can either remount it with the correct parameters or use some
| tool to alert it.
|
| -Wolfgang

Thank you for your reply!
I think you're pretty near to the point but you didn't
get it. Perhaps my explanation was to sparse.

At first, I tried to do the usual steps:
- - lvextend ...
- - resize_reiserfs ...
This did not work. So I was unsure if it is an error
in "reiserfs" or in LVM.

So I tried to figure out another test. The key point of
my test is to use the command "dd" to try to write some data
into the extended part of the LV.

Here is the result:
1. unused LVs (= not used by a mounted filesystem):
	You can write into the extended part immediately
	after executung "lvextend"
2. used LVs (= used by a mounted filesystem):
	You can not write into the extended part at first!
	You have to "umount" the filesystem!
This is true for linux-2.6.0-test11 and 2.6.0-test5
and LVM2. It is not true for linux-2.4.22-ac4 and LVM1
and various older versions. You can write into the extended
part immediately after executing "lvextend", no matter
wheather the LV is mounted or not.

I think that because of error 2 (it's an
error in my current opinion but perhaps I'm wrong),
I'm not able to do an online resize of the filesystem.

- --
Mit frohem Gru�e, Uli Heller
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/zEbzsi63wwMPCzwRAox4AJ9c9E+wVzYyOcPjRENWjse6UZ7y9wCfZIUu
Hx6tLFNuJAq5S+e60uu4+JI=
=PE2B
-----END PGP SIGNATURE-----

             reply	other threads:[~2003-12-02  2:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02  2:10 Uli Heller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-12-29  7:51 [linux-lvm] LVM2: Problems with "lvextend" on device with mounted filesystem Piotr Kaczuba
2003-12-26 15:45 Piotr Kaczuba
2003-12-26 21:01 ` Christophe Saout
2003-11-28  8:21 Uli Heller
2003-12-01  7:57 ` Wolfgang Weisselberg

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=3FCC46F4.5050607@daemons-point.com \
    --to=uli@daemons-point.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 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.