Operating System - HP-UX
1752590 Members
4048 Online
108788 Solutions
New Discussion юеВ

Re: diskinfo: can't open /dev/rdsk/cXtYdZ: Device busy

 
SOLVED
Go to solution
DKC
Advisor

diskinfo: can't open /dev/rdsk/cXtYdZ: Device busy

Hi Experts,

# diskinfo /dev/rdsk/c3t2d0
diskinfo: can't open /dev/rdsk/c3t2d0: Device busy

# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
disk 2 0/1/1/1.2.0 sdisk CLAIMED DEVICE HP 73.4GST373453LC
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0

===========================
scsi

ext_bus 3 0/1/1/1 mpt CLAIMED INTERFACE SCSI Ultra320


# model
ia64 hp server rx2600

# uname -a
HP-UX rx26-208 B.11.31 U ia64 4008097843 unlimited-user license

1. Not a part of lvmtab
2. Restarted the system

=============================
# sar -d 1 3

HP-UX rx26-208 B.11.31 U ia64 08/05/09

03:28:31 device %busy avque r+w/s blks/s avwait avserv
03:28:32
03:28:33 disk36 1.00 0.50 5 64 0.00 3.91
03:28:34

Average disk36 0.33 0.50 2 21 0.00 3.91
[rx26-208]/
===============================

disk 36 is a different disk


Your answers are highly appreciated.

Regards,
Devkant
5 REPLIES 5
Torsten.
Acclaimed Contributor
Solution

Re: diskinfo: can't open /dev/rdsk/cXtYdZ: Device busy

Any related message in syslog? What does "mptconfig" tell you?

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!   
Basheer_2
Trusted Contributor

Re: diskinfo: can't open /dev/rdsk/cXtYdZ: Device busy

Hello Devkant,

what does this say
pvdisplay -v /dev/rdsk/c3t2d0

if this is being used by some other process

fuser -u /oracle/data1 -- list processes using a specific file

fuser -cu /oracle -- list processes using a file on /oracle

fuser -u /dev/vgora/lvol1 -- list process used on /dev/vgora/lvol1
Lijeesh N G_1
Respected Contributor

Re: diskinfo: can't open /dev/rdsk/cXtYdZ: Device busy

Hi Devkant,

Welcome to ITRC!!!!!!

I think it is a disk problem.

try with following,

#dd if=/dev/rdsk/c3t2d0 of=/dev/null bs=1024 count=50 <<==check is there any output
#rmsf -H
#ioscan -fnC disk <<==Check is it CLAIMED or not.
#insf -e -H

If still,
Check with SAM,
#sam
>go to disk and file system>disks>check for /dev/dsk/c3t2d0

Reagrds,
LIJEESH N G
DKC
Advisor

Re: diskinfo: can't open /dev/rdsk/cXtYdZ: Device busy

Hi,

Attached the out puts.

SMH is showing 0GB and mptconfig shows that there is no target. But why at all the ioconfig is showing it prpperly?

Regards,
Sooraj
R.K. #
Honored Contributor

Re: diskinfo: can't open /dev/rdsk/cXtYdZ: Device busy

Hi,

What are the results of "dd" and "rmsf/insf"?

If you have physical access to the disk, can you see any blinking activity on the disk while 'dd' is running.

Try running 'dd' on entire disk.

Else chances are for a bad disk.
Don't fix what ain't broke