1755725 Members
2739 Online
108837 Solutions
New Discussion юеВ

external storage

 
SOLVED
Go to solution
sreedhar2u
Frequent Advisor

external storage

Hi,

I am running HP-UX 11.11 (server Model 9000/800/rp3440). I have external storage attached to HP server through SCSI. external storage was working fine till I rebooted the server. I am not able to see the lvm's which are on external storage. ther are not getting mounted. Please let me know how to troubleshoot. I am able to see the disks (3 * 36GB)

{HP-UX-root}# ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adapter (880)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
usb 0 0/0/1/0 hcd CLAIMED INTERFACE NEC USB Interface
usbhub 0 0/0/1/0.1 hub CLAIMED DEVICE USB Root Hub
usb 1 0/0/1/1 hcd CLAIMED INTERFACE NEC USB Interface
usbhub 1 0/0/1/1.1 hub CLAIMED DEVICE USB Root Hub
/dev/hub
usb 2 0/0/1/2 ehci CLAIMED INTERFACE NEC USB Interface
sideba 0 0/0/2/0 side_ba CLAIMED INTERFACE CMD IDE controller
ext_bus 0 0/0/2/0.0 side CLAIMED INTERFACE IDE
target 0 0/0/2/0.0.0 tgt CLAIMED DEVICE
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
target 1 0/0/2/0.0.7 tgt CLAIMED DEVICE
ctl 0 0/0/2/0.0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
ext_bus 1 0/0/2/0.1 side CLAIMED INTERFACE IDE
target 2 0/0/2/0.1.7 tgt CLAIMED DEVICE
ctl 1 0/0/2/0.1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ext_bus 2 0/1/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD
target 3 0/1/1/0.0 tgt CLAIMED DEVICE
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
target 4 0/1/1/0.1 tgt CLAIMED DEVICE
disk 6 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
target 5 0/1/1/0.7 tgt CLAIMED DEVICE
ctl 2 0/1/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0
ext_bus 3 0/1/1/1 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD
target 6 0/1/1/1.7 tgt CLAIMED DEVICE
ctl 3 0/1/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c3t7d0
lan 0 0/1/2/0 igelan CLAIMED INTERFACE HP PCI 1000Base-T Core
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 3 0/3 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ext_bus 5 0/3/1/0 c8xx CLAIMED INTERFACE SCSI C1010 Ultra160 Wide LVD A6828-60101
target 7 0/3/1/0.0 tgt CLAIMED DEVICE
disk 2 0/3/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336607LC
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
target 8 0/3/1/0.2 tgt CLAIMED DEVICE
disk 3 0/3/1/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336607LC
/dev/dsk/c5t2d0 /dev/rdsk/c5t2d0
target 9 0/3/1/0.4 tgt CLAIMED DEVICE
disk 4 0/3/1/0.4.0 sdisk CLAIMED DEVICE HP 36.4GMAP3367NC
/dev/dsk/c5t4d0 /dev/rdsk/c5t4d0
target 10 0/3/1/0.7 tgt CLAIMED DEVICE
ctl 5 0/3/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c5t7d0
ba 4 0/4 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 5 0/6 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
ba 6 0/7 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (783)
tty 0 0/7/1/0 asio0 CLAIMED INTERFACE PCI SimpleComm (103c1290)
/dev/diag/mux0 /dev/mux0 /dev/tty0p0
tty 1 0/7/1/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/mux1 /dev/tty1p2
/dev/diag/mux1 /dev/tty1p0 /dev/tty1p4
unknown -1 0/7/2/0 UNCLAIMED UNKNOWN PCI Display (10025159)
memory 0 8 memory CLAIMED MEMORY Memory
ipmi 0 16 ipmi CLAIMED INTERFACE IPMI Controller
/dev/ipmi
processor 0 128 processor CLAIMED PROCESSOR Processor
processor 1 129 processor CLAIMED PROCESSOR Processor



21 REPLIES 21
Horia Chirculescu
Honored Contributor

Re: external storage

Check the SCSI cable/power connection/etc of your attached device.

You could do a

insf -e

If your device is a tape, then

ioscan -fnCtape

Best regards,
Horia.
Best regards from Romania,
Horia.
sreedhar2u
Frequent Advisor

Re: external storage

SCSI cable is properly attached and power is on to the external storare

