Re: remounting nfs dir on loop device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16:23 26 May 2003, John Meagher <jmeagher@xxxxxxxxxxx> wrote:
| I have mounted an iso image on computer a and exported 
| it via nfs to computer b on a lan where it appears as
| /mnt/disc1.iso. Both machines are RH8.
| 
| On computer b, I can copy it from /mnt/disc1.iso to
| to /tmp/localcopy and if I then
|     mount  /tmp/localcopy.iso /mnt/dummy -o loop
|  -- I can open up the individual files on computer b.
| 
| Is there a way to read the files without first making the local 
| copy on computer b?  I would prefer to do it on computer b if 
| possible.
| 
| If (on computer b) I try to 
| 
|  mount -vv -t iso9660 /mnt/disc1.iso  /mnt/dummy -o loop
| 
| I get a message:
| mount: going to use the loop device /dev/loop1
| mount: /mnt/disc1.iso: Permission denied
| mount: failed setting up loop device
| 
| The permission on /mnt/disc1 is 644 and I am root.
| 
| I don't know whether this is supposed to work or not.
| Can someone tell me?

I'm pretty sure a loop device needs a real local file to back it.
NFS isn't up to it (it's a stateless view of a filesystem, not much good
for an OS layer that needs timely and reliable block I/O to a file
as backing store).

Have you considered doing the loopback mount on the remote system and
exporting _that_ over NFS? That will work fine. In fact, we do that
here.

Cheers,
-- 
Cameron Simpson <cs@xxxxxxxxxx> DoD#743
http://www.cskk.ezoshosting.com/cs/

I need your clothes, your boots, and your motorcycle.
        - Arnold Schwarzenegger, Terminator 2


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux