Question

How to copy an os x drive?

Asked by: gharnett

I have a mac with os x 10.2. This is an office fileserver so multiple users connect to it. There is a shared drive which has different folders with different access permissions for different users. This drive is almost full so I want to copy everything from that drive to a larger new one, then remove the old one and replace it with the new one. How is this done? I need to be root?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2004-10-20 at 12:10:21ID21176060
Tags

drive

,

copy

,

os

,

x

,

Panther (OS 10.3)

Topics

Mac OS X

,

Appletalk

,

Apple Operating Systems

Participating Experts
7
Points
75
Comments
26

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. FileServer crashes & network freezes
    Our Fileserver (Workgroup 8550/200) has increased the rate at which it crashes, from once every month or two, to a couple of times - at least - a day. In addition there are frequent occasions when the workstations freeze when trying to access a particular volume from the file...
  2. Mac OS X  - Port 80 Permissions
    I have written a small webserver in Java and am trying to get it to run on port 80 in Mac OS X. I get a "java.net.BindException: Permission denied" error which must mean that the logged-in user does not have permission to open a port on 80...or anything below 1024 ...
  3. Music library larger than Mac's capacity.
    I have a G4 with OS 10.2.4 or something like that. Here is my question. My music library is keeped on an external drive and it is larger than the Mac's capacity meaning library is 60 GB and the Mac is 40 GB. Can iTunes access my music library from the external drive or mus...
  4. Need a CHEAP fileserver.
    This is a K-8 school. Currently there is an old Compaq server with a 6GB hard drive running NetWare 4.11 that is acting as the fileserver. I need to replace it soon. All it is doing is serving files (less than 500MB's of files), not doing user authentication or DHCP or anythi...
  5. Mac OS 10.4.8 permissions are messed up, please …
    I have a dual 2.5 Mac. running 10.4.8 OS. The permissions are messed up. I just tried to install a new program I received and it failed and told me I do not have proper permissions. How can I fix this? I remember back in the day on a Unix machine, going to a terminal window a...
  6. Replace fileserver
    Hi, I want to replace an old fileserver who is also an domain controller in my Windows 2003 server Active Directory enviroment. My old Fileserver is an Compaq ML530 (5 years old) with an HBA connected to the SAN for the data. My new server is an HP DL360G5 Quad core. On th...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: brettmjohnsonPosted on 2004-10-20 at 12:19:03ID: 12362054

You might not need to be root, but you do need sufficient privileges to read all the data you wish to copy.
To dup disks under Mac OS X, I use an excellent utility called Carbon Copy Cloner:

http://www.bombich.com/software/ccc.html

 

by: weedPosted on 2004-10-20 at 12:59:42ID: 12362596

You dont need root but you do need to be the administrator. Some like Carbon Copy Cloner but I use SuperDuper! which has a much slicker interface and is somewhat faster.

 

by: in-effectPosted on 2004-10-21 at 04:23:50ID: 12368574

I have noticed that CC Cloner can be slow - took a whole weekend to copy 450GB of data between ultra-wide RAIDs! However, it did work completely flawlessly (apparently).

 

by: Scorp888Posted on 2004-10-21 at 11:03:38ID: 12372770

To back up everyone else, CCC works fine.

 

by: grexxPosted on 2004-10-25 at 04:34:00ID: 12399050

I have used CCC several times to clone a complete system from one harddrive (or partition) to another. It worked perfectly! So for your (less demanding) job, it should do everything you want. You do need admin-rights, but don't need to login as root.

 

by: gharnettPosted on 2004-10-26 at 12:41:35ID: 12414840

Both ccc and superduper take a very long time to copy a 100GB HD. I haven't switched drives yet so I'm not sure who gets the points. If someone can tell me how to speed it up to less than 12hrs i'll give them the points plus some bonus points too :)
Thanks people.

 

by: Scorp888Posted on 2004-10-26 at 15:23:51ID: 12416453

Well you can look at taring an zipping large files up, or use stuffit to compress files.

I've just done this, and it reduced the time by about 30%, but that was given that I had a large number of documents I could compress, lots of already compressed files, jpg's dmg's zip files, that sort of thing, and it's not going to be as good.

 

by: in-effectPosted on 2004-10-27 at 02:09:51ID: 12419584

Good idea but because the data will be offline while its being compressed you need to take that time into account in the overall process. So unless (time taken to compress files) + (time taken to copy compressed files) is quicker than a straight copy it's not really worth doing.

I don't think it's the program that's going to be your bottleneck - it'll be the system interface. What interface does the shared disk use? There are two alternatives; one which is tried & tested and one which is a 'plan b' as it's not quite ideal but might work better:

Tried & Tested
Put both drives into a machine on separate channels. Boot that machine using an OS X system CD and run Disk Utility. Click one of the disks and choose the 'Restore' tab. From the list of disks, drag the old existing drive into the Source box and then drag the new drive into the destination box. Check the 'Erase Destination' box (and make sure your disks are the right way round!) and click Restore. The data will then stream from one drive to the other and because there are no other system processes going on, it should be quicker. I do this all the time and it works a treat.

Plan B
As above basically but using a PC and Norton Ghost. Ghost won't take advantage of some advanced disk features but as long as the BIOS supports the drives fully it should still be quick. I've never done this with a Mac disk though so I don't know if the software is actually capable of ghosting Macintosh partition data. Worth a shot though.

 

by: jonberghPosted on 2004-12-02 at 12:50:42ID: 12730151

is the "shared drive" you speak of the same as the boot drive? then, yes, like everybody is saying, run Carbon Copy Cloner or SuperDuper.

if it's all on a different physical disk and you feel like it hook a second disk up and just drag stuff. 100G is a lot though. if the server is staying up and in use while this is going on you might look at running rsync locally... the first run would take a while but then you could keep running it periodically until you were ready to kick everyone off, run rsync one last rime, then bounce the box and pull out the old disk.

 

by: in-effectPosted on 2006-01-15 at 02:01:36ID: 15704004

I suppose it's a question of which solution (out of CCCloner, SuperDuper and Disk Utility) the guy used in the end.

 

by: Scorp888Posted on 2006-01-15 at 02:22:29ID: 15704036

and wether he zipped it and tarred it.

He suggests that the points should go (with bonus's) to whoever can speed it up, well that would be me, if of course he actually did it.

I'd be happy with a 3 way split.

 

by: in-effectPosted on 2006-01-15 at 03:12:23ID: 15704119

Yeah, for the sake of resolution I'll go with that. :0)

 

by: Scorp888Posted on 2006-01-15 at 05:28:07ID: 15704312

I seem to have about 40 emails at the moment, all with a 50/50 with someone (mostly weed) where the solution could have been one of two things, and the person hasn't got back, so no one knew who was right.

 

by: VenabiliPosted on 2006-01-15 at 09:37:39ID: 15705425

>>I seem to have about 40 emails at the moment
Yep.. trying to get the old questions closed ..

 

by: Scorp888Posted on 2006-01-15 at 12:00:01ID: 15705941

Oh yes, don't take it the wrong way Venabili, you're doign a great job!

 

by: VenabiliPosted on 2006-01-20 at 07:15:00ID: 15749556

Sorry guys,

I have points for only 3 way split.
The first two comments give alternative solution, the third I selected also...
Sorry... I wish I had 5 more points here...

 

by: Scorp888Posted on 2006-01-21 at 08:54:16ID: 15756646

The only comment I would make is to go back to the posters last comments.

"Both ccc and superduper take a very long time to copy a 100GB HD. I haven't switched drives yet so I'm not sure who gets the points. If someone can tell me how to speed it up to less than 12hrs i'll give them the points plus some bonus points too :)
Thanks people."

The answer to that, is zip and tar.

 

by: in-effectPosted on 2006-01-21 at 11:12:47ID: 15757233

In that case, I feel I have to reiterate my point that presuming (logically) that the 12hrs is in the context of minimising downtime, zip and tar would not necessarily be the best solution because the data obviously needs to be offline while its being compressed. So unless (time taken to compress files) + (time taken to copy compressed files) is quicker than a straight copy it's no quicker.

 

by: Scorp888Posted on 2006-01-21 at 11:22:03ID: 15757270

Nope, you could compress whilst you're transferring the files to disk.

Something along the lines of.

ls `*` |xargs |compress > /Volumes/newdisk/$1.

As a 3 second example which probably won't work but should show the way.

 

by: in-effectPosted on 2006-01-21 at 12:06:11ID: 15757484

Okay, my shell experience clearly isn't as extensive as yours but I still would have thought that total time = compression time + transfer time. It's merely occuring file-by-file in this case. I'd be delighted if I was wrong as this is potentially a very useful method.

 

by: Scorp888Posted on 2006-01-21 at 13:28:31ID: 15757905

This is more for fun that to do with the question now, although I guess it's still useful.

Well we're both potentally right.

How?

Well if the transfer medium is slower than the compression time, then I'm right.

If the transfer medium is faster than the compression, then you are correct.

Example

1 MB file, no compression takes 1024 seconds to transmit.                                     Total time 1024 seconds
1MB file, takes 1 second to compress to 100k, which takes 100 seconds to transmit. Total time 0102 seconds.


Saving, 900 seconds.

however.

1 MB file takes 100 seconds to transmit.                                                                      Total time 100 seconds.
1 MB file takes 99 seconds to compress to 100k which takes 10 seconds to transmit    Total time 109 seconds.

Mostly, it's quicker to compress and send.

however, with a slow machine and a fast firewire drive it's going to be close.

Also for the shell you'd probably use find, not list.

If you're really interested I can dig something out for you.

 

by: in-effectPosted on 2006-01-21 at 14:42:30ID: 15758179

Hehe, nah I think you've indulged me enough, thanks. I see what you mean now and I'm surprised I hadn't considered the difference compression could make - 900 seconds multiplied by 100,000 is a lot of minutes saved.

Obviously though this is based on your example compression ratio of 1:10, so in this instance the question of who's answer is closest would be answered by finding out what sort of data is on the server in question. If it's video or graphics then of course there's not much consideration to be given to  your method.

Cheers!

 

by: Scorp888Posted on 2006-01-21 at 14:56:07ID: 15758226

Just a final point, and it's to re-iterate what you state.

If you had a disk of zipped files, or compressed jpegs, then you're correct, you'd not see much gain.

Same really for a disk full of mp3s.

But for most people a backup is a mixture, and for business it's lots of text fles, whether they be word documents, excel spreadh sheets, or sql dumps.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...