Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

File system Error /dev/dsk/c0t1d0: I/O error

SOLVED
Go to solution
Highlighted

File system Error /dev/dsk/c0t1d0: I/O error

Hi,
I recently installed HPUX on L3000 server.

# uname -a
HP-UX bhluksmp B.11.23 U 9000/800 131464607 unlimited-user license

When i do BDF i can see all file systems
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 1024000 329960 688752 32% /
/dev/vg00/lvol1 491952 89360 353392 20% /stand
/dev/vg00/lvol8 2633728 1803328 825168 69% /var
/dev/vg01/lvol9 6144000 39329 5723210 1% /var/opt/omni
/dev/vg00/lvol7 3440640 1742496 1684888 51% /usr
/dev/vg00/lvol4 2048000 1366032 678864 67% /tmp
/dev/vg00/lvol6 3870720 3452232 415232 89% /opt
/dev/vg00/lvol5 53248 8464 44440 16% /home

but i am getting following error when i do

# mount -a
/dev/dsk/c0t1d0: I/O error
mount: /dev/vg00/lvol8 is already mounted on /var
mount: /dev/vg01/lvol9 is already mounted on /var/opt/omni
mount: /dev/vg00/lvol7 is already mounted on /usr
mount: /dev/vg00/lvol6 is already mounted on /opt
mount: /dev/vg00/lvol5 is already mounted on /home
mount: /dev/vg00/lvol4 is already mounted on /tmp
mount: /dev/vg00/lvol1 is already mounted on /stand
#

How can i find out what is on /dev/dsk/c0t1d0
and what is wrong with it?

 

 

p.S. This thread has been moevd from Disk to HP-UX > sysadmin. - hp forum moderator

rizzir
17 REPLIES
Luk Vandenbussche
Honored Contributor
Solution

Re: File system Error /dev/dsk/c0t1d0: I/O error

pleas post the following info

ioscan -funC disk
cat /etc/fstab
strings /etc/lvmtab

Re: File system Error /dev/dsk/c0t1d0: I/O error

Thank for looking into this :) Here is the info

# ioscan -funC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/1/0.1.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0


# cat /etc/fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/dsk/c0t1d0 /cdrom cdfs ro,suid 0 0
/dev/vg01/lvol9 /var/opt/omni vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2


# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t2d0
/dev/vg01
G+70
/dev/dsk/c2t2d0

rizzir

Re: File system Error /dev/dsk/c0t1d0: I/O error

More Info

# umount /cdrom
umount: cannot find /cdrom in /etc/mnttab
cannot unmount /cdrom
# cat /etc/mnttab
/dev/vg00/lvol3 / vxfs ioerror=mwdisable,delaylog,dev=40000003 0 1 1194440914
/dev/vg00/lvol1 /stand hfs defaults,dev=40000001 0 0 1194440915
/dev/vg00/lvol8 /var vxfs ioerror=mwdisable,delaylog,dev=40000008 0 0 1194440925
/dev/vg01/lvol9 /var/opt/omni vxfs ioerror=mwdisable,nolargefiles,delaylog,dev=40010001 0 0 1194440926
/dev/vg00/lvol7 /usr vxfs ioerror=mwdisable,delaylog,dev=40000007 0 0 1194440926
/dev/vg00/lvol4 /tmp vxfs ioerror=mwdisable,delaylog,dev=40000004 0 0 1194440927
/dev/vg00/lvol6 /opt vxfs ioerror=mwdisable,delaylog,dev=40000006 0 0 1194440927
/dev/vg00/lvol5 /home vxfs ioerror=mwdisable,delaylog,dev=40000005 0 0 1194440927
-hosts /net autofs ignore,indirect,nosuid,soft,nobrowse,dev=60000000 0 0 1194441034
#
rizzir
Luk Vandenbussche
Honored Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

/dev/dsk/c0t1d0 is your cdrom

with mount -a, you try to mount all the filesystems defined in /etc/fstab.

2 possiblities
a) no cdrom in the drive
b) cdrom defective

Remove /dev/dsk/c0t1d0 from /etc/fstab to avoid this problems.

Don't forget to submit points.

Re: File system Error /dev/dsk/c0t1d0: I/O error

OK i have remove the CDROM from fstab, i dont get the erorr any more when i run mount -a

but how to fix this problem and get the cdrom to work as normanl.
thanks
rizzir
Luk Vandenbussche
Honored Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

Is the drive defective or was there no media in the cd drive?

1) If the drive is defective => ask HP to replace is
2) Put a media in the drive and mount it manually with
mount /dev/dsk/c0t1d0 /cdrom
Andrew Rutter
Honored Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

hi

mount -a isnt the normal way to mount a cdrom

if you want it mounted at start up or by this way you need to have put a cdrom in the drive first. no cdrom = no mount?

mount it manually as luk has stated.

if that fails and you cannot mount it you will get a different error like device busy, in which case likely faulty cdrom drive or bad cdrom disk

Andy
Torsten.
Acclaimed Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

If you have the CD-ROM in fstab, you will often see messages like this.

You may consider to use the automounter or write a small script for mount/umount the drive and configure sudo to enable users of your choice to mount this drive.

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!   

Re: File system Error /dev/dsk/c0t1d0: I/O error

CDROM media is not corrupted.

After removing CDROM line from /etc/fstab I am unable to mount the CDROM.

# mount /cdrom
mount: /cdrom was either ignored or not found in /etc/fstab


# cat /etc/fstab
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol4 /tmp vxfs delaylog 0 2
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg01/lvol9 /var/opt/omni vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
#

Any idea How I can fix the CDROM Again. Thanks
rizzir
Torsten.
Acclaimed Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

# mount /cdrom

only works if the entry is in fstab ;-)

otherwise use

# mount /dev/dsk/c0t1d0 /cdrom

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!   

Re: File system Error /dev/dsk/c0t1d0: I/O error

Hi Torsten ,
I treid that i get following Error
# mount /dev/dsk/c0t1d0 /cdrom
/dev/dsk/c0t1d0: I/O error
rizzir
Torsten.
Acclaimed Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

Is the disk bootable?

Try

# mount -r /dev/dsk/c0t1d0 /cdrom

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!   

Re: File system Error /dev/dsk/c0t1d0: I/O error

# mount -r /dev/dsk/c0t1d0 /cdrom
/dev/dsk/c0t1d0: I/O error
rizzir
Torsten.
Acclaimed Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

media in drive?
media is ok?

Try

# diskinfo -v /dev/rdsk/c0t1d0


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!   

Re: File system Error /dev/dsk/c0t1d0: I/O error

I checked the Media and it is corrupted.
I tried loading different CD, and it works fine now.
Thank you for all your support.
Have a nice day
regards
riz :)
rizzir
Torsten.
Acclaimed Contributor

Re: File system Error /dev/dsk/c0t1d0: I/O error

Please read

http://forums1.itrc.hp.com/service/forums/helptips.do?#33

have fun!

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!   

Re: File system Error /dev/dsk/c0t1d0: I/O error

Thanks all , I have assigned max 10 points
rizzir