Sponsored Content
Full Discussion: Sharing ISO images over NFS
Special Forums Hardware Filesystems, Disks and Memory Sharing ISO images over NFS Post 90149 by deckard on Saturday 19th of November 2005 02:41:39 AM
Old 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

Burninig iso images

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

Mounting ISO images in IAX

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

Problem in sharing Symlink via NFS

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

sharing web files via NFS mount

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

NFS sharing across platforms

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

Program sharing on NFS

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

Sharing a network mount preferably with NFS

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
MOUNT.NFS(8)						      System Manager's Manual						      MOUNT.NFS(8)

NAME
mount.nfs, mount.nfs4 - mount a Network File System SYNOPSIS
mount.nfs remotetarget dir [-rvVwfnsh ] [-o options] DESCRIPTION
mount.nfs is a part of nfs(5) utilities package, which provides NFS client functionality. mount.nfs is meant to be used by the mount(8) command for mounting NFS shares. This subcommand, however, can also be used as a standalone command with limited functionality. remotetarget is a server share usually in the form of servername:/path/to/share. dir is the directory on which the file system is to be mounted. Under Linux 2.6.32 and later kernel versions, mount.nfs can mount all NFS file system versions. Under earlier Linux kernel versions, mount.nfs4 must be used for mounting NFSv4 file systems while mount.nfs must be used for NFSv3 and v2. OPTIONS
-r Mount file system readonly. -v Be verbose. -V Print version. -w Mount file system read-write. -f Fake mount. Don't actually call the mount system call. -n Do not update /etc/mtab. By default, an entry is created in /etc/mtab for every mounted file system. Use this option to skip making an entry. -s Tolerate sloppy mount options rather than fail. -h Print help message. nfsoptions Refer to nfs(5) or mount(8) manual pages. NOTE
For further information please refer nfs(5) and mount(8) manual pages. FILES
/etc/fstab file system table /etc/mtab table of mounted file systems SEE ALSO
nfs(5), mount(8), AUTHOR
Amit Gud <agud@redhat.com> 5 Jun 2006 MOUNT.NFS(8)
All times are GMT -4. The time now is 11:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy