Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This might be a very simply question for you guys, but any help will be really appreciated.
We have a Sun X2200M2 server running Redhat 5 with 2 x 250G disk software RAID 1 in production environment.
we want to test some commands in that system which we do not know the impact. so we prefer to mirror the exactly same HDD from that server in to our testing x2200M2 with same hardware environment.
is there a good solution we have do that disk mirror?
I think rsync would be best for this. It comes with most distributions. Read the man page for more details, and/or find an online tutorial like this one: http://everythinglinux.org/rsync/.
you can do it using different tools and command, generally DD command is common for disk imaging or mirrors and works great too. also some tools like partimage can solve your problem.
also you can install partimage utility, another powerfull utility for disk mirror, but i believe that it is not shipped with Redhat 5 by default you need to download it and install it.
You should check your actual HW, but according to this http://www.solarsystems.com/products...200_m2_server/ that system has hot-swappable disks, so you could pull one out, load a blank, the use the swapped out one to start a new system...
are you using software raid or hardware raid on your server, you need to take care of that too and also for hot swapping drive is good way to do, but still you should make sure while hot-swapping drive that you have detach from OS and again rescan when attached, you need to rescan the scsi-bus else os will not show to you into the /dev path and also in fdisk -l output
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.