Re: File system Error /dev/dsk/c0t1d0: I/O error (228 Views)
Reply
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 1 of 18 (228 Views)
Accepted Solution

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

[ Edited ]

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
Honored Contributor
Luk Vandenbussche
Posts: 2,734
Registered: ‎01-04-2000
Message 2 of 18 (228 Views)

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

pleas post the following info

ioscan -funC disk
cat /etc/fstab
strings /etc/lvmtab
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 3 of 18 (228 Views)

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
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 4 of 18 (228 Views)

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
Honored Contributor
Luk Vandenbussche
Posts: 2,734
Registered: ‎01-04-2000
Message 5 of 18 (228 Views)

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.
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 6 of 18 (228 Views)

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
Honored Contributor
Luk Vandenbussche
Posts: 2,734
Registered: ‎01-04-2000
Message 7 of 18 (228 Views)

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
Honored Contributor
Andrew Rutter
Posts: 2,108
Registered: ‎07-03-2002
Message 8 of 18 (228 Views)

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
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 9 of 18 (228 Views)

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!   
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 10 of 18 (228 Views)

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
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 11 of 18 (228 Views)

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!   
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 12 of 18 (228 Views)

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
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 13 of 18 (228 Views)

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!   
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 14 of 18 (228 Views)

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

# mount -r /dev/dsk/c0t1d0 /cdrom
/dev/dsk/c0t1d0: I/O error
rizzir
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 15 of 18 (228 Views)

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!   
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 16 of 18 (228 Views)

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
Acclaimed Contributor
Torsten.
Posts: 23,285
Registered: ‎10-02-2001
Message 17 of 18 (228 Views)

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!   
Advisor
Rizwan Choudhry
Posts: 29
Registered: ‎11-06-2007
Message 18 of 18 (228 Views)

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

Thanks all , I have assigned max 10 points
rizzir
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.