- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remote mount a CD? HPUX 11.0/HPUX 11.11
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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
12-22-2003 03:55 AM
12-22-2003 03:55 AM
We want to mount a cd (Oracle) from a HPUX 11.0 server onto a HPUX 11.11 server in a different location (they are both L class
machines).
10 points to any good answer.
TIA, Gino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 03:59 AM
12-22-2003 03:59 AM
Solution# /dev/dsk/c3t2d0 /cdrom cdfs ro,suid 0 0
Take out the comment #
mount /cdrom
vi /etc/exports
add the line /cdrom
save the file
exportvs -av
That will allow a remote NFS mount on the cdrom drive.
From the remote machine
mount hostname://cdrom /removecd
The names may need to be changed based on the actual names of the suscpect.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 03:59 AM
12-22-2003 03:59 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=105286
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 04:04 AM
12-22-2003 04:04 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
ioscan -fnC disk
will do it, ( In case it's different from the one mentioed above.
Also, if it's an oracle CD, the situation changes some ( seach this forum for 'rockridge' to get abundance of info.
finnally, we do this NFS export of CDs routinely, and it works well. Rememnber to unmount the NFS mount on the remote before remove the source cd (NFS server not responding' can be a pain to rectify)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 04:06 AM
12-22-2003 04:06 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
PHCO_26449 PHKL_26450 PHKL_28060
Before you export the /cdrom filesystem, make sure the filenames look OK (ie, not all UPPERCASE with ;1 extensions).
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 04:06 AM
12-22-2003 04:06 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
First, it needs to be exported from your 11.0 server so that it's available to the 11i server. Put an entry in /etc/exports something like this:
/cdrom -anon=65534,ro
Then, run "exportfs -a" to source the new entry in /etc/exports.
Then, on your 11i server, run the following command:
mount 11server:/cdrom /mountpoint
where /mountpoint is the mount directory on your 11i server and "11server" is the hostname of your 11.0 server.
That should do it.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:25 AM
12-22-2003 06:25 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
When I run the export procedures it gets this error message:
root# exportfs -av
"exportfs error: /cdrom: Read-only file system".
I first mounted the CD locally:
root# mount -F cdfs -e -o ro,rr /dev/dsk/c2t2d0 /cdrom
Then added the device to the /etc/fstab file.
Added "/cdrom" to the /etc/exports file.
Then ran the 'exportfs -av' command.
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:32 AM
12-22-2003 06:32 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
# showmount -e
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:33 AM
12-22-2003 06:33 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
What does the entry in /etc/exports look like?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:35 AM
12-22-2003 06:35 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
I wouldn't worry about that message at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:36 AM
12-22-2003 06:36 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
Shiju:
root# showmount -e "no exported filesystems"
Pete:
root# cat /etc/exports (file)
/cdrom
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:42 AM
12-22-2003 06:42 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
Though this may not be causing your problem, I believe your /etc/exports entry needs to look like this:
/cdrom -anon=65534,ro
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:42 AM
12-22-2003 06:42 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
Neither system has ever cared that it's read only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:49 AM
12-22-2003 06:49 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
I want to mount the CD because we want to run
the Oracle "runInstaller" program that's
only on that CD.
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 06:54 AM
12-22-2003 06:54 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
How is the CD mounted on your 11.0 server? Are you using pfs_mount or, as Bill suggested, are you using the RockRidge extensions to mount it with a regular mount command?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 07:18 AM
12-22-2003 07:18 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
/cdrom -ro -root=[remot_host_name]
Now, after you mount your CD, try exportfs command. That should work for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 11:49 AM
12-22-2003 11:49 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
You are receiving that error from exportfs becuase your /etc/exports file does not have the correct statement when exporting the /cdrom filesystem. It should look something like this
/cdrom -anon=0 -ro
After making that change run the exportfs -a command to export the /cdrom filesystem. (Oh yeah make sure you have the CD mounted first!) Also type exportfs with no option to verify that the FS is exported.
Now one the other system use the mount command to mount this FS.
mount -ro hostname:/cdrom /cdrom
Have a happy holidays...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 09:15 PM
12-22-2003 09:15 PM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
Pete: Here's how O mounted the CD on the
11.0 server (this where we want to export
the cd-rom from).
mount -F cdfs -e -o ro,rr /dev/dsk/c2t2d0 /cdrom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 09:21 PM
12-22-2003 09:21 PM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
Shiju:
Updating the /etc/exports file as you suggested worked, the cd-rom is now exported.
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 09:37 PM
12-22-2003 09:37 PM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
I tried to mount the cd on the remote server (HPUX 11.11), now that I have it exported.
# mount 11server:/cdrom /cdrom
Get this message: "permission denied"
If I use this mount command I get these
messages:
# mount -ro 11server:/cdrom /cdrom
"mount: /cdrom was either ignored or not found in /etc/fstab"
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 11:31 PM
12-22-2003 11:31 PM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
Now that the CD being mounted and exported from the NFS-Server (11server),try this mount command at the client side..
# mount -F nfs -r 11server:/cdrom /cdrom
This should work..
Merry X-mas
Jai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 11:45 PM
12-22-2003 11:45 PM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
NFS_CLIENT=1
NUM_NFSIOD=4
Then start NFS services with:
/sbin/init.d/nfs.core start
/sbin/init.d/nfs.client start
and now use the mount command:
mount 11server:/cdrom /cdrom
NOTE: /cdrom on the local machine must be a simple, empty directory. Also: 11server must have DNS entries both directions:
nslookup 11server
nslookup 12.34.56.78
Both command must return valid information. If not, add 11server to /etc/hosts on the local machine and make sure /etc/nsswitch.conf has the line:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
The above is preferred since /etc/hosts is local and reduces DNS traffic for commonly used IP addresses. /etc/hosts should contain stable, production system names and perhaps some selected PCs or other support systems.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 11:48 PM
12-22-2003 11:48 PM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
Jai: I tried the mount command and it returned: "permission denied".
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2003 11:58 PM
12-22-2003 11:58 PM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
No, using root exclusively to mount the CD.
The /etc/rc.config.d/nfsconf file has these
entries already:
NFS_CLIENT="1"
NFS_SERVER="1"
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0
>Then start NFS services with:
The NFS processes are already running.
=>nfskd, /usr/sbin/nfsd 16 (16 processes).
Should I try restarting these services?
10 points to any good answer.
TIA, Gino
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2003 12:12 AM
12-23-2003 12:12 AM
Re: How to remote mount a CD? HPUX 11.0/HPUX 11.11
I restarted the NFS services and I tried
to mount the CD but it failed again with
"permission denied" error message.
(root# mount 11server:/cdrom /cdrom)
10 points to any good answer.
TIA, Gino