Cloning an empty sever (except OS) onto a smaller drive?


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Cloning an empty sever (except OS) onto a smaller drive?
# 1  
Old 02-01-2017
Cloning an empty sever (except OS) onto a smaller drive?

Actually this is a Centos 6.x question, but I think it fits here.

I have a client that has a pretty beefy server that will be running all sorts of VMs once I unleash it to the developers. For several reasons, they would like to do a complete clone of the server as is right now, that is with just the Centos OS installed and before anything else (including driver updates etc, as the video card Tesla P100 only runs properly with very specific drivers and doesn't have a whole lot of support just yet).

All that said, the company that custom built the server installed the OS on a 4TB drive. Can I just clone the system as is, onto a smaller, say 1TB external USB drive? This image will never get any bigger, the whole purpose is just to capture the server as is, in it's most minimal/untouched state in case they want to roll back to it at any time.

Will this work (thinking of using CloneZilla), or is this just a massive potential danger waiting to happen?

PS I suppose I should also mention, that there are four additional high performance drives in the server as well, right now they aren't doing anything/empty (and will be empty for the purposes of this clone, but they are mounted).
# 2  
Old 02-02-2017
I would question why they wish to 'clone' the server in the first place. Do they have another identical hardware platform to put it on? If they clone the disk(s) I would say that they need to fully test that clone elsewhere in order to have confidence in it.

I would be inclined to research the correct disaster recovery (DR) from backup procedure for that OS. What format of backup media would be required. If the box is to become a production system then they MUST have a backup device (eg, tape drive) or a remote NFS volume to backup to. That backup (of which multiple copies could be taken e.g. for off-site storage too) could be kept indefinitely. The point you are making is that the system is the data NOT the hardware. Indeed, by definition, the DR would be designed to work on completely different hardware in case the computer room caught fire, the hardware was destroyed, and the same model hardware is no longer available. With a DR backup it would be possible to recover the system even if it took a little time. The data would be available to restore the system.

Usually, it is also important to have hardcopy of the disk layout, partition sizes, filesystem sizes, cylinder numbers, swap space, etc. That combined with a DR backup provides everything for recovery. By comparison, if you clone the system to a second drive and that drive fails (or somebody drops it on the floor) you are stuffed.

I'm not a CentOS expert but those are my thoughts in generic terms.

Last edited by hicksd8; 02-02-2017 at 03:41 PM..
# 3  
Old 02-02-2017
Something I've had success with is Linux, AIX and Solaris Backup and System Recovery Software which allows you to resize logical volumes and set different network addresses during the restore phase.

There are other clone tools available, such as the one from Cristie Software


There are costs with these, but it really depends what you have got and what you want to do.

Are you looking to take an image of the bare-metal server or one of the guests? There should be tools to clone the guest volumes built in.



Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

LAMP Sever

How do I install a LAMP server on a new installation of Debian 9 using the lalest versions of AMP? Here is what I have. Corrections please. MYSQL apt-get install mysql-server mysql-client You can verify the MySQL server status using command: systemctl status mysql ------- PHP7... (0 Replies)
Discussion started by: Meow613
0 Replies

2. BSD

Ping remote sever, nc, telnet, whatever

I put this thread to shell and bsd, because I want to resolve this matter on bsd. May somebody can explain to me how to ping a remote server, in unix. BTW the following code examples were tried on a linux system as well, with the same output, nothing. But on my bsd are not installed nmap neither... (4 Replies)
Discussion started by: 1in10
4 Replies

3. Shell Programming and Scripting

Compare file in other sever

Hi All, I have totally two server. First server name is ABC which contains the file name is Sum.txt and Second server name is Sun here one file generate during the runtime. Currently I am in First Server. Now, I need to compare the server one file (Sum.txt) with server two file. If it... (2 Replies)
Discussion started by: suresh01_apk
2 Replies

4. Solaris

migrating zpool to new smaller drive

i have my zpool datapool created on larger 2TB sata drive which has only 100g of data , now we are planning to move to smaller & faster 300gb sas drive .. is there a way to migrate the data with out down time .. i have done this on equal sized drive by attaching the 2nd drive as mirror and... (2 Replies)
Discussion started by: skamal4u
2 Replies

5. UNIX for Dummies Questions & Answers

cloning ATAPI drive, SunOs 5.7

I'm trying to image one hard drive to another using SunOs 5.7. I think I've read all of the forum entries that relate to my questions, but I do not find an effective solution to the problem. after I verified my drives had the same geometry and did my analyze to resolve original read errors on... (0 Replies)
Discussion started by: nix8me
0 Replies

6. Solaris

/dev/rmt is empty - Trying to make Tape Drive Functional

I have an HP Proliant DL380 with Intel Processors that I recently loaded Solaris 10 with latest patches on it. I'm trying to do a ufsdump to an HP DAT 40 tape drive via SCSI, but I can't get it to do anything because /dev/rmt is empty. I've tried the following with luck: touch /reconfigure,... (7 Replies)
Discussion started by: cvaughn
7 Replies

7. Solaris

Cloning the root drive - Help Plz

I use Sunfire V480R , and i am seeing lot of scsi transport errors for the root drive & i think it is going to die . the system is having 2 drives & the second drive is kept unused . can someone guide me how do i clone the root drive to the seconddrive and make that bootable . (13 Replies)
Discussion started by: skamal4u
13 Replies

8. AIX

find the IP's on the sever

Hi , I am working on AIx server which is connected to another network which is a stock market via leased line , From my side I connect to the server locally but what i need is to know the ip whic the server connect to the stock market how I can Know this ???? Thanks (1 Reply)
Discussion started by: habuzahra
1 Replies

9. Shell Programming and Scripting

Running a script on a different Sever

Guys, I want to run a script located on a different server from my pc. Let say the server has an IP of 1.1.10.2/16 and the script path is: /home/user/bin/check.sh The script scans for all available devices on the lan. My pc has an IP of 1.1.15.4/16 and I can ping the sever and can... (3 Replies)
Discussion started by: tony3101
3 Replies
Login or Register to Ask a Question