From: "Dieter Stüken" <stueken@conterra.de>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] LVM question on move and resize
Date: Thu, 13 Jul 2006 10:35:28 +0200 [thread overview]
Message-ID: <44B605D0.7070904@conterra.de> (raw)
In-Reply-To: <20060713012417.80370.qmail@web50705.mail.yahoo.com>
John Koshi wrote:
> Hello,
>
> I have the following setup:
>
> HP dv1000 laptop with an 80G hard disk laid out as follows:
> 1)70Gb NTFS, WinXP primary
> 2)100Mb ext3 primary Fedora 4 /boot
> 3)10Gb Extd primary, containing logical(8E) LVM Fedora 4 root
>
> Since the Linux root is getting full, I want to expand it,
> by reducing the NTFS partition, and moving all the Linux
> partitions down, and then expand the LVM root outwards.
>
> With Partition Magic 8.0, I can resize the NTFS disk, and
> move the ext3 boot partition (after removing it's features
> resize_inode, dir_index, and ext_attr using e2fsprogs),
> and resize the Extended partition to the left as needed.
>
> The problem now is how to move and expand the LVM root as
> mentioned above. Partition Magic and Qtparted can't do it.
>
> Is it possible to do this? If so, what are the steps?
can you send us a "fdisk -l" of your partition layout?
Why moving your LVM?
After you shrunk the leading partitions, you should get a gap
below your LVM partition. Can you fit a new partition into this gap?
There after you format this new partition as an additional PV
using "pvcreate" and extend your VG using vgextend.
Now your VG extends over both partitions, and you may use the new
space to extend any LV within your VG. LVM does not care about
how the available disk spaces (its PVs) is organized nor has it
to be contiguous. It may even spread over several disks.
This is the reason why LVM is much more flexible than DOS partitions
and Partition Magic will ever be.
Dieter.
next prev parent reply other threads:[~2006-07-13 8:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-13 1:24 [linux-lvm] LVM question on move and resize John Koshi
2006-07-13 8:35 ` Dieter Stüken [this message]
2006-07-13 18:22 ` John Koshi
2006-07-14 11:00 ` Dieter Stüken
2006-07-14 15:15 ` John Koshi
2006-07-14 16:43 ` Dieter Stüken
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=44B605D0.7070904@conterra.de \
--to=stueken@conterra.de \
--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 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).