04-24-2009
commands hanging when querying hardware
Hi all
Got another strange one. If I try to enquire about the hardware, the command hangs implying Ive got a hardware issue. So, if I execute :-
iostat -en
sysdef - ( stops at the devices part )
format
cfgadm -al
Anything that searches the devices, then the command hangs.
The server has two se3310 arrays attached via dual bus configuration. A disk had failed on there, so I thought this was causing the issue. This was replaced, but still thesre commands dont work, i.e. device issue
I init 0, reset-all, probe-scsi-all to see if devices were visible, and they were, all , poweroff / poweron, probe-scsi-all, boot -s but still something is causing these issues on the device bus.
Probe-scsi-all :-
{1} ok probe-scsi-all
This command may hang the system if a Stop-A or halt command
has been executed. Please type reset-all to reset the system
before executing this command.
Do you wish to continue? (y/n) y
/pci@1f,700000/scsi@2,1
/pci@1f,700000/scsi@2
Volume 0
Unit 0 Disk LSILOGIC1030 IM IM1000 143374706 Blocks, 70007 MB
Target 2
Unit 0 Disk SEAGATE ST373307LSUN72G 0707 143374738 Blocks, 70007 MB
Target 3
Unit 0 Disk SEAGATE ST373307LSUN72G 0707 143374738 Blocks, 70007 MB
/pci@1d,700000/pci@2/scsi@5
/pci@1d,700000/pci@2/scsi@4
Target 0
Unit 0 Device type d SUN StorEdge 3310 0325
Unit 1 Disk SUN StorEdge 3310 0325 <------------ disks
Unit 2 Disk SUN StorEdge 3310 0325
Unit 3 Disk SUN StorEdge 3310 0325
Unit 4 Disk SUN StorEdge 3310 0325
Target 1
Unit 0 Device type d SUN StorEdge 3310 0325 - SBK
??????????????????????? <------------ no disks mentioned although this array is a mirror of the above
???????????????????????
???????????????????? ??
/pci@1c,600000/pci@1/scsi@5
/pci@1c,600000/pci@1/scsi@4
Target 0
Unit 0 Device type d SUN StorEdge 3310 0325
Target 1
Unit 0 Device type d SUN StorEdge 3310 0325
Look at the line with SBK next to it. I reckon I should see addtional lines underneath referring to the disks in that array, but I dont. So, Im assuming Ive got issues eith that array. ?? What do u guys reckon ?
Any ideas what I can look for ? use to find the offending device ?
SBK
Last edited by sbk1972; 04-24-2009 at 08:43 AM..
10 More Discussions You Might Find Interesting
1. AIX
Hello again,
I would like to know if the following commands:
diag, errpt, lscfg, lspv, lsvg, lsps, lslv for AIX and
prtdiag, psrinfo, sysdef for SUN are native to these systems or if they are in fact scripts that are added after the unix installation.
Thank you in advance.
Have a nice day (4 Replies)
Discussion started by: VeroL
4 Replies
2. HP-UX
HI ALL,
I am new tp HPUX and i am looking for command that will retive me the following information on HPUX:
Chassis Name & Serial Number:
Monitor
Name
BIOS
Name
EthernetPort
Name
IPEndpoint
Name
PointingDevice
Name
Keyboard
NetworkPrinter
Name
LocalPrinter (5 Replies)
Discussion started by: Veenak15
5 Replies
3. AIX
Hi All,
Needed commands to find Monitor , chassis & keyboard related information on AIX.
Please please please help.
Thanks
VK (2 Replies)
Discussion started by: Veenak15
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I just tried to run this command: /usr/lib/sendmail -d0.1 -bt < /dev/null | grep -i version
Its doing what I want: writing out the sendmail version.
But on some machines it writing the version and then exit to the prompt but on others its writing the version but then hangs, I need to... (0 Replies)
Discussion started by: jOOc
0 Replies
5. Shell Programming and Scripting
Hi,
I have a shell script to query the database to get the statistics of tables like sum,max,min,etc of all numeric columns,max and min of date columns and length of varchar columns for each and every table. There are nearly 1600 tables. My script queries few tables like about 100 tables and... (3 Replies)
Discussion started by: ragavhere
3 Replies
6. HP-UX
Hello, all...
I've got an older HP-UX 11i machine hooked up to an HP VA array. I've never worked with VA arrays, so I was wondering if anyone could point me in the direction of some documentation on querying and manipulating VAs (HP VAs for Dummies or something).
I'm used to EMC arrays, so... (2 Replies)
Discussion started by: kknigga
2 Replies
7. Red Hat
Hi,
We have one application running where there is Linux Machine. For some some process I found the following message came,
error 5.8/116455-02/116455-02.zip
Error in querying file information:
Permission denied
:confused:
If anybody has any idea for this please let me... (2 Replies)
Discussion started by: sptr
2 Replies
8. Shell Programming and Scripting
I have a few databases that i need to get some basic output from... so I'll be returning 1 or 2 records from a variety of different databases and the input queries will always differ.
What im looking for is a generic script that I can use across of the databases. Theory being i have:
... (2 Replies)
Discussion started by: atelford
2 Replies
9. Hardware
Are there any other useful hardware commands to get information about your hardware? Is there any information that can't be found with these commands?
cat /proc/cpuinfo
cat /proc/meminfo
dmesg
lspci
sudo dmidecode
cpuid | more
lspci -v | grep VGA
sudo lspci -v -s 00:02.0
sudo lspci -vvv... (12 Replies)
Discussion started by: cokedude
12 Replies
10. Shell Programming and Scripting
Hi All,
I'm using below code
entry_data_control=`sqlplus ${sysuser}/${syspwd} << data_control
whenever sqlerror exit sql.sqlcode;
whenever oserror exit failure;
INSERT INTO LSHADMIN.STUDY_LEVEL_TABLE(SESSION_SID,SESSION_SERIAL_NO,FILE_NAME)
... (3 Replies)
Discussion started by: Pratiksha Mehra
3 Replies
LEARN ABOUT HPUX
io_redirect_dsf
io_redirect_dsf(1M) io_redirect_dsf(1M)
NAME
io_redirect_dsf - redirect the persistent device special file from one device to a different device
SYNOPSIS
old_hw_path new_hw_path
old_dsf new_dsf
DESCRIPTION
The command reassigns a persistent device special file (DSF) to a new device when both devices belong to the same class. If the new device
does not already exist, before reassigning it you must create the DSF by running either or (see insf(1M) and mksf(1M)).
In the first form, the command accepts as input the lun hardware paths of the device to be replaced and the new device. In the second
form, the command accepts as input the persistent DSFs of the device to be replaced and the new device.
Note: The device is inaccessible while the redirection is taking place.
Options
recognizes the following options:
Specify the hardware path of the device that is being replaced.
returns an error if old_hw_path is not a lun hardware path.
Specify the hardware path of the new device.
returns an error if new_hw_path is not a lun hardware path.
Specify the device special file of the device that is being replaced.
returns an error if old_dsf is not a persistent DSF.
Specify the device special file of the new device.
returns an error if new_dsf is not a persistent DSF.
RETURN VALUE
Exit values are:
Successful completion.
An error condition occurred.
EXAMPLES
Redirect the DSF with the hardware path at to point to the hardware path at Both disks belong to the class.
Redirect the DSF to point to the device with DSF Both DSFs represent devices that belong to the class
WARNINGS
You must be superuser to execute the command.
SEE ALSO
insf(1M), mksf(1M), intro(7).
io_redirect_dsf(1M)