Discussion Locked

Copying HDD to New HDD

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a system running SCO Unix. The hard drive has outgrown our usage. I need to copy all the partitions and files and permissions to a new hdd.

Anybody have the command and switches that can do this from sco unix itself without outside third party tools? If not whats a good outside third party tool to do this.

I would like everything copied due to the way this machine is used.

5 replies

by cpfeiffe

If you can bring the new drive up on the active system (even temporarily on another target) then create the partitions with different temporary names on the new drive (ex. /usr = /new_usr). Then I would ufsdump each file system on to the new disk and then ufsrestore the file systems on that disk. You could also use tar, cpio or dd to do this. Basically any unix copy command that has flags for keeping permissions the same. You can look at the man pages for each of the commands to figure out which is best for you. Then if you put the new drive in as the primary and reboot you should be OK. The file system names will change on the reboot when the file system table is read (as it was copied from the original disk).

by eujay

I copy HPUX hard drives every day. The simplest way to do this is using dd from the old drive to the new.

This is a method of copying drives that is relatively easy to do and works well for an occasional copy.

I hope this helps. If you have any questions feel free to email me at my alais.

This discussion is closed to new replies.