Re: NFS and loop devices
From: fishdude (fishdude-nospam-_at_gmx.net)
Date: 12/02/04
- Next message: James Knott: "Re: All Our Documents Are Java"
- Previous message: Gunnar: "Re: nvidia display driver"
- In reply to: RobD: "Re: NFS and loop devices"
- Next in thread: fishdude: "Re: NFS and loop devices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 02 Dec 2004 12:07:19 +0100
RobD wrote:
> I duplicated your problem on two virtual machines (using vmware) and I was
> able find a solution. First, I tried using the "nohide" option for the
> exports. This is used if two filesystems are involved, a parent and a
> child, so the child fs is visible (see exports(5) man page). This alone
> didn't help. I then followed their suggestion and used a single host's IP
> address; again no joy. What did make it work was to explicitly export the
> dvd1, dvd2, ... subdirectories. I think this is needed because of the
> loop device.
>
> The exports file looks something like this:
> /media/dvd/ 192.168.1.0/24(ro,async,nohide)
> /media/dvd/dvd1/ 192.168.1.0/24(ro,async,nohide)
> /media/dvd/dvd2/ 192.168.1.0/24(ro,async,nohide)
>
> The "nohide" options are required.
i don´t think so. on my side it´s working without.
the explicit export solves the problem. ;o)
<°)>><
>
> - Robert -
>
> "suttie" <sutter_peter@hotmail.com> wrote in message
> news:41ae99c5@funnel.arach.net.au...
>> Hi,
>>
>> As the result of archiving, I have a number of data cds and data dvds
>> which
>> I would like to share out via nfs.
>>
>> Because I do not have as many cd and dvd readers as I have disks, I
>> copied the dvd's/cd's as iso images to a large disk on the 'archive'
>> server.
>>
>> On the 'archive' server, I mount the iso files as a loop device
>> to /media/DVD/DVD1, /media/DVD/DVD2 etc, one mount point for each iso
>> image. The entry in fstab is
>>
>> /archive/DVD/dvd1.iso /media/DVD/DVD1 iso9660 loop,auto,ro
>>
>> On the archive server, I now try to share out /media/DVD via nfs, the
>> entry
>> in exports is:
>>
>> /media/DVD 192.168.1.0/24(ro,async)
>>
>> On the client, I can mount with
>>
>> mount -t nfs archive:/media/DVD /mountpoint.
>>
>> A ls /mountpoint shows all the directories available. A ls
>> /mountpoint/DVD1
>> shows an empty directory.
>>
>> Why? What do I overlook?
>>
>> The strange thing is, if I share out the iso image, I can mount it as a
>> loop
>> device on the client, and I can access the content of the dvd. Why does
>> it work this way round?
>>
>> Thanks
>>
>> Peter
>>
- Next message: James Knott: "Re: All Our Documents Are Java"
- Previous message: Gunnar: "Re: nvidia display driver"
- In reply to: RobD: "Re: NFS and loop devices"
- Next in thread: fishdude: "Re: NFS and loop devices"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|