Sponsored Content
Full Discussion: HP-UX undetected disk drive
Operating Systems HP-UX HP-UX undetected disk drive Post 8188 by sam_pointer on Monday 8th of October 2001 06:53:10 AM
Old 10-08-2001
HP-UX undetected disk drive

[this is also posted in the dummies forum, apologise for duplication]

I have installed a new SCSI drive into an HP6000-SE SCSI tower conencted to an old HP9000. This device cannot be detected by SAM. HOWEVER, when doing an ioscan -f I get:


======================================================================
bc 0 root CLAIMED BUS_NEXUS
bc 1 56 bc CLAIMED BUS_NEXUS Bus Converter
lanmux 0 56/36 lanmux0 CLAIMED INTERFACE HP J2146A - 802.3 LAN
lan 1 56/36.1 lan3 CLAIMED INTERFACE
ext_bus 0 56/52 scsi1 CLAIMED INTERFACE HP 28655A - SE SCSI ID
=7
target 0 56/52.0 target CLAIMED DEVICE
tape 0 56/52.0.0 tape2 CLAIMED DEVICE HP HP35480A
target 6 56/52.1 target CLAIMED DEVICE
disk 5 56/52.1.0 disc3 CLAIMED DEVICE SEAGATE ST34371N
target 4 56/52.3 target CLAIMED DEVICE
disk 3 56/52.3.0 disc3 CLAIMED DEVICE SEAGATE ST32550N
target 5 56/52.4 target CLAIMED DEVICE
disk 4 56/52.4.0 disc3 CLAIMED DEVICE HP C3010M1
target 3 56/52.5 target CLAIMED DEVICE
disk 2 56/52.5.0 disc3 CLAIMED DEVICE HP C2490AM
target 2 56/52.6 target CLAIMED DEVICE
disk 1 56/52.6.0 disc3 CLAIMED DEVICE SEAGATE ST32550N
unknown -1 56/53 UNCLAIMED UNKNOWN HP 28655A - Parallel I
nterface
tty 0 56/56 mux2 CLAIMED INTERFACE MUX
ba 0 60 bus_adapter CLAIMED BUS_NEXUS Core I/O Adapter
lan 0 60/6 lan2 CLAIMED INTERFACE Built-in LAN
processor 0 62 processor CLAIMED PROCESSOR Processor
memory 0 63 memory CLAIMED MEMORY Memory

where the new disk is the ST43471N. Doing an ioscan -u gives:

H/W Path Class Description
========================================
56/36.1 lan
56/52.0.0 tape HP HP35480A
56/52.1.0 disk SEAGATE ST34371N
56/52.3.0 disk SEAGATE ST32550N
56/52.4.0 disk HP C3010M1
56/52.5.0 disk HP C2490AM
56/52.6.0 disk SEAGATE ST32550N
56/56 tty MUX
60/6 lan Built-in LAN

and an ioscan -k:


==========================================
bc
56 bc Bus Converter
56/36 lanmux HP J2146A - 802.3 LAN
56/36.1 lan
56/52 ext_bus HP 28655A - SE SCSI ID=7
56/52.0 target
56/52.0.0 tape HP HP35480A
56/52.1 target
56/52.1.0 disk SEAGATE ST34371N
56/52.3 target
56/52.3.0 disk SEAGATE ST32550N
56/52.4 target
56/52.4.0 disk HP C3010M1
56/52.5 target
56/52.5.0 disk HP C2490AM
56/52.6 target
56/52.6.0 disk SEAGATE ST32550N
56/53 unknown HP 28655A - Parallel Interface
56/56 tty MUX
60 ba Core I/O Adapter
60/6 lan Built-in LAN
62 processor Processor
63 memory Memory

which leaves me banging my head against a wall as to why the drive is undetected. I'll admit that I'm not too skilled in HP-UX hardware and configuration. As a hunch the dual entries of the 28655A Parallel interface in the output of ioscan -f seem suspicious.

