cancel
Showing results for 
Search instead for 
Did you mean: 

File on a CDROM

Ray Bell
Regular Advisor

File on a CDROM

I had a cd sent to me and had patches on it from HP. I mounted the file and try to copy it to disk and it will not let me do it. I can copy the other small files on it. The files on it are as following:
-r-xr-xr-x 1 -1 -1 1332 Feb 12 10:34 patch-delivery-13986.R
EADME.txt
-r-xr-xr-x 1 -1 -1 2335078400 Feb 12 10:33 patch-delivery-13986.depot
-r-xr-xr-x 1 -1 -1 491 Feb 12 10:35 patch-delivery-13986.sums

So is it a mount option I need to have on it because of the size...
27 REPLIES
Torsten.
Acclaimed Contributor

Re: File on a CDROM

"...try to copy it to disk and it will not let me do it"

Any messages?

Has your file system the "large files" option?

Why not install directly from CD?

# swinstall -s

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!   
Ray Bell
Regular Advisor

Re: File on a CDROM

I have to use this cd on many different server that are remote so I like to have it copy to a file system. Once I copy it to a server and then ftp it out to the servers when I will schedule to do the install.

The file system I'm copy it to is set up with largefile. Anyway is there some mount option that I can use that will help?
Torsten.
Acclaimed Contributor

Re: File on a CDROM

Again, any error messages?

Did you read the readme?

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!   
Ray Bell
Regular Advisor

Re: File on a CDROM

There is no error message.

Here's what the readme file said:

To load the patches from the depot use the swinstall command (you will need to be logged in as root):
swinstall -x autoreboot=true -x patch_match_target=true \
-s
Depending on which options were used when mounting the media, the filename of the depot may be slightly different.
Specifically, the filename may be all uppercase or all lowercase.
Torsten.
Acclaimed Contributor

Re: File on a CDROM

"... it will not let me do it..."

So if there is no error messages, what happens?

What is your command?

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!   
Ray Bell
Regular Advisor

Re: File on a CDROM

The command I ran is:

cp patch-delivery-13986.depot /system_space/
Torsten.
Acclaimed Contributor

Re: File on a CDROM

I still don't understand ""... it will not let me do it...""!

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!   
Ray Bell
Regular Advisor

Re: File on a CDROM

copy the large depot file to the file system.
Steven Schweda
Honored Contributor

Re: File on a CDROM

Here. Let me try.

WHAT, EXACTLY, HAPPENS WHEN YOU RUN THAT
"cp" COMMAND?????

HINT: "it will not let me do it" DOES NOT
EXPLAIN WHAT HAPPENS.


By the way, can we assume that the "cd" is
actually a DVD?
Torsten.
Acclaimed Contributor

Re: File on a CDROM

If you copy the file, e.g. by

# cp /cdrom/patch-delivery-13986.depot /system_space/

I would assume it takes several minutes (maybe 20, 30 or more) to finish.
It depends on the drive speed, but you did not tell what server you are using.

In a worst case or a USB 1.1 drive it may take more than 1 hour.

So did the copy start?
Was the file created in the target directory?

Why you say "it will not let me do it." - what leads you to this assumption?

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!   
Torsten.
Acclaimed Contributor

Re: File on a CDROM

Thanks Steven!

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!   
Ray Bell
Regular Advisor

Re: File on a CDROM

When I run the copy command it come back instalnly and the other files on the cd will copy but the depot file will not copy to the file system. Did I make it clear for you all thsi time.
Steven Schweda
Honored Contributor

Re: File on a CDROM

Sometimes it's like pulling teeth, and the
other fellow has hidden the pliers.
Torsten.
Acclaimed Contributor

Re: File on a CDROM

Any related message in syslog?

try if you can read the depot:

# swlist -s /cdrom/patch-delivery-13986.depot

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!   
Patrick Wallek
Honored Contributor

Re: File on a CDROM

Where was the DVD created? What mount options are you using to mount it?
Ray Bell
Regular Advisor

Re: File on a CDROM

There is no information in syslog related to copy command or cd-rom. I try the swlist command and here's the error message I received:

{clbsrv:Root}/cdrom-> swlist -s /cdrom/patch-delivery-13986.depot
# Initializing...
# Contacting target "clbsrv"...
ERROR: Cannot read 2048 bytes from source
"/cdrom/patch-delivery-13986.depot". Change the source
specified, or ensure the media is loaded and ready to read.
ERROR: "clbsrv:/cdrom/patch-delivery-13986.depot": exists, but the
information on it is corrupt. It is not tar format or it is
not the correct media.


I umount the cdrom drive and found out that it's a DVD. Are there any different option in mounted a dvd differnt than a cdrom?
Ray Bell
Regular Advisor

Re: File on a CDROM

I have the following in the /etc/fstab

/dev/dsk/c3t2d0 /cdrom cdfs ro,suid 0 0

And from the command line I ran:
mount /cdrom
Patrick Wallek
Honored Contributor

Re: File on a CDROM

>>ERROR: "clbsrv:/cdrom/patch-delivery-13986.depot": exists, but the
information on it is corrupt. It is not tar format or it is
not the correct media.


It sounds like the information on the DVD is corrupt for your patch depot.

Have you tried accessing the DVD from a PC? Can you FTP the depot file from a PC to your HP-UX server?
Ray Bell
Regular Advisor

Re: File on a CDROM

I will try to do that later. I'm at home and do not have access to the server today.
Dennis Handly
Acclaimed Contributor

Re: File on a CDROM

>When I run the copy command it come back instantly.

What does "cksum patch-delivery-13986.depot" show?
Ray Bell
Regular Advisor

Re: File on a CDROM

This is the results:

{clbsrv:Root}/cdrom-> cksum patch-delivery-13986.depot
4294967295 0 patch-delivery-13986.depot
Torsten.
Acclaimed Contributor

Re: File on a CDROM

please compare with contents of

patch-delivery-13986.sums

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!   
Ray Bell
Regular Advisor

Re: File on a CDROM

{clbsrv:Root}/cdrom-> pg patch-delivery-13986.sums
The following checksums were computed for this delivery.

Checksums created using cksum(1).
2762561824 2335078400 patch-delivery-3986.depot
302801126 1294 patch-delivery-13986.README.txt

Checksums created using md5sum(1).
625338d3f92bb1f5dd4e01ad46a8945b patch-delivery-13986.depot
16be7828b131257ce9818a4300b89dde patch-delivery-13986.README.txt

As you see the value is different...
Patrick Wallek
Honored Contributor

Re: File on a CDROM

>>4294967295 0 patch-delivery-13986.depot

This file definitely has a problem. The '0' is the size of the file.

You need to have the DVD recreated by whoever originally created it.