cancel
Showing results for 
Search instead for 
Did you mean: 

mount cd problem

Sen Lu
Occasional Advisor

mount cd problem

Hi, I try to mount a cd buned by xp build in cd burned in my c8000 HP-UX b.11.11. I can
mount if by using pfs_mount command but could not mount it under
mount -F cdfs -0 rr /dev/dsk/cxtxdx /cdrom
this keep giving me
device busy.
I've install all the Patches like PHCO_25841
PHKL_26269 and PHKL_37535, still not work.

Besides, when I mount it by pfs_mount why the names of the files in the cd are not shown correctlly ?

Thanks
14 REPLIES
Steven Schweda
Honored Contributor

Re: mount cd problem

> mount -F cdfs -0 rr /dev/dsk/cxtxdx /cdrom

Did you really use "-0" (number-zero) instead
of "-o" (letter-O)?

"/dev/dsk/cxtxdx"? Showing the actual
command used might be more helpful than
showing some corrupted version of the actual
command used.
Sen Lu
Occasional Advisor

Re: mount cd problem

sorry, that's mistake but I am sure I did use -o
V. Nyga
Honored Contributor

Re: mount cd problem

Hi,

what have you tried first, mount or pfs?
Check if pfs-command is still running.
Or can you reboot your ws?

Then try:
'/sbin/mount -F cdfs -o rr,cdcase /dev/dsk/c3t0d0 /cdrom'

Also try to create a new directory, for example 'cdtmp', then try to mount there.

About the names:
When burning the cd you'll have to track down the options for ISO 9660 and RockRidge format. Make sure that you DON'T use Joliet format.

Depending on your problems about the file names also check my old thread, maybe 'mkisofs' is also a solution for you:
http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=70917

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Steven E. Protter
Exalted Contributor

Re: mount cd problem

Shalom,

http://www.hpux.ws/?p=20

pfs_mount is out dated and should not be used.

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
Taifur
Respected Contributor

Re: mount cd problem

Hi Sen Lu,

Try to check,
#ps -ef | grep /cdrom
If any PID exist
then kill PID
#kill -9 PID
Then try to check by mount

Rgds//
Taifur
Sen Lu
Occasional Advisor

Re: mount cd problem

HI Taifur

Tried, still not work. Thanks any way
V. Nyga
Honored Contributor

Re: mount cd problem

Hi,

have you set ws to 'zero' by reboot?
After reboot normally device can't be 'busy'.

Can you try another cd, where drive works?
Is it only this cd or any cd?
What's about hp os media?

V.
*** Say 'Thanks' with Kudos ***
Sen Lu
Occasional Advisor

Re: mount cd problem

Hi v,

Thanks for reply, yes , I set ws to zero.

Hp os media works fine. only the cds burned by xp build-in cd burner would introduce this porblem. I've tried different cds, any other cd burned by other cd burning software(e.g. Record Now) won't let to this problem. just want to find out why, I never use HP-Ux before and can learn a lot from u guys through this
V. Nyga
Honored Contributor

Re: mount cd problem

Hi again,

I believe you have to make some tests with your w$ cd burning program.
As I've mentioned at the beginning of this thread there are w$ specific definitions (joliet) which will not work in other parts of the IT world.
Also if pfs_mount works, a normal mount should work too.

If you think we can't help you more in this case, please close the thread, see also:
http://forums11.itrc.hp.com/service/forums/helptips.do?#40

Please also read about the points assignment:
http://forums11.itrc.hp.com/service/forums/helptips.do?#28

Welcome in this great forum
Volkmar
*** Say 'Thanks' with Kudos ***
Bill Hassell
Honored Contributor

Re: mount cd problem

One of the reasons pfs is deprecated (means: do not use) is that it can create hangs which will require a reboot to clear. Check to see if there are any pfs processes running and try to kill them.

Now create a new mount point such as /CD. Then use the mount -orr /dev/dsk/cxtxdx /CD command (do not use pfs_mount or any pfs commands).


Bill Hassell, sysadmin
Sen Lu
Occasional Advisor

Re: mount cd problem

I also found the pfs-mount not very stable, sometimes would give me : giving up ...

by the way, how to check any pfs and kill them?
V. Nyga
Honored Contributor

Re: mount cd problem

ps -ef|grep pfs

V.
*** Say 'Thanks' with Kudos ***
James R. Ferguson
Acclaimed Contributor

Re: mount cd problem

Hi:

> by the way, how to check any pfs and kill them?

You must kill the processes in the _reverse_ order that you started them.

First kill 'pfsd' and then kill 'pfs_mountd'.

Of course, before you do the above, use 'pfs_umount' to unmount the mounted CD.

Regards!

...JRF...
Sen Lu
Occasional Advisor

Re: mount cd problem

Thanks all, still, seems the only way works is to use pfs_mount ,then use kill command after that.
but before I use the pfs_mount command,
I have to
nohup /usr/sbin/pfsd_mountd 4 &
nohup /usr/sbin/pfsd 4 &
ps -ef |grep pfs

then pfs_mount -o xlat=unix /dev/...

but when pfs_umount /cdrom
it gives error saying ...not registered..
then I have to use kill to eject the cdrom.

Soooo complicate but seems that's the only way to mount the cd so far...thanks guys.