Hello,

So I got around to install CentOS 5 on one of our servers and even
managed to install Windows Vista as a guest on by exporting a
directory with the DVD ISO file over NFS.

But now I need to install a couple of CentOS 5 guests and get into
trouble exporting it over NFS.

Now - first thing first - it appears that the CentOS 5 virt-manager
GUI utility expects to access the CONTENT of the ISO image, so just
exporting the ISO file itself isn't enough - I loop-mounted it under
/mnt/tmp and then exported /mnt/tmp.

There be dragons - it just doesn't work.
Things I tried:

1. exporting and mounting the directory without loop-mounting on it works.
2. exporting and mounting a sibling directory while /mnt/tmp has the
image mounted on it also works.

I suspect that somehow NFS doesn't like to export the directory
BECAUSE it's also a mount point.

I tried the usual export options: nohide, crossmnt, no_subtree_check.
I also tried exporting /mnt but it still doesn't help.

The ISO image is hosted on Debian Etch.

The /var/log/daemon.log on the exporting host says the following when
a mount is attempted:
Nov 23 18:06:43 xen01 mountd[26990]: authenticated mount request from
a.b.c.d:869 for /root/iso/ (/root/iso)

But still on the client side (I tested most of the time using
command-line "mount") it says "Permission denied".

I mount the loop device read-only, and also try to mount it read-only over NFS.

Questions:
1. What does virt-manager expect to be under the nfs:server:/directory
I give it? Does it expect this to be the root of the content of the
DVD image?
2. How can I make it work, short of copying the entire content of the
DVD onto a regular file system?

Thanks,

--Amos

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to