Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Best way to mount a CDROM 3

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
Hi!

On HPUX 10.20, wich is the best way to mount a CDROM???

I am using:
# nohup /usr/sbin/pfs_mountd -v &
# nohup /usr/sbin/pfsd -v &
# /usr/sbin/pfs_mount /cdrom

But I get sometimes 'device busy' or 'I/O' errors.

Does anyone know a 100% reliable method???

Regards.
 
You might also want to edit or create /etc/pfs_fstab and enter

/dev/dsk/cxtxdx /ISO_CDROM pfs-iso9660 xlat=unix 0 0
/dev/dsk/cxtxdx /ISO_RR_CDROM pfs-rrip xlat=unix 0 0

(after having made the necessary directories, that is)

Use ISO_RR_CDROM for RockRidge interchange CDs with long filenames.

I have good luck with
#mount -F cdfs -o cdcase /dev/dsk/cxtxdx /cdrom

(if you neglect to use cdcase then HP-UX gets all confused about mixed case and long filenames, and shows all filenames in uppercase, followed by :1).

...but sometimes I get device busy errors after using swinstall. In that case, umount /dev/dsk/cxtxdx works.


Hope this helps
 
Hi,
Have you tried seeing if the pfs daemon is running:

# ps -ef | grep pfs

If it is that could be why you are getting the device busy message.
Hope this helps.
 
Thank you very much.

1) I do create /etc/pfs_fstab.

2) I'm to try 'mount -F cdfs -o cdcase /dev/dsk/cxtxdx /cdrom'

3) dohanlon's solution:
I do check 'pfs' daemons, but sometimes you kill a process, and then it does not work, and other times, it works. Any rule?


 
Hi cadbilbao,
Just to reply to your second message, I actually ran into the same problem myself yesterday! Sometimes the kill -9 command will clear the runaway process, but other times it won't. I don't like using -9 option but sometimes you have no choice, and as you know sometimes (here) it doesn't work. Does anybody else experience tgis problem with the pfs daemon, or have an alternative solution/idea?
Thanks folks,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top