From: "Wolfgang Weisselberg" <uzx87lvfmukwc001@sneakemail.com>
To: linux-lvm@sistina.com
Subject: Re: [linux-lvm] How to migrate data from one Hard Drive to a new one
Date: Tue Sep 2 07:29:01 2003 [thread overview]
Message-ID: <9226-27988@sneakemail.com> (raw)
In-Reply-To: <1062451252.2391.28.camel@candido>
Luca Da Col wrote 199 lines:
> 1) pvcreate /dev/hda5
> 2) vgextend Volume00 /dev/hda5
Ok, the Volume Group now has /dev/hda5 added.
> 3) lvextend --size +97.4g /dev/Volume00/LogVol02 /dev/hda5
> but my /home is still 28G
Well, of course!
You have increased the partition (/dev/Volume00/LogVol02).
You have *not* increased the filesystem /home.
Instead of lvextend you should have used e2fsadm which runs both
lvextend and resize2fs (or ext2resize), and fsck, in the correct
order. It's a good idea, generally, to umount /home first.
Please read the manpages of e2fsadm, resize2fs and ext2resize
for more information.
-Wolfgang
prev parent reply other threads:[~2003-09-02 7:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-30 14:49 [linux-lvm] How to migrate data from one Hard Drive to a new one Luca Da Col
2003-08-31 4:27 ` Jon Bendtsen
2003-09-01 17:04 ` Luca Da Col
2003-09-02 7:29 ` Wolfgang Weisselberg [this message]
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=9226-27988@sneakemail.com \
--to=uzx87lvfmukwc001@sneakemail.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.