- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unmount Oracle CDROM
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2003 11:59 PM
06-24-2003 11:59 PM
I mounted an oracle CDROM using this command
#pfs_mountd &
#pfsd &
#mount -o xlat=unix /dev/rdsk/c2t1d0 /cdrom
after a while I accidentally close my telnet session. When I try to access it again this error appear:
pfs_mount: pfs_mountd at erpdev:/dev/rdsk/c2t1d0 not responding: : RPC: Timed out
pfs_mount: retrying /cdrom
pfs_mount: giving up on /cdrom
How can I unmount the cdrom w/out restarting the server
Tnxs in advance
Joseph
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 12:11 AM
06-25-2003 12:11 AM
Re: Unmount Oracle CDROM
When u r using pfsd, u r suppose to use pfs_mount to mount the CDROM but u have used mount. Moreover u cannot mount a raw device which is /dev/rdsk/c2t1d0 in your case.It suppose to be /dev/dsk/c2t1d0.
So try by
# umount /cdrom.
# fuser -k -u /cdrom
# fuser -k -u /dev/dsk/c2t1d0
Stop pfsd and pfs_mountd daemon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 12:13 AM
06-25-2003 12:13 AM
Re: Unmount Oracle CDROM
E.G. If your cd is mounted cd /CDROM then
# fuser /CDROM
will display the pid of the processes that are holding the resource up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 12:13 AM
06-25-2003 12:13 AM
Re: Unmount Oracle CDROM
try this:
kill -9
kill -9
pfs_umount /cdrom
Good Luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 12:16 AM
06-25-2003 12:16 AM
Re: Unmount Oracle CDROM
is these are the command you typed, you can simply issue
umount /cdrom ,
since you didn't use the pfs_mount/pfs_umount.
Honestly i don't know any trick,
you may try with
/sbin/init.d/nfs.client stop
/sbin/init.d/nfs.server stop
/sbin/init.d/nfs.core stop
and afterwards restert them
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.server start
/sbin/init.d/nfs.client start
and see if they help.
Pay attention that every NFS mount will be broken.
For the future: issue the command with a nohup, or better with nohup (see man nohup) and from a "screen" session (free downloadable utility).
A good reboot, if you can afford, it's the best, quicker and cleaner solution.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 12:22 AM
06-25-2003 12:22 AM
Re: Unmount Oracle CDROM
Mounting the CD-ROM:
===================
NOTE: These instructions for mounting the CD-ROM are for HP-UX 10.20 and 11.0.
1. Use a system editor to add the following line to the "/etc/pfs_fstab"
file. If the "pfs_fstab" file does not exist in the "/etc" you will
need to create it and add the line to it.
Syntax:
The first entry is the CD-ROM device file; the second is the mount point. The
third indicates that the CD-ROM to be mounted is in IS09660 format with a
Rockridge extension.
Example:
/dev/dsk/c5t2d0 /SD_CDROM pfs-rrip xlat=unix 0 0
Attention: Perform steps 2-5 as the root user.
2. Run the following file.
# nohup /usr/sbin/pfs_mountd &
3. Run the following file.
# nohup /usr/sbin/pfsd &
4. Insert the CD-ROM into the tray and run the following to mount the
CD-ROM:
# /usr/sbin/pfs_mount /SD_CDROM
5. Exit the superuser account.
# exit
Change directories to "/SD_CDROM" where you can see a lowercase listing of the
directories and files on the CD-ROM. The mounted CD-ROM should appear as
another read-only file system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 12:28 AM
06-25-2003 12:28 AM
Re: Unmount Oracle CDROM
I had a similar problem a while ago & I used a pfs_umount -c option (I think).
I don't have access to man pages but if you check this might help you, as I can't remember the exact syntax.
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 01:02 AM
06-25-2003 01:02 AM
Re: Unmount Oracle CDROM
Yes I use pfs_mount,I already try to kill the pfs process and pfs_umount /cdrom. The session always hang.
Twang, Enrico
I already did it but the session hang on pfs_umount /cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 01:29 AM
06-25-2003 01:29 AM
SolutionThis is a so common problem in pfs. Please try to do the fuser -cu /SD_CDROM and kill the process. Ones you done it the wrong way, you will (almost) not be able to get rid of it anymore.
If you need to have the system up and cannot afford a reboot. Note down you have done something awfull in the /etc/mnttab and then remove the /SD_CDROM entry from the /etc/mnttab.
First thing then, you have to do is to install the latest nfs_patches.
Please read the following docs carefully !!
KBRC00010147
2200219195
rcfaxpfs001
Regs David
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 01:47 AM
06-25-2003 01:47 AM
Re: Unmount Oracle CDROM
Go for the reboot option if it is possible,
It is faster then trying to umount the cdrom AT THIS point.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 02:05 AM
06-25-2003 02:05 AM
Re: Unmount Oracle CDROM
I am used the script i am attaching. It allows me to both mount and unmount my Oracle CDs.
uses pfs_mount
Does your /etc/pfs_fstab contain:
/dev/dsk/c2t1d0 /SD_CDROM pfs-rrip xlat=unix 0 0
hope this helps
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 02:05 AM
06-25-2003 02:05 AM
Re: Unmount Oracle CDROM
I am used to the script i am attaching. It allows me to both mount and unmount my Oracle CDs.
uses pfs_mount
Does your /etc/pfs_fstab contain:
/dev/dsk/c2t1d0 /SD_CDROM pfs-rrip xlat=unix 0 0
hope this helps
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 02:06 AM
06-25-2003 02:06 AM
Re: Unmount Oracle CDROM
I am used to the script i am attaching. It allows me to both mount and unmount my Oracle CDs.
uses pfs_mount
Does your /etc/pfs_fstab contain:
/dev/dsk/c2t1d0 /SD_CDROM pfs-rrip xlat=unix 0 0
hope this helps
regards
Yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 03:19 AM
06-25-2003 03:19 AM
Re: Unmount Oracle CDROM
Following on from my earlier post, the man page for pfs_umount states:
-c "Close. Instruct the PFS daemons to close the given file system, but do not attempt to umount the file system. This is useful when the file system has already been unmounted, but the PFS daemons still have the source character device open."
HTH
Cheers
Con
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2003 03:53 AM
06-25-2003 03:53 AM
Re: Unmount Oracle CDROM
I know that there is a patch for this problem,
but i do not remember, which one.
Ask your local HP support for help.
Maybe somebody in the forum can help.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2003 04:20 AM
06-30-2003 04:20 AM
Re: Unmount Oracle CDROM
Found the patch :
For HP-UX 11.00 PHCO_26449
for other versions of HP-UX pls compare
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2003 01:35 AM
07-02-2003 01:35 AM
Re: Unmount Oracle CDROM
I already apply the patch I read at KBRC00010147 documents given by david. Its alright now. Tnxs everyone.
Joseph