- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: mount a cd Remotely : Permission denied
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
Discussions
Discussions
Discussions
Forums
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
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
тАО08-22-2007 04:30 AM
тАО08-22-2007 04:30 AM
on the source. I have an entry that looks like this on host1:
/cdrom -anon=65534, access=host2
On host2:
I try to mount the /cdrom:
mount -F nfs host1:/dev/dsk/c0t0d0 /cdrom
Permission denied
Any help would be appreciated.
Thanks,
Alex
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 04:46 AM
тАО08-22-2007 04:46 AM
Re: mount a cd Remotely : Permission denied
mount -F nfs host1:/cdrom /localfolder
This will work.
NFS knows nothing about the device file on the cd-rom across the network.
mkdir /nfscd
mount -F nfs host1:/cdrom /nfscd
Should be done at this point unless there is a syntax error in your mount command.
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
тАО08-22-2007 04:56 AM
тАО08-22-2007 04:56 AM
Re: mount a cd Remotely : Permission denied
mount -F nfs host1:/cdrom /cdrom
Permission denied
Thanks,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:00 AM
тАО08-22-2007 05:00 AM
Re: mount a cd Remotely : Permission denied
mount -F nfs host1:/cdrom /cdrom
What is /cdrom? If this is a symlink to something in /dev/, it won't work.
Notice that SEP said to use /nfscd.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:15 AM
тАО08-22-2007 05:15 AM
Re: mount a cd Remotely : Permission denied
mount -F nfs host1:/cdrom /nfscd
Permission denied
I can mount the CDrom or filesystem to any location on the filesystem. Steven used /nfscd as an example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:15 AM
тАО08-22-2007 05:15 AM
Re: mount a cd Remotely : Permission denied
I assume that you are trying to NFS mount as root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:25 AM
тАО08-22-2007 05:25 AM
Re: mount a cd Remotely : Permission denied
Yes, only to directories.
>Steven used /nfscd as an example.
Exactly, so you wouldn't hide the possible local CD drive.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:37 AM
тАО08-22-2007 05:37 AM
Re: mount a cd Remotely : Permission denied
exportfs /cdrom
exportfs error: /cdrom: Read-only file system
drwxr-xr-x 1 2840 8500 2048 Feb 2 2004 cdrom
The permissions of the /cdrom changes once I mount the device. Why would that be?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 05:45 AM
тАО08-22-2007 05:45 AM
Re: mount a cd Remotely : Permission denied
The cdfs mount is a read only mount.
to answer your latest question, you need to provide an example.
Lots of gotcha's as A. Clay notes. However, I provided a detailed post the first time and honestly It provided a clear solution to the nfs mount problem if followed precisely.
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
тАО08-22-2007 06:19 AM
тАО08-22-2007 06:19 AM
Re: mount a cd Remotely : Permission denied
I followed you instructions.
mkdir /nfscd
mount -F nfs host1:/cdrom /nfscd
Permission denied
I'm not sure what the problem is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 07:50 AM
тАО08-22-2007 07:50 AM
Solutionexportfs -u /cdrom
Modify the /etc/exports file to include the ro option
cdrom -access=host2,anon=65534,ro
exportfs /cdrom
Now on the NFS client:
mkdir /cdnfs
chmod 755 /cdnfs
mount -F nfs -o ro otherhost:/cdrom /cdnfs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 08:10 AM
тАО08-22-2007 08:10 AM
Re: mount a cd Remotely : Permission denied
I was missing the ro option in the exports file. THat's why I was having the issues that I was.
THanks,
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2007 09:11 AM
тАО08-22-2007 09:11 AM