- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How can I correctly export my 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
01-07-2002 11:06 PM
01-07-2002 11:06 PM
I want to use cdrom by nfs on client.When I insert first cdrom on server named as machine1,and do mount /cdrom command , then on client,I can use mount machine1:/cdrom /cdrom command ,but when I want to use another cdrom , firstly use command umount /cdrom on server, then insert another cdrom ,do command mount /cdrom again, now if I directly run mount machine1:/cdrom /cdrom on client machine2, a wrong message "access denied" displays,
so I should stop the nfsd ,then start nfsd again,
it is so troublesome, could you tell me other good idea?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-07-2002 11:36 PM
01-07-2002 11:36 PM
SolutionOn your server in /etc/exports there should be the following entry :
/cdrom -ro
- Mount cdrom on the server
- exportfs -a
- Mount cdrom on the client
- Use cdrom on the client
- Unmount cdrom on the client
- Umount cdrom on the server
If you follow these steps every time (although they seem childish and are probably not all necessary) you shouldn't run into problems. I would definitely not kill nfs-daemons.
Hope this helps,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 12:47 AM
01-08-2002 12:47 AM
Re: How can I correctly export my cdrom?
There is always a entry of /cdrom in export list of server, whatever if the command used or not?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 02:57 AM
01-08-2002 02:57 AM
Re: How can I correctly export my cdrom?
exportfs -a exports everything that is in /etc/exports. No, /cdrom is - as far as I know - not "default". If it is not in /etc/exports it is not available for other servers.
I tried to be as complete as I could in my list, but I still forgot a line :-). To be completely correct it should be (after putting /cdrom -ro in /etc/exports) :
- Mount cdrom on the server
- exportfs -a
- Mount cdrom on the client
- Use cdrom on the client
- Unmount cdrom on the client
- exportfs -u /cdrom on the server
- Umount cdrom on the server
I always follow lists like this (even if I know a quicker way) to avoid problems. If you have to do pfs-mounts (for Oracle CD's) following the list (which differs from the above one) becomes mandatory.
Hope this helps,
Tom Geudens
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 04:26 AM
01-08-2002 04:26 AM
Re: How can I correctly export my cdrom?
Consider what would happen if a client had several files open and several users decided to cd into the NFS-mounted directories. By changing the CD, nothing works and potentially, the filesystem code on the client might think that the NFS-mountpoint was catastrophically corrupted. In a local hard disk filesystem, this is a reason for a system crash. Not good.
NFS appears to be somewhat transparent but in reality, there are a lot of caveats to managing remote filesystems. Be sure to export your CDROM filesystem as read-only and from the client side, mount the remote filesystem as read-only. This will minimize problems when network difficulties arise and will improve performance somewhat.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2002 07:23 PM
01-08-2002 07:23 PM
Re: How can I correctly export my cdrom?
The solution is very clear.
xujun