I am about to remove the device in question and reboot the machine (this can't be done too ofter as the machine is a production server) to compare the outputs of ioscan before and after.

Any pointers? In advance, you'll save my life (and my hair) if you can help. Thanks:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

HP-UX undetected disk drive

I have installed a new SCSI drive into an HP6000-SE SCSI tower conencted to an old HP9000. This device cannot be detected by SAM. HOWEVER, when doing an ioscan -f I get: ====================================================================== bc 0 ... (2 Replies)
Discussion started by: sam_pointer
2 Replies

2. Filesystems, Disks and Memory

Disk drive and Ultra 10

I need more space on my Ultra 10, and was thinking of a pair of 60 or 80 GB 7200 rpm ATA/100 drives mirrored with DiskSuite. Will afterarket IDE drives work in the Sun box? Are there any issues? (1 Reply)
Discussion started by: 98_1LE
1 Replies

3. Filesystems, Disks and Memory

Disk Drive for Irix

I am looking for a Disk Drive for SGI Octane with Irix 6.4 . I was just hoping if someone out there can give me the vendor and part number ... Need a 9GB hopefully. (1 Reply)
Discussion started by: DPAI
1 Replies

4. Filesystems, Disks and Memory

Pointing one hard drive name to another disk

Pointing one hard drive name to another disk -------------------------------------------------------------------------------- I have 2 disk drives - s2d9 & s2d11 on a solaris Unix system It was mapped so that anything that tried to call s2d9 would be pointed to s2d11 since s2d9 was bad.... (2 Replies)
Discussion started by: andy57s
2 Replies

5. HP-UX

Rebuild disk or drive?

I thought I would post it again..once a bad drive is replaced need to rebuild it right?? Is disk and drive same? So what command need when the disk gets replaces. When i did diskinfo...and found out the bad disk...and need to replace that.. Thanks if someone could answer this question i have. (1 Reply)
Discussion started by: catwomen
1 Replies

6. UNIX for Advanced & Expert Users

The art of wrecking an hard disk drive.

Any creative ideas on how to wreck / secure clean an hard disk drive before disposal? dd if=/dev/zero of=/dev/disk_drive? shred -n whatever -z /dev/disk_drive? Magnet? (false sense of security) Fire? Hammer? Acid? Post your thoughts. (10 Replies)
Discussion started by: redoubtable
10 Replies

7. Solaris

Hard Errors on Disk Drive

Hi, What are the initial checks needs to be done while observing hard errors on one of the hard disk drive. Thanks, Babu. (1 Reply)
Discussion started by: lbreddy
1 Replies

8. UNIX for Dummies Questions & Answers

Unix machine as disk drive

Hello, This is my first post :) I wondered if it would be possible to connect a unix machine via USB as a disk drive in the same way as Android devices connects to the computers. The idea is to connect my debian machine to the television, that is compatible with USB pendrives. Then, the... (3 Replies)
Discussion started by: Strife
3 Replies

9. UNIX for Advanced & Expert Users

The disk drive for /tmp is not ready yet or not present && the disk drive for /boot is not ready yet

Hi Team when I boot the server I get this 2 errors : the disk drive for /tmp is not ready yet or not present the disk drive for /boot is not ready yet or not present and its stay like that , I m using Ubuntu 12.04 please if someone have any idea how to fix that problem . (1 Reply)
Discussion started by: SULTAN01
1 Replies
SG_RESET(8)							     SG3_UTILS							       SG_RESET(8)

NAME
sg_reset - sends SCSI device, target, bus or host reset; or checks reset state SYNOPSIS
sg_reset [-b] [-d] [-h] [-t] [-V] DEVICE DESCRIPTION
The sg_reset utility with no options (just a DEVICE) reports on the reset state (e.g. if a reset is underway) of DEVICE. When given a -d, -t, -b or -h option it requests a device, target, bus or host reset respectively. The ability to reset a SCSI target (often called a "hard reset" at the transport level) was added in linux kernel 2.6.27 . Low level driv- ers that support target reset hopefully reset a logical unit only when given the device reset (i.e. -d) option. This should removed the ambiguity of whether "device" meant LU or target that we have had in the past. In the linux kernel 2.6 series this utility can be called on sd, sr (cd/dvd), st or sg device nodes; if the user has appropriate permis- sions. In the linux kernel 2.4 series support for this utility first appeared in lk 2.4.19 and could only be called on sg device nodes. Various vendors made this capability available in their kernels prior to lk 2.4.19. OPTIONS
-b attempt a SCSI bus reset. This would normally be tried if the device reset (i.e. option -d) was not successful. -d attempt a SCSI device reset. If the device seems stuck, this is the first reset that should be tried. This assumes the linux scsi mid level error handler is not already in the process of resetting DEVICE. -h attempt a host adapter reset. This would normally be tried if both device reset (i.e. option -d) and bus reset (i.e. option -b) were not successful. -t attempt a SCSI target reset. This assumes the linux scsi mid level error handler is not already in the process of resetting the tar- get that contains the given DEVICE. -V prints the version string then exits. NOTES
The error recovery code within the linux kernel when faced with a SCSI command timing out and no response from the device (LU), first tries a device reset and if that is not successful tries a target reset. If that is not successful it tries a bus reset. If that is not success- ful it tries a host reset. Users of this utility should check whether such a recovery is already underway before trying to reset with this utility. The "device,target,bus,host" order is also recommended (i.e. first start with the smallest hammer). The above is a generalization and exact details will vary depending on the transport and the low level driver concerned. SAM-4 defines a hard reset, a logical unit reset and a I_T nexus reset. A hard reset is defined to be a power on condition, a microcode change or a transport reset event. A LU reset and an I_T nexus reset can be requested via task management function (and support for LU reset is mandatory). In Linux the SCSI subsystem leaves it up to the low level drivers as to whether a "device reset" is only for the addressed LU or all the LUs in the device that contains the addressed LU (i.e. a target reset). The additional of the target reset (i.e. option -t) should give more control in this area. The "bus reset" is a transport reset and may be a dummy operation, depending on the transport. A "host reset" attempts to re-initialize the HBA that the request passes through en route to the DEVICE. Note that a "host reset" and a "bus reset" may cause collateral damage. This utility does not allow individual SCSI commands (or tasks as they are called in SAM-4) to be aborted. SAM-4 defines ABORT TASK and ABORT TASK SET task management functions for that. Prior to SAM-3 there was a TARGET RESET task management function. Several transports still support that function and many associated linux low level drivers map the -t option to it. AUTHORS
Written by Douglas Gilbert. COPYRIGHT
Copyright (C) 1999-2009 Douglas Gilbert This software is distributed under the GPL version 2. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PUR- POSE. sg3_utils-1.28 July 2009 SG_RESET(8)
All times are GMT -4. The time now is 09:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy