LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-22-2010, 10:57 AM   #1
dhirendrs
Member
 
Registered: Nov 2009
Posts: 45

Rep: Reputation: 15
i have server which has Linux version centos i want to create the image of the server


hi

i am using Linux type Centos sever which have some configuration every time if i have any problem, i have to reinstall is any thing which i can put it as image of the server and restore it if any thing wrong happen to server with bootable CD. any image command which took .

i know some thing like dd in Linux.

dhiren shah
 
Old 07-22-2010, 11:01 AM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
If the server is mission critical you can clone the hard disk with CentOS inside. Anything goes wrong you simpy swap the disk. The clone needs either exactly the same size of just larger.

If the source is sda (or hda) and the target is sdb (or hdb, the one to be written on) the cloning is just
Code:
dd if=/dev/sda of=/dev/sdb bs=32256
The parameter bs=32256 can be omitted but each record will be defaulted to 512 bytes. 32256 is 63 sectors x 512 bytes or a complete track.

To put it on an image you need to run an operating system to restore it.

Last edited by saikee; 07-22-2010 at 11:03 AM.
 
Old 07-22-2010, 11:02 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by dhirendrs View Post
hi
i am using Linux type Centos sever which have some configuration every time if i have any problem i have to reinstall is any thing which i can put it as image of the server and restore it if any thing wrong happen to server with bootable CD any image command which took

i know some thing like dd in Linux.
dhiren shah
Your post is hard to read without capital letters and punctuation.

Are you saying that every time you have ANY problems with your server, the only thing you do is reinstall it?? And what do you mean by "some configuration"??

If you searched on LQ, or on Google, you'd find lots of references to how to create recovery disks. DD is one option, but you can also use mkcdrec, mondoarchive, and systemimager.
 
Old 07-22-2010, 11:11 AM   #4
dhirendrs
Member
 
Registered: Nov 2009
Posts: 45

Original Poster
Rep: Reputation: 15
still it is not clear for me

Quote:
Originally Posted by TB0ne View Post
Your post is hard to read without capital letters and punctuation.

Are you saying that every time you have ANY problems with your server, the only thing you do is reinstall it?? And what do you mean by "some configuration"??

If you searched on LQ, or on Google, you'd find lots of references to how to create recovery disks. DD is one option, but you can also use mkcdrec, mondoarchive, and systemimager.
can u tell me the steps 1 2 3....

dhiren
 
Old 07-22-2010, 02:46 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by dhirendrs View Post
can u tell me the steps 1 2 3....
dhiren
Can YOU spell out your words, write clearly, and show some effort on your part???

I gave you the names of three packages, which do what you want. Look them up, read the documentation. Search the threads on this VERY SITE, which will tell you more.
 
Old 07-22-2010, 04:00 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I echo TB0ne sentiment here.

Although I have offered my advice generically it would be better for the OP to do some work himself/herself in order to get the real benefit of any advice.
 
Old 07-22-2010, 08:20 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by saikee View Post
I echo TB0ne sentiment here.

Although I have offered my advice generically it would be better for the OP to do some work himself/herself in order to get the real benefit of any advice.
Thanks, but it goes further than that.

Does the OP honestly expect people here to type out the exact sets of directions/notes/etc., for three different software packages, and tailor those notes to their installation?? No, sorry....pointed the OP in the right direction, gave options...time for the OP to do some reading.

Far different if the post is "I'm getting error XXXXX using Distro yy.zz, anyone have ideas?"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i have one server which install the Centos OS and i want to create the image dhirendrs Linux - Enterprise 3 07-22-2010 03:11 PM
LXer: Create Your Own Web Server With BIND And Apache On CentOS 5 LXer Syndicated Linux News 0 07-02-2008 03:11 PM
'553 Could not create file' in vsftpd FTP Server on CentOS 5 Fabian10 Linux - Server 2 11-26-2007 11:13 AM
Trying to create PXE server and can't mount initrd image Nylex Slackware 6 07-08-2007 01:10 PM
Create RedHat gold image help (clone my server) wadevondoom Linux - Enterprise 4 05-23-2007 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration