Make a copy of a unix HDD


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Make a copy of a unix HDD
# 1  
Old 03-20-2007
Make a copy of a unix HDD

i have this HDD with SCO 5.0.6 and i'm getting this errors
WARNING: wd0: Error on fixed disk dev 1/42, block=4829, cmd=0x000000C8
Sun Mar 11 05:50:08 2007
status=0x00000040, LBA sector=1285723, cylinder/head=5022/0
WARNING: wd0: Error on fixed disk dev 1/42, block=4829, cmd=0x000000C8
status=0x00000040, LBA sector=1285723, cylinder/head=5022/0
WARNING: wd0: Error on fixed disk dev 1/42, block=4829, cmd=0x000000C8
status=0x00000040, LBA sector=1285723, cylinder/head=5022/0

I need to be able to make a copy of this HDD into another one so i dont have to reinstall everything ,

Can anyone of you guys let me know what would be the best software to get this done,

thanks a lot
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Copy directories in make file

LD:=C:/WindRiver/diab/5.9.3.0/WIN32/bin/dld.exe CFILES:=$(wildcard *.c) OBJFILES:=$(subst .c,.o, $(CFILES)) OBJ_PATH:=$(PRJ_PATH)/out/ ADDOBJFILES := $(addprefix $(OBJ_PATH),$(OBJFILES)) FILES:=C:/EB/tresos/workspace/Test_Spi/output/src copyfiles: cp ... (3 Replies)
Discussion started by: ushacy
3 Replies

2. AIX

IBM AIX Internal HDD vs SAN HDD and Oracle

Hi Folks, I am facing an issue with the performance. P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 Replies)
Discussion started by: filosophizer
7 Replies

3. Solaris

NTFS HDD readable from UNIX

I have somehow taken on the collateral duties of System Administrator for our small internal network. At current we have one main file server with 48 SATA swappable drives under the Solaris 10 OS. My question is this. Our analysts are bringing back data from the field in Windows formatted... (8 Replies)
Discussion started by: cbrowne20
8 Replies

4. Shell Programming and Scripting

How to make copy work faster

I am trying to copy a folder which contains a list of C executables. It takes 2 mins for completion,where as the entire script takes only 3 more minutes for other process. Is there a way to copy the folder faster so that the performance of the script will improve? (2 Replies)
Discussion started by: prasperl
2 Replies

5. UNIX for Dummies Questions & Answers

How to copy my system hdd usb stick from 4GB to 8GB ?

Hi, my router is my Linux embedded device. I have system installed on HDD 4GB usb stick, part1 swap, part2 /opt , part3 data. I need to copy my system to new HDD 8GB usb stick. What is a way for 4GB > 4GB HDD and what for 4GB > 8GB As I remeber, I can copy image of my 4GB HDD usb stick... (7 Replies)
Discussion started by: jack2
7 Replies

6. UNIX for Dummies Questions & Answers

Old HDD copy to new HDD ? im lost...

Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4. The current HDD is an IBM DGHS COMP IEC -950 FRU PN#... (5 Replies)
Discussion started by: Chevy89rocks
5 Replies

7. UNIX for Dummies Questions & Answers

How to make a FreeBSD hdd writable from WinXP?

Hey, I was wondering how I can write/edit files on my FreeBSD hdd from windows XP. I specifically need to fix a change I made to /boot/defaults/loader.conf that made it impossible to boot into my FreeBSD hdd. It's a simple fix, but since I can't boot into FreeBSD, I have to fix it from my Windows... (2 Replies)
Discussion started by: Xandor
2 Replies

8. Filesystems, Disks and Memory

Unix not Booting after defect HDD

Hi there, Here I have an old HP LC3 server from a client of ours. The server was running in Raid1 Mirror mode. Yesterday the server didn't boot anymore and now I have concluded that 1 drive is damaged. I pulled it out so it can boot from the "good" one. Unfortuanally this didn't work. I... (3 Replies)
Discussion started by: severt
3 Replies

9. Solaris

Unix not recognising new HDD

I've just replaced the secondary disk drive (was 4 Gb) with a Seagate Barracuda 7200 200 Gb. However the OS seems to think this is only 500 Mb and a spin speed of 5400, although it correct recognises the drive as Seagate ST3200822A. I take it that it still thinks the old drive is attached. How... (5 Replies)
Discussion started by: wiggiesworld
5 Replies

