Operating System - HP-UX
1854809 Members
35688 Online
104103 Solutions
New Discussion

umounting the cd w/o rebooting

 
Ricky_4
Frequent Advisor

umounting the cd w/o rebooting

Hi,

Whether I used the umount and pfs_umount to mount the cd but during unmounting I can't eject the cd. How do I unmount the cd without rebooting?
6 REPLIES 6
Sanjay_6
Honored Contributor

Re: umounting the cd w/o rebooting

Hi,

Here is anther question on the forum dealing with the same issue. Maybe one/some of the answer may help you.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdd8384534efbd5118ff40090279cd0f9,00.html

Hope this helps,

Regds
Ricky_4
Frequent Advisor

Re: umounting the cd w/o rebooting

How about even you execute this command "fuser -ku /mount_point" still they are connected
Ravi_8
Honored Contributor

Re: umounting the cd w/o rebooting

Hi.
fuser -ku /cdrom will kill all the connections to /cdrom. so if anybody connected to /cdrom will be disconnected.
never give up
Paula J Frazer-Campbell
Honored Contributor

Re: umounting the cd w/o rebooting

Hi
A common error is to be in the CD dir whilst tring to unmount it.


HTH

Paula
If you can spell SysAdmin then you is one - anon
Craig Rants
Honored Contributor

Re: umounting the cd w/o rebooting

Adriatico,

You will want to make sure that always use the proper method with pfs mounts. Here is the process I use.

vi /etc/pfs_fstab and verify: /dev/dsk/cntndn /cdrom pfs-rrip xlat=unix 0 0
(or put these options on command line)
/usr/sbin/pfs_mountd &
/usr/sbin/pfsd &
/usr/sbin/pfs_mount /cdrom
/usr/sbin/pfs_umount /cdrom
ps ???ef|grep pfs
kill ???9 (pfsd)
kill ???9 (pfs_mountd)

pfs_umount ???c (cleanup files if have trouble pfs mounting)

The last pfs_umount -c may be the step you need.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
A. Clay Stephenson
Acclaimed Contributor

Re: umounting the cd w/o rebooting

The other possible piece of the puzzle is that you may be exporting the /cdrom directory. In that case, you need to do an exportfs -u /cdrom (or the equivalent) pfs_exportfs -u /cdrom before trying to umount the local cdrom.

If it ain't broke, I can fix that.