[CentOS] Re: moving CentOS to a larger disk

Dave dmehler26 at woh.rr.com
Tue Apr 17 01:25:29 UTC 2007


Hi,
    So, i plug in the drive, it's /dev/hdb the original is /dev/hda, i add 
/dev/hdb to my existing lvm setup. Does adding that move the data or do i 
have to dump partitions? Then i remove the original drive, shutdown, switch 
drives, and boot, and all is well. Did i miss a step?
Thanks.
Dave.

----- Original Message ----- 
From: "Scott Silva" <ssilva at sgvwater.com>
To: <centos at centos.org>
Sent: Monday, April 16, 2007 7:59 PM
Subject: [CentOS] Re: moving CentOS to a larger disk


> Dave spake the following on 4/16/2007 4:13 PM:
>> Hello,
>>    My thanks to everyone who has responded. I probably should have
>> mentioned this box doesn't have a cd-rom in it and it's not practical to
>> put one in, install was done via network. I read the tldp hard disk
>> howto and i've got both drives in the box. My problem is the original
>> howto makes no reference to lvm, when centos 4.4 installed that's what
>> it used. So i need to transfer the lvm over along with the data and
>> enlarge partitions to fill the available space on the new drive. And if
>> possible i need to do this with native tools.
>>    Any help appreciated.
>> Thanks.
>> Dave.
> You can add the new drive to the existing VG, and then you can remove the
> original drive from the VG. That will move all the LV's to the new drive.
>
> -- 
>
> MailScanner is like deodorant...
> You hope everybody uses it, and
> you notice quickly if they don't!!!!
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos 




More information about the CentOS mailing list