I am new to HP-UX.
I have an 8GB drive that is my root drive, contained in a Volume Group.
I would like to clone that drive to another drive, which is 18.4GB. The other drive is not in a volume group.
I am using this simple command:
# dd if=/dev/dsk/c0t6d0 of=/dev/dsk/c0t5d0
The command fails with this error:
I/O error
387097+0 records in
387096+1 records out
I have been able to successfully run this command on another HP-UX machine that is running the identical OS level. The root drive is only 4GB on the other host, half the size of the problem host.
I am running HP-UX 10.20.
Thanks in advance for any help.
-Eric
Post the output of the following commands:
diskinfo -v /dev/rdsk/c0t6d0
diskinfo -v /dev/rdsk/c0t5d0
Also run "lssf /dev/dsk/c0t5d0" to get the hardware path of the device. this will be something like 10/0.4.0. Run cstm. At the cstm prompt, type "map". Look at the map and find the line for the disk. Look in column one to get the device number. Let's say the device number is 7. Then run
sel dev 7
info
infolog
quit
And post the results of that.
Thank you for your reply. Here is the info you requested:
# diskinfo -v /dev/rdsk/c0t6d0
SCSI describe of /dev/rdsk/c0t6d0:
vendor: SEAGATE
product id: ST39216N
type: direct access
size: 8971292 Kbytes
bytes per sector: 512
rev level: 0010
blocks per disk: 17942584
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
(Additional inquiry bytes: (32)42 (33)4e (34)30 (35)52 (36)31 (37)5a (38)43 (39)0 (40)0 (41)0 (42)0 (43)0 (44)0 (45)0 (46)0 (47)0 (48)0 (49)0 (50)0 (51)0 (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 (91)0 (92)43 (93)6f (94)70 (95)79 (96)72 (97)69 (98)67 (99)68 (100)74 (101)20 (102)28 (103)63 (104)29 (105)20 (106)32 (107)30 (108)30 (109)30 (110)20 (111)53 (112)65 (113)61 (114)67 (115)61 (116)74 (117)65 (118)20 (119)41 (120)6c (121)6c (122)20 (123)1 (124)11 (125)c8 (126)38 (127)0 (128)0 (129)2 (130)0 (131)0 (132)0 (133)0 (134)0 (135)0 (136)0 (137)0 (138)0 )
# diskinfo -v /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST318418N
type: direct access
size: 19457024 Kbytes
bytes per sector: 512
rev level: 0003
blocks per disk: 38914049
ISO version: 0
ECMA version: 0
ANSI version: 3
removable media: no
response format: 2
(Additional inquiry bytes: (32)4a (33)4a (34)30 (35)38 (36)30 (37)54 (38)4c (39)0 (40)0 (41)0 (42)0 (43)0 (44)0 (45)0 (46)0 (47)0 (48)0 (49)0 (50)0 (51)0 (52)0 (53)0 (54)0 (55)0 (56)0 (57)0 (58)0 (59)0 (60)0 (61)0 (62)0 (63)0 (64)0 (65)0 (66)0 (67)0 (68)0 (69)0 (70)0 (71)0 (72)0 (73)0 (74)0 (75)0 (76)0 (77)0 (78)0 (79)0 (80)0 (81)0 (82)0 (83)0 (84)0 (85)0 (86)0 (87)0 (88)0 (89)0 (90)0 (91)0 (92)43 (93)6f (94)70 (95)79 (96)72 (97)69 (98)67 (99)68 (100)74 (101)20 (102)28 (103)63 (104)29 (105)20 (106)32 (107)30 (108)30 (109)32 (110)20 (111)53 (112)65 (113)61 (114)67 (115)61 (116)74 (117)65 (118)20 (119)41 (120)6c (121)6c (122)20 (123)2 (124)51 (125)c8 (126)1 (127)0 (128)0 (129)2 (130)0 (131)0 (132)0 (133)0 (134)0 (135)0 (136)0 (137)0 (138)0 )
# lssf /dev/dsk/c0t5d0
sdisk card instance 0 SCSI target 5 SCSI LUN 0 section 0 at address 2/0/1.5.0 /dev/dsk/c0t5d0
cstm>map
e9800-2
Dev Last Last Op
Num Path Product Active Tool Status
=== ==================== ========================= =========== =============
1 1 Graphics Interface (Artis
2 2 Core I/O Adapter (1b)
3 2/0/1 SCSI Interface (1b)
4 2/0/1.2.0 SCSI Disk (PLEXTORCD-ROM)
5 2/0/1.3.0 SCSI Tape (SEAGATEDAT)
6 2/0/1.4.0 SCSI Floppy Disk (TEACFC-
7 2/0/1.5.0 SCSI Disk (SEAGATEST31841
8 2/0/1.6.0 SCSI Disk (SEAGATEST39216
9 2/0/2 LAN Interface (1b)
10 2/0/4 RS-232 Interface (1b)
11 2/0/6 Centronics Interface (1b)
12 2/0/8 Audio Interface (1b)
13 2/0/11 Built-in Keyboard/Mouse (
14 7 Core I/O Adapter (1b)
15 7/0/2 RS-232 Interface (21)
16 8 CPU (604)
17 9 MEMORY (0)
18 15 VME Adapter (1b)
19 15/0/2 Unknown ()
20 15/0/3 Unknown ()
21 15/0/4 Unknown ()
22 15/0/5 Unknown ()
cstm>
cstm>sel dev 7
cstm>info
-- Updating Map --
Updating Map...
cstm>infolog
-- Converting a (784) byte raw log file to text. --
Preparing the Information Tool Log for SCSI Disk on path 2/0/1.5.0 File ...
.... e9800-2 : 192.168.1.100 ....
-- Information Tool Log for SCSI Disk on path 2/0/1.5.0 --
Log creation time: Fri May 13 10:41:41 2005
Hardware path: 2/0/1.5.0
Product Id: ST318418N Vendor: SEAGATE
Device Type: SCSI Disk Firmware Rev: 0003
Device Qualifier: SEAGATEST318418N Logical Unit: 0
Serial Number: 3JJ080TL00007328LSY3
Capacity (M Byte): 19001.00
Block Size: 512
Max Block Address: 38914048
Error Logs
Read Errors: 1 Buffer Overruns: N/A
Read Reverse Errors: N/A Buffer Underruns: N/A
Write Errors: 0 Non-Medium Errors: 1
Verify Errors: 0
The only reason that I can imagine for the result that you got is to take "I/O error" literally. That is the disk actually failed. I don't believe that I have seen a non-medium error before. I think that means the electronics in the drive rather than the actual disk. I suspect that your destination disk is bad.
Thank you. I am going to have the drive replaced and give it another try. I will post the results.
Thanks,
Eric