{HP-UX-root}# insf -e
insf: Unable to load the driver: drmfglinsf: Unable to load the driver: gvid_him_fglrxinsf: Unable to load the driver: drmfglrxinsf: Unable to load the driver: gvid_him_consinsf: Installing special files for hub instance 0 address 0/0/1/0.1
insf: Installing special files for hub instance 1 address 0/0/1/1.1
insf: Installing special files for sdisk instance 0 address 0/0/2/0.0.0.0
insf: Installing special files for sctl instance 0 address 0/0/2/0.0.7.0
insf: Installing special files for sctl instance 1 address 0/0/2/0.1.7.0
insf: Installing special files for sdisk instance 1 address 0/1/1/0.0.0
insf: Installing special files for sdisk instance 6 address 0/1/1/0.1.0
insf: Installing special files for sctl instance 2 address 0/1/1/0.7.0
insf: Installing special files for sctl instance 3 address 0/1/1/1.7.0
insf: Installing special files for sdisk instance 2 address 0/3/1/0.0.0
insf: Installing special files for sdisk instance 3 address 0/3/1/0.2.0
insf: Installing special files for sdisk instance 4 address 0/3/1/0.4.0
insf: Installing special files for sctl instance 5 address 0/3/1/0.7.0
insf: Installing special files for asio0 instance 0 address 0/7/1/0
insf: Installing special files for asio0 instance 1 address 0/7/1/1
insf: Installing special files for ipmi instance 0 address 16
insf: Unable to unload the driver: drmfglinsf: Unable to unload the driver: gvid_him_fglrxinsf: Unable to unload the driver: drmfglrxinsf: Unable to unload the driver: gvid_him_consinsf: Installing special files for pseudo driver cn
insf: Installing special files for pseudo driver mm
insf: Installing special files for pseudo driver devkrs
insf: Installing special files for pseudo driver ptym
insf: Installing special files for pseudo driver ptys
insf: Installing special files for pseudo driver ip
insf: Installing special files for pseudo driver arp
insf: Installing special files for pseudo driver rawip
insf: Installing special files for pseudo driver tcp
insf: Installing special files for pseudo driver udp
insf: Installing special files for pseudo driver stcpmap
insf: Installing special files for pseudo driver nuls
insf: Installing special files for pseudo driver netqa
insf: Installing special files for pseudo driver dmem
insf: Installing special files for pseudo driver diag0
insf: Installing special files for pseudo driver telm
insf: Installing special files for pseudo driver tels
insf: Installing special files for pseudo driver tlclts
insf: Installing special files for pseudo driver tlcots
insf: Installing special files for pseudo driver iomem
insf: Installing special files for pseudo driver tlcotsod
insf: Installing special files for pseudo driver dmp
insf: Installing special files for pseudo driver vols
insf: Installing special files for pseudo driver dev_config
insf: Installing special files for pseudo driver strlog
insf: Installing special files for pseudo driver sad
insf: Installing special files for pseudo driver echo
insf: Installing special files for pseudo driver dlpi
insf: Installing special files for pseudo driver ptm
insf: Installing special files for pseudo driver pts
insf: Installing special files for pseudo driver beep
insf: Installing special files for pseudo driver framebuf
insf: Installing special files for pseudo driver diag1
insf: Installing special files for pseudo driver klog
insf: Installing special files for pseudo driver sy
insf: Installing special files for pseudo driver kepd
insf: Installing special files for pseudo driver diag2
insf: Installing special files for pseudo driver root
Horia Chirculescu
Honored Contributor

Re: external storage

Check your kernel driver status. Maybe the driver was removed from the current kernel.

Use SAM Kernel Configuration/Drivers

For the stape (SCSI tape driver), you should read at the current state and pending state "In"

Best regards,
Horia.
Best regards from Romania,
Horia.
Elmar P. Kolkman
Honored Contributor
Solution

Re: external storage

Before trying to access data on the disks, you need to make sure you can access the disks.

You can do a 'strings /etc/lvmtab' to make sure which devices were in the volumegroups. Then make sure those devices show up in "ioscan -fnkC disk".

If the external disks are the visible, you might need to do a "vgchange -a y " before you can access the logical volumes.
Every problem has at least one solution. Only some solutions are harder to find.
Horia Chirculescu
Honored Contributor

Re: external storage

Which external storage are we talking about here?

http://docs.hp.com/en/9529/hpux_io_devices.htm

Best regards,
Horia.

Best regards from Romania,
Horia.
Torsten.
Acclaimed Contributor

Re: external storage

What happens if you try to activate the VG, e.g.

# vgchange -a y vg__

# vgdisplay -v vg__

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
sreedhar2u
Frequent Advisor

Re: external storage

{HP-UX-root}# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 6 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
disk 2 0/3/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336607LC
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
disk 3 0/3/1/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336607LC
/dev/dsk/c5t2d0 /dev/rdsk/c5t2d0
disk 4 0/3/1/0.4.0 sdisk CLAIMED DEVICE HP 36.4GMAP3367NC

when I am trying to active vg's:

{HP-UX-root}# vgchange -a y vg01
vgchange: /etc/lvmconf//lvm_lock: Permission denied
{HP-UX-root}# vgdisplay -v vg01
vgdisplay: /etc/lvmconf//lvm_lock: Permission denied

I logged in as root.
Torsten.
Acclaimed Contributor

Re: external storage

Did you do a shutdown or a reboot only? The lock file is probably left over - try to delete it.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Elmar P. Kolkman
Honored Contributor

Re: external storage

First make sure that no LVM commands are running (lvchange, for instance). Running

# ps -ef | egrep 'lv|vg'

could help.
Every problem has at least one solution. Only some solutions are harder to find.