LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 11:57 AM   #1
dhirendrs
Member
 
Registered: Nov 2009
Posts: 32

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, 12:01 PM   #2
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
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 12:03 PM.
 
Old 07-22-2010, 12:02 PM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,996

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
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, 12:11 PM   #4
dhirendrs
Member
 
Registered: Nov 2009
Posts: 32

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, 03:46 PM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,996

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
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, 05: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: 112Reputation: 112
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, 09:20 PM   #7
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,996

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 04:11 PM
LXer: Create Your Own Web Server With BIND And Apache On CentOS 5 LXer Syndicated Linux News 0 07-02-2008 04:11 PM
'553 Could not create file' in vsftpd FTP Server on CentOS 5 Fabian10 Linux - Server 2 11-26-2007 12:13 PM
Trying to create PXE server and can't mount initrd image Nylex Slackware 6 07-08-2007 02:10 PM
Create RedHat gold image help (clone my server) wadevondoom Linux - Enterprise 4 05-23-2007 10:10 PM


All times are GMT -5. The time now is 05:03 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration