From: Klaus Strebel <klaus.strebel@gmx.net>
To: jonathan@awaken.com,
LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Resizing the root LVM partition
Date: Tue, 13 Sep 2005 16:47:19 +0200 [thread overview]
Message-ID: <4326E677.3090006@gmx.net> (raw)
In-Reply-To: <cd21de0e05091214103bfe89ac@mail.gmail.com>
Jonathan Morace schrieb:
> I'm having a problem adding disks to my root partition, which is using
> LVM. The quick summary is that I think I need to run resize2fs on the
> root partition, but I can't figure out how to unmount the root
> partition to do so.
>
> The longer version of the story... I'm running Fedora Core 2, and
> when I installed I had the root partition configured to be on two
> disks using LVM. I added two more disks to the computer and followed
> the howto to initialize the disks, add the physical volumes to the
> volume group, and extend the logical volume. When I run "lvdisplay" I
> see my logical volume is the correct size, but "df" only shows the
> original size. I'm assuming this is because I haven't done a
> "resize2fs". The reason I haven't is because I can't figure out how
> to unmount the root filesystem in order to do this. If I boot with
> linux rescue, I can choose not to mount the filesystems, but then the
> LVM devices don't exist. I read somewhere that running "lvm vgscan -v
> --mknodes" should do the trick, but as far as I could tell, no devices
> were created.
>
> Any ideas on how I can get the root partition resized to include the new disks?
Hi Jonathan,
if you take a look to the list-archive, you'll find more detailed answer.
In short, boot from a recovery media / Live-CD ( you can't umount root
to resize the fs! ), resize your rootfs, reboot.
Ciao
Klaus
--
Mit freundlichen Gr�ssen / best regards
Klaus Strebel, Dipl.-Inform. (FH), mailto:klaus.strebel@gmx.net
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
next prev parent reply other threads:[~2005-09-13 14:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-12 21:10 [linux-lvm] Resizing the root LVM partition Jonathan Morace
2005-09-13 14:47 ` Klaus Strebel [this message]
2005-09-13 14:58 ` AJ Lewis
2005-09-14 3:37 ` Jonathan Morace
2005-09-13 19:38 ` Fredrik Tolf
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=4326E677.3090006@gmx.net \
--to=klaus.strebel@gmx.net \
--cc=jonathan@awaken.com \
--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.