-----Original Message----- From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Sudev Barar Sent: Saturday, March 11, 2006 8:30 PM To: CentOS mailing list Subject: Re: [CentOS] Moving files to new server
On 12/03/06, Thomas E Dukes edukes@alltel.net wrote:
On 12/03/06, Thomas E Dukes edukes@alltel.net wrote:
The rsync works fine. I used it to copy /home /var and /etc to the new server. But something went wrong. I think I copied
something in
/etc I shouldn't have. The system won't mount the drive. I am currently re-installing CentOS.
Any idea of what I SHOULDN'T copy?
I would not copy /etc since it stores all setting files.
Most likely
it is /etc/fsatb file that is creating problems as your
new system
is looking for drives/partitions/lables that probably do
not exists
or are named differently on new system.
I would be selective in coprying /var too.
That was my thinking also. I made a backup copy of
/etc/fstab but it
would not let me overwrite the fstab that was copied.
Unfortunately,
I need most of the config files in that directory and
sub-directories.
Knowing which ones to copy and not to copy could be a very
lengthy experience.
Can you rebuild the new machine? If you can then make sure that the orders of partitions is same as the old one and so are the lables and drive is also same (hda or hdb or sda...), variations in size should not be problem.
I noticed that a fresh install of CentOS uses LVM. If I remember correctly, I had a /boot and a 2 - LVM's. My old system doesn't use that. I didn't see an option in the install process that would let me do otherwise (the old way).
Alternatively (and much better) why not edit the fstab file instead of overwriting? This is best done with something like Knoppix boot and not with running OS.
I did an install of Redhat _years_ ago and have only had to upgrade. I never had to use this feature. I don't have a clue what it is.
Guess I'm screwed.........
Thanks!!