11-19-2005
Sharing ISO images over NFS
I've got a bunch of application CDs that I use here at home under Wine. They are Windows applications and as such, some of them want to see the volume label in order for the application to run. So... just copying the CD-ROM contents to a directory doesn't work. With that in mind, what I've done in the past is make ISO images of the CD-ROMs on my hard drives and mount them locally. The mounted device is then mapped to "Drive D:" in Wine. This has always worked well. But I wanted to prevent wasting HD space on my clients, so I centralized the ISOs on a server. Until now, I've been using Samba to share those ISOs but seeing that I no longer have any Windows boxes, I've been moving away from Samba and onto NFS. However, I now have a problem. If I mount 'server:/mnt/data/cdserv' on /mnt/data/cdserv on the client, I can see my ISO images. No problem. But when I try to mount one of those ISO images to /mnt/cdrom1. I get a "permission denied" error.
While testing, I tried to manually associate /dev/loop0 with /mnt/data/cdserv/abh12.iso and I got the same "permission denied" error. So it sounds like the process fails when setting up a loop device. What is odd is that iso9660 is a read only file system. I have the NFS server exporting 'ro' and the export is mounted 'ro'. So my guess is that the "permission denied" error is being caused by the loop set up and nothing else. Any ideas why? Do I need to use a special option with losetup if I set the loop device up manually? Or is it an NFS export or mount issue? Is there some aspect of the ISO image that's not getting carried over NFS? This worked very well for me under Samba, but I really don't need Samba anymore and would hate to keep it around for just this one application.
One more thing I just discovered. I created a looped ext2 filesystem image and put it in the same location that my ISOs are. I tried to mount it via nfs as a loop device and got the same "permission denied" error. So it definitely seems that losetup/loop devs don't like to be exported via NFS. I'm still not sure why though since NFS seems to act like a normal filesystem in every other regard. Still searching for an answer...
Last edited by deckard; 11-19-2005 at 04:08 AM..
7 More Discussions You Might Find Interesting
1. Windows & DOS: Issues & Discussions
Whenever I try to burn an iso image on to a CD, the CD doesn't work. I use the program "CD Writing Wizard" on windows. I also tried Roxio. :confused: Can u help me.
Thank you for your replies :D :D :D :D (0 Replies)
Discussion started by: faron17
0 Replies
2. AIX
Hi Guys,
How to mount ISO images in AIX environment.
I know how to do it in Solaris.
Thanks
Manu (0 Replies)
Discussion started by: b_manu78
0 Replies
3. Linux
Hi,
I have created symlink under /.
It is /latest Pointing to /home/users/neel_prog_V1.0.
(Note: I have created this symlink so that when version get changed I will need to change only symlink instead of doing changes in /etc/exports.)
I have shared this symlink with NFS. in /etc/exports I... (0 Replies)
Discussion started by: neel.gurjar
0 Replies
4. High Performance Computing
I'm planning to load balance 2 web servers. I'm considering mounting an NFS share between the 2 servers so they can share the data. My question is: does this setup offset some of the benefits of load balancing? although there are 2 web servers, they both still access a single NFS server. Wouldn't... (2 Replies)
Discussion started by: gaspol
2 Replies
5. Solaris
Hi,
Not sure where to post this, I'm sorry and need suggestion if this is wrong section.
we are running NFS Server on Solaris 10 and client box is HP-UX 11.11 (Can't apply latest patches/upgrades as in-house appln. doesn't allow)
I am able to mount NFS shares from this Solaris box onto all... (4 Replies)
Discussion started by: prvnrk
4 Replies
6. UNIX for Dummies Questions & Answers
I am not sure is this plausible...
I have just built a NFS master server on a solaris box (secured by NIS)
And I have a dozen of virtual machines running 32 and 64 bits linux and windows, running different types of servers.
I am not sure is it possible to move most of the programs to the... (6 Replies)
Discussion started by: xstaci
6 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I would like to share a 9p (Plan 9) passthrough/share to a VM via NFS (using a guest as an NFS server to share a directory from the host)
At the moment I am getting the error message: 'exportfs: /share does not support NFS export'... (2 Replies)
Discussion started by: Scratch
2 Replies
LEARN ABOUT OSF1
dxfileshare
dxfileshare(8) System Manager's Manual dxfileshare(8)
NAME
dxfileshare - Exports local directories and mounts directories from the network
SYNOPSIS
/usr/bin/X11/dxfileshare
DESCRIPTION
Use the File Sharing application, dxfileshare, to: Export (or share) local UNIX directories to the network Stop exporting UNIX local direc-
tories to the network Specify which directories mounted from the network are to be remounted every time the system is rebooted, that is,
add an entry to the /etc/fstab file Add, change, or delete NFS entries from the /etc/exports file Share local UNIX directories with a per-
sonal computer (PC) when Advanced Server for UNIX is installed on your system Display local directories that are shared (exported) with the
network Display network mounts (directories that can be mounted from the network)
The File Sharing application can also be invoked from the CDE Application Manager from the following categories:
Application Group: System_Admin
System Admin Subgroup: Daily Admin
Online help is available for the File Sharing application by clicking on any Help button or using the Help pull-down menu.
RESTRICTIONS
You must have root privileges to use certain features of File Sharing. Namely, the ability to export (or share) a directory or to modify
the properties of a directory that is already being exported.
You must have Advanced Server for UNIX installed on your system to share local directories with PCs.
FILES
Defaults that are shared by the graphical and command line user interface. File Sharing uses the same file as the Host Manager application.
File Sharing application File Sharing help volume Directory containing File Sharing application icons Application defaults file that sets
the default values for the X resources File Sharing message catalog Message catalog containing File Sharing location IDs for on-item help
i18n_motif_shared_text.cat
Message catalog containing application-independent messages i18n_motif_shared_text_LocIds.cat
Message catalog containing application-independent location IDs for on-item help
SEE ALSO
Commands: X(1X), automount(8), bcheckrc(8), mount(8), mountd(8), showmount(8), umount(8)
Functions: getfsstat(2), getmntinfo(3), getmntinfo_r(3), mount(2), mount(2sv), umount(2), umount(2sv), umount(3)
Files: exports(4), fstab(4), mountdtab(4)
Tru64 UNIX System Administration
ASU Installation and Administration Guide
ASU Concepts and Planning Guide
dxfileshare(8)