<div dir="ltr">?????<br>So machine A has a disk image.<br>Machine B has a NFS served directory that is mounted by machine A.<br>The machine A disk image is loopback mounted to a point inside the NFS mount provided by machine B?!?!<br>
????????<br><br>Why????? This seems very, very bad. Which machine handles the lock on the mount - the source of the image file or the NFS server that handles the shared files? Nested NFS mounts are a nightmare as it is (and usually broke things up until NFSv4).<br>
<br><div class="gmail_quote">On Tue, Oct 14, 2008 at 11:48 AM, Jerry Yu <span dir="ltr"><<a href="mailto:jjj863@gmail.com">jjj863@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
/mnt/m1 is on the NFS server.<br>
It was created as such by a 3rd-party tool:<br>
Mkdir /mnt/m1<br>
Mount -t ext3 -o loop img1 /mnt/m1<br>
<br>
We have 200 such directories.<br>
<div><div></div><div class="Wj3C7c"><br>
On 10/14/08, Tim Meanor <<a href="mailto:timothy@meanor.net">timothy@meanor.net</a>> wrote:<br>
> Sounds like automounter behavior to me, too. Does m1 show up in the<br>
> output of "ls -la /mnt/*"? If so, then most likely it's an<br>
> automounted fs (via autofs or maybe amd).<br>
><br>
> -Tim<br>
><br>
> On Mon, Oct 13, 2008 at 5:35 PM, Jerry Yu <<a href="mailto:jjj863@gmail.com">jjj863@gmail.com</a>> wrote:<br>
>> They are regular NFS exports. The /mnt/m1 is my attempt to simplify my<br>
>> question. They are under /opt/mnt/appName1/m1 for client #1.<br>
>><br>
>> On 10/13/08, Jeff Lightner <<a href="mailto:jlightner@water.com">jlightner@water.com</a>> wrote:<br>
>>> I'm confused by this. You must have added the "/mnt/m1" as it is NOT a<br>
>>> stock part of RHEL5.<br>
>>><br>
>>><br>
>>><br>
>>> Are you sure this isn't something you've configured in /etc/fstab or in<br>
>>> automounter? I've seen some very strange behavior when attempting to<br>
>>> manually do things with filesystems put under automounter control.<br>
>>><br>
>>><br>
>>><br>
>>> ________________________________<br>
>>><br>
>>> From: <a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a> [mailto:<a href="mailto:ale-bounces@ale.org">ale-bounces@ale.org</a>] On Behalf Of<br>
>>> Jerry Yu<br>
>>> Sent: Monday, October 13, 2008 4:21 PM<br>
>>> To: ALE<br>
>>> Subject: [ale] invisible mounting points on RHEL 5.1<br>
>>><br>
>>><br>
>>><br>
>>> On a stock RHEL 5.1 server, an ext3 fs image (i1) is mounted as loopback<br>
>>> at /mnt/m1. /mnt/m1 is exported as NFS share to be used by a RHEL 5.1<br>
>>> client.<br>
>>><br>
>>> Not sure since when, on the NFS server,<br>
>>><br>
>>> * one can not see m1 when ls /mnt anymore. Meanwhile,<br>
>>> * 'cd /mnt/m1' and 'ls /mnt/m1' and file creation under /mnt/m1<br>
>>> all work just fine under /mnt/m1.<br>
>>> * mkdir /mnt/m1 fails saying '/mnt/m1 is present'<br>
>>> * /proc/mounts still have /mnt/m1 listed as mounted loopback.<br>
>>> * umounting /mnt/m1 & mounting it back works just fine. still<br>
>>> cannot see 'm1' under /mnt.<br>
>>> * /mnt/m1 is under constant use by the NFS clients, so 'rm -rf' or<br>
>>> 'umount' of /mnt/m1 from the server actually fails.<br>
>>> ----------------------------------<br>
>>> CONFIDENTIALITY NOTICE: This e-mail may contain privileged or<br>
>>> confidential<br>
>>> information and is for the sole use of the intended recipient(s). If you<br>
>>> are<br>
>>> not the intended recipient, any disclosure, copying, distribution, or use<br>
>>> of<br>
>>> the contents of this information is prohibited and may be unlawful. If<br>
>>> you<br>
>>> have received this electronic transmission in error, please reply<br>
>>> immediately to the sender that you have received the message in error,<br>
>>> and<br>
>>> delete it. Thank you.<br>
>>> ----------------------------------<br>
>>><br>
>> _______________________________________________<br>
>> Ale mailing list<br>
>> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
>> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
>><br>
> _______________________________________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
><br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III <br><br>
</div>