cancel
Showing results for 
Search instead for 
Did you mean: 

file system not accessible.

gab_in
Regular Advisor

file system not accessible.

Hi,

One of our file system (data2) is not accessible. It is configured on a single disk (PV) and seperate VG. I have pasted the output of the diskinfo, ioscan and dd below for the same.

Please help to recover the same.

# diskinfo /dev/rdsk/c0t3d0
diskinfo: can't SIOC_INQUIRY /dev/rdsk/c0t3d0: No such device or address

# ioscan -funC disk
disk 3 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DG146ABAB4
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0

# dd if=/dev/rdsk/c0t3d0 of=/dev/null bs=1024k
dd read error: No such device or address
0+0 records in
0+0 records out

If I am doing ls -ltr /data2 .. it is getting hanged.

Thanks in advance

Gab
8 REPLIES
Avinash20
Honored Contributor

Re: file system not accessible.

Check for event.log for error with regards to H/W path 0/4/1/0.0.0.3.0

>> /var/opt/resmon/log/event.log
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
gab_in
Regular Advisor

Re: file system not accessible.

Hi,

Thanks for the reply. Please find the attached error.log

Please help to find out the issue.

Thanks
Gab
sujit kumar singh
Honored Contributor

Re: file system not accessible.

Hi


Please post the O/Ps for

#strings /etc/lvmtab
#bdf
#ioscan -fnCdisk
#vgdisplay -v /dev/


that will help know better if that disk is dead or what.
it can be shown in the ioscan but dd says something else !!!

This is a local disk as the ioscan suggets.

Regards
Sujit
smatador
Honored Contributor

Re: file system not accessible.

Hi,

I suggest you to see this thread.
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=984677
I think it's a disk failure... maybe you 'll go to see the disk in NO HW
gab_in
Regular Advisor

Re: file system not accessible.

Hi Sujit,

Please find below the output. Thanks for ur reply.


# strings /etc/lvmtab
/dev/vg00
/dev/disk/disk10_p2
/dev/dsk/c0t2d0
/dev/dsk/c0t4d0
/dev/vg01
/dev/dsk/c0t1d0
/dev/vg02
/dev/dsk/c0t3d0
#

# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1048576 633208 412144 61% /
/dev/vg00/lvol1 1835008 282520 1540392 15% /stand
/dev/vg00/lvol8 25690112 578912 24915520 2% /var
/dev/vg00/lvol7 3964928 2956792 1000488 75% /usr
/dev/vg00/lvol4 524288 98544 422848 19% /tmp
/dev/vg00/lvol6 6094848 5089032 998576 84% /opt

# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
===============================================================================
disk 1 0/0/2/1.0.16 UsbScsiAdaptor CLAIMED DEVICE OO Device Driver
/dev/deviceFileSystem/Usb/MassStorage/dsk/disk@hp-1008+294=A60020000001
/dev/deviceFileSystem/Usb/MassStorage/rdsk/disk@hp-1008+294=A60020000001
disk 8 0/4/1/0.0.0.0.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t0d0 /dev/dsk/c0t0d0s2 /dev/rdsk/c0t0d0 /dev/rdsk/c0t0d0s2
/dev/dsk/c0t0d0s1 /dev/dsk/c0t0d0s3 /dev/rdsk/c0t0d0s1 /dev/rdsk/c0t0d0s3
disk 2 0/4/1/0.0.0.1.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 6 0/4/1/0.0.0.2.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 3 0/4/1/0.0.0.3.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
disk 4 0/4/1/0.0.0.4.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 7 0/4/1/0.0.0.5.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 5 0/4/1/0.0.0.6.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
disk 9 0/4/1/0.0.0.7.0 sdisk SCAN DEVICE HP DG146ABAB4
/dev/dsk/c0t7d0 /dev/rdsk/c0t7d0
#

# vgdisplay -v /dev/vg02
--- Volume groups ---
VG Name /dev/vg02
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 1
Act PV 1
Max PE per PV 2187
VGDA 2
PE Size (Mbytes) 64
Total PE 2187
Alloc PE 2187
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

--- Logical volumes ---
LV Name /dev/vg02/lvol1
LV Status available/syncd
LV Size (Mbytes) 139968
Current LE 2187
Allocated PE 2187
Used PV 1


--- Physical volumes ---
PV Name /dev/dsk/c0t3d0
PV Status unavailable
Total PE 2187
Free PE 0
Autoswitch On


#

Gab
Avinash20
Honored Contributor

Re: file system not accessible.

Notification Time: Fri Feb 6 12:32:37 2009

hp36dev1.ind.hp.com sent Event Monitor notification information:

/storage/events/disks/default/0_4_1_0.0.0.3.0
is >= 1.
Its current value is CRITICAL(5).



Event data from monitor:

Event Time..........: Fri Feb 6 12:32:37 2009
Severity............: CRITICAL
Monitor.............: disk_em
Event #.............: 12
System..............:

Summary:
Disk at hardware path 0/4/1/0.0.0.3.0 : Invalid SCSI request.


## Please log a H/W call with HP

PS : Please assign points if you find the answers
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
sujit kumar singh
Honored Contributor

Re: file system not accessible.

please refer to the following in the O/P as shown by you.

--- Physical volumes ---
PV Name /dev/dsk/c0t3d0
PV Status unavailable
Total PE 2187
Free PE 0
Autoswitch On

try doing the following after few seconds.

#ioscan -fnCdisk
make sure that the disk c0t3d0 shows as CLAIMED and the dev files are there.

#pvchange -a y /dev/dsk/c0t3d0
#vgchange -a y /dev/vg02
#pvchange -t 180 /dev/dsk/c0t3d0
#cat /etc/fstab
#mount -a

#bdf
#dd if=/dev/dsk/c0t3d0 of=/dev/null count=1000

Please post the O/Ps.

please note that the SCAN comes in the ioscan O/P as the system is busy scanning the Disks. Make sure that you get that stable and see CLAIMED.

regards
sujit
Ganesan R
Honored Contributor

Re: file system not accessible.

Hi,

Donot use #ioscan -funC disk when the disks are suspicious. It will read the informations from kernel structure.

Use #ioscan -fnC disk which will query and get the current status of the disk.

I suspect your disk is dead. dd command is the reliable source to check the disk. You may have to replace disk.
Best wishes,

Ganesh.