[opensuse] loopback mounted ISO images and nfs
I have a number of ISO images that I have mounted via the loop device. They are accessible on the local machine just fine. I would like these images to be accessible via nfs, cifs, etc. Well, I can see the contents in cifs. But not via nfs. I googled a bit, and it seems it should be working. But, alas, it is not. The NFS server with the mounted ISO images is openSUSE 11.1, and the NFS client is openSUSE 11.2. Anyone else doing this sort of thing with success? -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Roger Oberholtzer wrote:
I have a number of ISO images that I have mounted via the loop device. They are accessible on the local machine just fine.
I would like these images to be accessible via nfs, cifs, etc.
Well, I can see the contents in cifs. But not via nfs. I googled a bit, and it seems it should be working. But, alas, it is not.
The NFS server with the mounted ISO images is openSUSE 11.1, and the NFS client is openSUSE 11.2.
Anyone else doing this sort of thing with success?
Yep, I've got a pile of loop-mounted ISO images that I'm sharing with NFS. Excerpt from my /etc/exports file: /home/suse/suse-11.0/DVD 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.1/DVD 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.0/DVD64 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.1/DVD64 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.2/DVD 192.168.0.0/16(ro,async,root_squash) /Per -- Per Jessen, Zürich (3.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2009-12-02 at 13:58 +0100, Per Jessen wrote:
Roger Oberholtzer wrote:
I have a number of ISO images that I have mounted via the loop device. They are accessible on the local machine just fine.
I would like these images to be accessible via nfs, cifs, etc.
Well, I can see the contents in cifs. But not via nfs. I googled a bit, and it seems it should be working. But, alas, it is not.
The NFS server with the mounted ISO images is openSUSE 11.1, and the NFS client is openSUSE 11.2.
Anyone else doing this sort of thing with success?
Yep, I've got a pile of loop-mounted ISO images that I'm sharing with NFS. Excerpt from my /etc/exports file:
/home/suse/suse-11.0/DVD 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.1/DVD 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.0/DVD64 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.1/DVD64 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.2/DVD 192.168.0.0/16(ro,async,root_squash)
I have a directory, with each image mounted in a sub-directory. ISO loopback mount points: /vol1/Software/FinalReleases/live/ISO1 /vol1/Software/FinalReleases/live/ISO2 /vol1/Software/FinalReleases/live/ISO2 exported via NFS: /vol1 On the NFS client, I can see the /vol1/Software/FinalReleases/live/ISOx directories, but they are empty. Could this be the difference? Each of your exports has one loopback ISO. My export has many. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Roger Oberholtzer wrote:
I have a directory, with each image mounted in a sub-directory. ISO loopback mount points:
/vol1/Software/FinalReleases/live/ISO1 /vol1/Software/FinalReleases/live/ISO2 /vol1/Software/FinalReleases/live/ISO2
exported via NFS:
/vol1
On the NFS client, I can see the /vol1/Software/FinalReleases/live/ISOx directories, but they are empty. Could this be the difference? Each of your exports has one loopback ISO. My export has many.
I think I tried your approach initially, but couldn't make it work. I'm not sure, it's been a while since I set this up. /Per -- Per Jessen, Zürich (3.8°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2 Dec 2009, Roger Oberholtzer wrote:
On Wed, 2009-12-02 at 13:58 +0100, Per Jessen wrote:
Roger Oberholtzer wrote:
I have a number of ISO images that I have mounted via the loop device. They are accessible on the local machine just fine.
I would like these images to be accessible via nfs, cifs, etc.
Well, I can see the contents in cifs. But not via nfs. I googled a bit, and it seems it should be working. But, alas, it is not.
The NFS server with the mounted ISO images is openSUSE 11.1, and the NFS client is openSUSE 11.2.
Anyone else doing this sort of thing with success?
Yep, I've got a pile of loop-mounted ISO images that I'm sharing with NFS. Excerpt from my /etc/exports file:
/home/suse/suse-11.0/DVD 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.1/DVD 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.0/DVD64 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.1/DVD64 192.168.0.0/16(ro,async,root_squash) /home/suse/suse-11.2/DVD 192.168.0.0/16(ro,async,root_squash)
I have a directory, with each image mounted in a sub-directory. ISO loopback mount points:
/vol1/Software/FinalReleases/live/ISO1 /vol1/Software/FinalReleases/live/ISO2 /vol1/Software/FinalReleases/live/ISO2
exported via NFS:
/vol1
On the NFS client, I can see the /vol1/Software/FinalReleases/live/ISOx directories, but they are empty.
Could this be the difference? Each of your exports has one loopback ISO. My export has many.
Works fine for me. Maybe too obvious, but you use the 'crossmnt' option in your /etc/exports? Steffen -- Das Nichtrauchen entfernt uns von der Zivilisation und setzt den Mann mit seinem Dackel gleich. -- J. C. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 2009-12-02 at 15:30 +0100, Steffen Winterfeldt wrote:
Works fine for me. Maybe too obvious, but you use the 'crossmnt' option in your /etc/exports?
Too obvious? Not to me. Reading the man page and knowing what that option it is up to still did not make the man page entry clear. However, that sorted the problem. Thank you Steffen. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2009-12-02 at 12:41 +0100, Roger Oberholtzer wrote:
I have a number of ISO images that I have mounted via the loop device. They are accessible on the local machine just fine.
I would like these images to be accessible via nfs, cifs, etc.
Well, I can see the contents in cifs. But not via nfs. I googled a bit, and it seems it should be working. But, alas, it is not.
The NFS server with the mounted ISO images is openSUSE 11.1, and the NFS client is openSUSE 11.2.
You have to export the mountpoints one by one, and then use the "nohide" option. See my previous post about this. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAksXCD0ACgkQtTMYHG2NR9VoVQCdHJt7+u+zpwp4RgEKgfru0r1T aAMAnRczgxHFa4+Kg2I8UzKbn9U4gtAg =FaaL -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Roger Oberholtzer wrote:
I have a number of ISO images that I have mounted via the loop device. They are accessible on the local machine just fine.
I would like these images to be accessible via nfs, cifs, etc.
Well, I can see the contents in cifs. But not via nfs. I googled a bit, and it seems it should be working. But, alas, it is not.
The NFS server with the mounted ISO images is openSUSE 11.1, and the NFS client is openSUSE 11.2.
Anyone else doing this sort of thing with success?
I've done this before and I had to mount the images before the nfs server was started. This worked for me with 10.1 and SLE10. -- Rafael -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2009-12-03 at 09:36 -0500, Rafael E. Herrera wrote:
Roger Oberholtzer wrote:
I have a number of ISO images that I have mounted via the loop device. They are accessible on the local machine just fine.
I would like these images to be accessible via nfs, cifs, etc.
Well, I can see the contents in cifs. But not via nfs. I googled a bit, and it seems it should be working. But, alas, it is not.
The NFS server with the mounted ISO images is openSUSE 11.1, and the NFS client is openSUSE 11.2.
Anyone else doing this sort of thing with success?
I've done this before and I had to mount the images before the nfs server was started.
This worked for me with 10.1 and SLE10.
I did the suggestion of adding crossmnt to the export spec. But, of course. I then restarted the nfs server. So, it could very well be the order as well. I will have to try this when I can fiddle with these mounts. -- Roger Oberholtzer OPQ Systems / Ramböll RST Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Carlos E. R.
-
Per Jessen
-
Rafael E. Herrera
-
Roger Oberholtzer
-
Steffen Winterfeldt