linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Nikos Charonitakis <charosn@her.forthnet.gr>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Moving to a new disk in FC4
Date: Sat, 24 Sep 2005 23:31:05 +0300	[thread overview]
Message-ID: <1127593865.6094.28.camel@localhost.localdomain> (raw)

Hi 
i m trying to move my FC4 installation to a new disk and i m a bit
confused...
I ve managed to do some things:
I made two partitions on new disk /dev/hdb1 and /dev/hdb2 in order to
move there /dev/hdc1 and /dev/hdc2.
Second step was to make them use ext3 file system.
Then with pvcreate /dev/hdb2 initialized for use with lvm.
I didnt initialize /dev/hdb1 because /dev/hdc1 is also out of the lvm
thing.
After that i ve done: vgextend VolGroup00 /dev/hdb2
and pvmove /dev/hdc2 /dev/hdb2

My system seems to work yet :) but what i have to do now?
i ve missed something essential?
what to do with the /boot partition?
can i remove now the old partition /dev/hdc2 ? 
why /dev/hdb2 transfered data has taken so much space (about,38 GB on
new disk - they were less than 30 GB in the old partition /dev/hdc2),
do i have to extend LogVol00 that remain 37GB (the size of the old
partition) and how?


Now i have

  PV /dev/hdc2   VG VolGroup00   lvm2 [38,19 GB / 38,19 GB free]
  PV /dev/hdb2   VG VolGroup00   lvm2 [74,41 GB / 36,25 GB free]
  PV /dev/hdb1                   lvm2 [99,70 MB]

Total: 3 [112,69 GB] / in use: 2 [112,59 GB] / in no VG: 1 [99,70 MB]

  --- Physical volume ---
  PV Name               /dev/hdc2
  VG Name               VolGroup00
  PV Size               38,19 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              1222
  Free PE               1222
  Allocated PE          0
  PV UUID               b8E1VI-sqsw-LZTF-BEyq-Yox0-5h6r-4i4NH8

  --- Physical volume ---
  PV Name               /dev/hdb2
  VG Name               VolGroup00
  PV Size               74,41 GB / not usable 0
  Allocatable           yes
  PE Size (KByte)       32768
  Total PE              2381
  Free PE               1160
  Allocated PE          1221
  PV UUID               D6PNGh-JwPb-J8Ij-zbIg-UMYx-gVU9-bQ4xCQ

Thanks in advance
Nikos

                 reply	other threads:[~2005-09-24 20:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1127593865.6094.28.camel@localhost.localdomain \
    --to=charosn@her.forthnet.gr \
    --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).