System Administration
Showing results for 
Search instead for 
Do you mean 

":/cdrom": An I/O error occurred while performing this task.

SOLVED
Go to Solution

":/cdrom": An I/O error occurred while performing this task.

Hi,

 

I have mounted one cd (approx. 200mb) to install some softwares.

 

/dev/dsk/c1t0d0    7846572 7846572       0  100% /cdrom
# cd /cdrom
# ls -l |wc -l
1207
#
# fstyp /dev/dsk/c1t0d0
cdfs
#


 

But when i am trying to install packages from that mounted /directory  (/cdrom), getting below error.

 

#swinstall -s /cdrom

 

 

 "mymachine:/cdrom":  An I/O error occurred while performing this task.

 

 

Any idea, why it is giving me I/O error ?

Am i doing something wrong ?

 

Thanks in advance.

 

tushar

1 ACCEPTED SOLUTION
Highlighted
HPE Pro

Re: ":/cdrom": An I/O error occurred while performing this task.

 

Run the below command to check the software available on the CD.

# swlist -l product -s /cdrom

 

If the above command fails, then there might be issue in reading the software installation files and you would need to try a different software media. 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


6 REPLIES
Highlighted
HPE Pro

Re: ":/cdrom": An I/O error occurred while performing this task.

 

Run the below command to check the software available on the CD.

# swlist -l product -s /cdrom

 

If the above command fails, then there might be issue in reading the software installation files and you would need to try a different software media. 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Re: ":/cdrom": An I/O error occurred while performing this task.

Hi Pradeep,

 

thanks for quick reply.

 

As per you have mentioned above, I have executed the command.

 

/dev/dsk/c1t0d0    7846572 7846572       0  100% /cdrom
# swlist -l product -s /cdrom
# Initializing...
# Contacting target "mymachine"...
ERROR:   The depot "mymachine:/cdrom" exists but is currently empty.
#


I also have iso of these softwares.  After mounting the iso, still facing the issue.

 

# lvcreate -L 1024 -n iso /dev/vg00
Logical volume "/dev/vg00/iso" has been successfully created with
character device "/dev/vg00/riso".
Logical volume "/dev/vg00/iso" has been successfully extended.
Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf
#


# dd if=/opt/hp-ivm/image.iso of=/dev/vg00/riso bs=1024k
I/O error
167+1 records in
167+1 records out
#


# mount /dev/vg00/iso /mnt
# swlist -l product -s /mnt
# Initializing...
# Contacting target "mymachine"...
ERROR:   The depot "mymachine:/mnt" exists but is currently empty.
#

 

Could you please help me.

 

Regards,

tushar

 

HPE Pro

Re: ":/cdrom": An I/O error occurred while performing this task.

>> # dd if=/opt/hp-ivm/image.iso of=/dev/vg00/riso bs=1024k
>> I/O error

 

Above dd command failed with io error. I think the iso image file might be corrupted too.. so I would recommend to check with different software media.. 

Once you have the replaced media, run the "swlist -l product -s /cdrom" if this command succeed then swinstall would work.. 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Exalted Contributor Exalted Contributor

Re: ":/cdrom": An I/O error occurred while performing this task.

It may be a media error. The cd may be scratched or something. See if you can have someone take a look at the thing.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Acclaimed Contributor Acclaimed Contributor

Re: ":/cdrom": An I/O error occurred while performing this task.

[ Edited ]

>ERROR:   The depot "mymachine:/cdrom" exists but is currently empty.

 

What does "ll /cdrom" show?  (don't list all 1,200 files)

 

>After mounting the iso, still facing the issue.

 

If you are on 11.31, there are easier ways to mount ISO images.

 

>I/O error

 

Hmm, was the error on the input or output file?

dd if=/opt/hp-ivm/image.iso of=/dev/null bs=1024k

 

>ERROR:   The depot "mymachine:/mnt" exists but is currently empty.

 

What does "ll /mnt" show?  (The same 1,200 files?)  You may have to go deeper.

Honored Contributor Honored Contributor

Re: ":/cdrom": An I/O error occurred while performing this task.

I/O error means media error. You have a smudged CD or your CDROM drive is dusty or simply defective. For a 'normal' CD, there is no software error that will create an I/O error. HOWEVER, if you created the CD on a PC, be very aware that a lot of PC-based software tries to make a CD into floppy that you can append (write) more records at a later time. This packet writing technique is completely incompatible with HP-UX (and even other PCs if you don't properly close the open CD).

 

So start by putting a standard HP-UX CD in your drive and see if you can mount it. If it also gets an I/O error, replace the CDROM drive. (you could try using a 'cleaner-CD' with little brushes). If it does work, then the recoding software used to burn the CD is incompatible. Get a copy of ImgBurn. Roxio, Nero, even Windows is too far removed from reality to be useful except to save some photos and movies for other PCs.