10. UNIX for Advanced & Expert Users

SCO UNIX HDD full backup

HI ALL, I need to backup HDD with SCO UNIX. I need to have a full functionaly backup of this hard disk. Does anybody have any tool or subsription how to do it. I tried some SW, but after when I tried to use this copy of my original disk "can not find a root directory". Thanks in advance. (1 Reply)
Discussion started by: jardas
1 Replies
Login or Register to Ask a Question
BAD144(8)						    BSD System Manager's Manual 						 BAD144(8)

NAME
bad144 -- read/write DEC standard 144 bad sector information SYNOPSIS
bad144 [-c] [-f] [-v] disk [sno [bad ...]] bad144 -a [-c] [-f] [-v] disk [bad ...] DESCRIPTION
bad144 can be used to inspect the information stored on a disk that is used by the disk drivers to implement bad sector forwarding. The bad144 tool is only installed on supported platforms. Available options: -a The argument list consists of new bad sectors to be added to an existing list. The new sectors are sorted into the list, which must have been in order. Replacement sectors are moved to accommodate the additions; the new replacement sectors are cleared. -c Forces an attempt to copy the old sector to the replacement, and may be useful when replacing an unreliable sector. -f (vax only) For a RP06, RM03, RM05, Fujitsu Eagle, or SMD disk on a MASSBUS, the -f option may be used to mark the new bad sectors as ``bad'' by reformatting them as unusable sectors. This option is required unless the sectors have already been marked bad, or the system will not be notified that it should use the replacement sector. This option may be used while running multiuser; it is no longer necessary to perform format operations while running single-user. -v The entire process is described as it happens in gory detail if -v (verbose) is given. The format of the information is specified by DEC standard 144, as follows. The bad sector information is located in the first 5 even num- bered sectors of the last track of the disk pack. There are five identical copies of the information, described by the dkbad structure. Replacement sectors are allocated starting with the first sector before the bad sector information and working backwards towards the begin- ning of the disk. A maximum of 126 bad sectors are supported. The position of the bad sector in the bad sector table determines the replacement sector to which it corresponds. The bad sectors must be listed in ascending order. The bad sector information and replacement sectors are conventionally only accessible through the ``c'' file system partition of the disk. If that partition is used for a file system, the user is responsible for making sure that it does not overlap the bad sector information or any replacement sectors. Thus, one track plus 126 sectors must be reserved to allow use of all of the possible bad sector replacements. The bad sector structure is as follows: struct dkbad { int32_t bt_csn; /* cartridge serial number */ u_int16_t bt_mbz; /* unused; should be 0 */ u_int16_t bt_flag; /* -1 => alignment cartridge */ struct bt_bad { u_int16_t bt_cyl; /* cylinder number of bad sector */ u_int16_t bt_trksec; /* track and sector number */ } bt_bad[126]; }; Unused slots in the bt_bad array are filled with all bits set, a putatively illegal value. bad144 is invoked by giving a device name (e.g. wd0, hk0, hp1, etc.). With no optional arguments it reads the first sector of the last track of the corresponding disk and prints out the bad sector information. It issues a warning if the bad sectors are out of order. bad144 may also be invoked with a serial number for the pack and a list of bad sectors. It will write the supplied information into all copies of the bad-sector file, replacing any previous information. Note, however, that bad144 does not arrange for the specified sectors to be marked bad in this case. This procedure should only be used to restore known bad sector information which was destroyed. It is no longer necessary to reboot to allow the kernel to reread the bad-sector table from the drive. SEE ALSO
badsect(8) HISTORY
The bad144 command appeared in 4.1BSD. BUGS
It should be possible to format disks on-line under 4BSD. It should be possible to mark bad sectors on drives of all type. On an 11/750, the standard bootstrap drivers used to boot the system do not understand bad sectors, handle ECC errors, or the special SSE (skip sector) errors of RM80-type disks. This means that none of these errors can occur when reading the file /netbsd to boot. Sectors 0-15 of the disk drive must also not have any of these errors. The drivers which write a system core image on disk after a crash do not handle errors; thus the crash dump area must be free of errors and bad sectors. BSD
June 6, 1993 BSD