[linux-lvm] Moving to a new disk in FC4
Nikos Charonitakis
charosn at her.forthnet.gr
Sat Sep 24 20:31:05 UTC 2005
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
More information about the linux-lvm
mailing list