Operating System - HP-UX
1834137 Members
2295 Online
110064 Solutions
New Discussion

Disk scisi troubleshooting in general

 
SOLVED
Go to solution
katie1
Frequent Advisor

Disk scisi troubleshooting in general


I will be minding a rx2600 and a few other servers I am not familiar with UX OR lvm

not sure if this belongs here or in the LVM forum...


I would like to to be able to know how to gather the following info


## please feel free to answer questions in seperate posts

as each "full" response will have points assigned. ##


1)how many vg's there are in a particular server

2)how many physical disks in each VG

3)which is boot disk (without inspecting all the disks)

4)and how to check if they are mirrored or striped disks

5)where swap /dump file is on which disk

6)how to check conditions of disks

7)and how to check for sciscs bus errors

8)how to check for controller errors

9)how to get serial nr of the server remotely..


10) how to get model of the server remotely



and perhaps anything else related thanks:)
10 REPLIES 10
cnb
Honored Contributor
Solution

Re: Disk scisi troubleshooting in general



# 6

This is a great document that gets quoted here quite a bit:

http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf

Rgds,
cnb
Honored Contributor

Re: Disk scisi troubleshooting in general

Hi Katie,

#3 & #5

# lvlnboot -v

# setboot

# swapinfo

http://docs.hp.com/en/B2355-90692/swapinfo.1M.html

Rgds,

cnb
Honored Contributor

Re: Disk scisi troubleshooting in general

Hi (again):

#10

# machinfo (for integrity)

http://docs.hp.com/en/B9106-90007/machinfo.1.html

# model (for pa-risc)

Rgds,


cnb
Honored Contributor

Re: Disk scisi troubleshooting in general

#7 & 8:

# dmesg (to check the system log file for scsi or other error messages)

Depending upon how the system is set up for error event management, use STM/EMS or SFM to email events to root. #man monconfig or man stm

System Management Homepage

man #smh

Rgds,
Hakki Aydin Ucar
Honored Contributor

Re: Disk scisi troubleshooting in general

Hi,

I recommend to check these links;
http://www.tunza.com/books/hpux/storage1.html
http://hvelasco.admin.pagesperso-orange.fr/LVM%20HP-UX/root.htm
http://docs.hp.com/en/oshpux11.0.html#System%20Administration

by the way;

I recommend you to call local HP Support in case of any problem occurs if you are not familiar to LVM OR H-UX.
AnthonySN
Respected Contributor

Re: Disk scisi troubleshooting in general

#1 & #2
vgdisplay
man vgdisplay

#9
getconf MACHINE_SERIAL
or
/opt/ignite/bin/print_manifest
even machinfo will show the sr no
rariasn
Honored Contributor

Re: Disk scisi troubleshooting in general

Hi,


# 1

strings /etc/lvmtab | grep vg | wc -l

rgs
S. Ney
Trusted Contributor

Re: Disk scisi troubleshooting in general

1. several different ways some suggested above:
strings /etc/lvmtab
ll /dev/*/group (will show volume group name and minor group numbers)
vgdisplay

2. vgdisplay -v /dev/vgname
strings /etc/lvmtab

3. setboot -v

4. vgdisplay -v /dev/vgname (look at number of disks and lvol names)
then lvdisplay -v /dev/vgname/lvolname | more
(shows mirror copies and extent distribution)

5. swapinfo -tam (shows device swap and lvol name) lvdisplay -v /dev/vgname/lvol name | more (shows extent distribution)

6. ioscan (man ioscan as there a lot of options available) usually ioscan -funC disk or if 11.31 OS ioscan (extended options available), scsimgr command (do a search for 11.31 multipathing whitepaper), sasmgr command if you have sas disks

7. as suggested above dmesg, check syslog, and if 11.31OS scsimgr commands will give a lot of information into controllers, disks, etc.

8. see number 7

9. itanium processor machinfo, for both pa-risc and itanium /opt/ignite/bin/printmanifest or search for a tool called SysInfo which will install to /usr/bin/SysInfo

10. model

I've attached an older doc with commands to record system statistics. Some of the 1st commands in the doc still apply.
katie1
Frequent Advisor

Re: Disk scisi troubleshooting in general

Thanks to all for the useful docs, and replies

:)
katie1
Frequent Advisor

Re: Disk scisi troubleshooting in general

query resolved.-: