(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version



Best of the Newsgroups: mirroring with dd

Main Index

Mirroring with "dd" is dumb. That's why Windows folks do it so often :-)

From: bv@wjv.com (Bill Vermillion)
Subject: Re: SCO 5.0.5 dd / clone
Message-ID: <IsvyKC.I4o@wjv.com> 
References: <1136608675.138234.291770@g44g2000cwa.googlegroups.com> <Isu3Fx.21zo@wjv.com> <1136885387.256685.67430@g47g2000cwa.googlegroups.com> <20060110064709.64734@tegan.com> 
Date: Tue, 10 Jan 2006 16:55:01 GMT

In article <20060110064709.64734@tegan.com>,
Tom Parsons  <sconews@tegan.com> wrote:
>Otto enscribed:
>| Hi Bill,
>| 
>| Thanks for the feedback.
>| 
>| I fully agree with what you write HOWEVER, in my case the server is a
>| simple email server with almost all POP accounts and also a SAMBA file
>| server (again most of the data is static) so a "little" bit of loss is
>| acceptable. I have used this "Disaster Recovery" method successfully on
>| several of my customer sites (running Linux) and it is really a 30
>| second (no kidding!!) reboot to get the system going in the event of a
>| disk failure. BTW I have also implemented a Microlite BackupEdge backup
>| as well. If you use the Disaster Recovery of Microlite, it takes
>| approximately 2-4 hours to fully recover (hence the 30 second recovery
>| for a mail server) is required by my customer. I really did now want to
>| get into the merits or lack thereof of the method used - just a reason
>| or fix as to why the "dd" command works fine under same conditions with
>| LINUX and not woth SO 5.0.5. I will probably try Bela suggestion and
>| try with SCO 5.0.7 and see whether it is indeed a kernel problem or
>| not. Again much thanks for your time and suggestions. Rgds. Otto.

>Which begs the question (at least here), why are you going through all
>of these gymnastics when there are much better and more reliable solutions.

>Mirror the drive and install a hot spare.  Let technology do the work
>instead of kludging 1980 style partial solutions.

I also gave Otto some solutions as he sent me email, and I assumed
that he had not posted to the 'net.

One thing I pointed out is that dd is going to copy things over and
over and over again - as so much never changes, where something
like rsync would work well.

The 'dd' approach seems to probably come from the Ghost approach
that many people use in the MS world.  But MS and Linux solutions
don't always apply very well in real Unix systems.

I also suggested raid.

He never indicated his hardware or size of the system so who is 
to know if the 3-4 hour Microlite recovery is based only on the
amount of data he has.   If it is large then the 'dd' is also going
to take a lot of system resources - most of which will be wasted.

I also pointed out to Otto that at times Linux approaches can spell
disaster when applied to a pure Unix system.   I had to physically
pull a Sun Netra [from our racks] to repair a system that the
client had Linux-ized - so it would be more familiar.

After a shutdown it would not reboot as it could not find it's home
directory or shell.   And the system would not let you reinstall
the OS as there was one there.

I wound up pulling the unit, swapping drives, installing Solaris
on the new drive.  Then it was a simple 'fsck' on the old drive
from the new drive,and then swap them back and set things up the
way they were intended.

As you and I well know there are so many minor [and sometimes
major] differences between Unix systems, and particularly Unix-like
systems, that you can shoot yourself in the hard-drive if you try
to use a universal approach.

Bill
-- 
Bill Vermillion - bv @ wjv . com
 



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



/Bofcusm/2642.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.



More:
       - OSR5
       - Bofcusm


Unix/Linux Consultants

Skills Tests

Guest Post Here











My Favorites

Change Congress