Bluehost.com Web Hosting $6.95

NFS Mounts not visible

This is a discussion on NFS Mounts not visible within the Linux General forums, part of the Linux Forums category; I have a particular server. It mounts three NFS shares. They mount successfully upon reboot and stay mounted and accessible. ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-10-2008
Ignoramus14968
 
Posts: n/a
Default NFS Mounts not visible

I have a particular server. It mounts three NFS shares. They mount
successfully upon reboot and stay mounted and accessible.

All good, EXCEPT the mounts are not visible when I type "mount". That
causes my self monitoring scripts to complain and I do not like it.

So, why would a directory be mounted from fstab, but not visible in
mtab?

I am using Ubuntu Gutsy.

i
Reply With Quote
  #2 (permalink)  
Old 03-10-2008
Nicolas BOUTHORS
 
Posts: n/a
Default Re: NFS Mounts not visible

Ignoramus14968 a écrit :
> I have a particular server. It mounts three NFS shares. They mount
> successfully upon reboot and stay mounted and accessible.
>
> All good, EXCEPT the mounts are not visible when I type "mount". That
> causes my self monitoring scripts to complain and I do not like it.


Do they show up in cat /proc/mounts ?


--
Nicolas Bouthors -=- Tel : 06 20 71 62 34 -=- Fax : 01 46 87 21 99
NBi SARL -=- http://nbi.fr -=- nbouthors@nbi.fr
Reply With Quote
  #3 (permalink)  
Old 03-10-2008
Ignoramus25976
 
Posts: n/a
Default Re: NFS Mounts not visible

["Followup-To:" header set to comp.os.linux.misc.]
On 2008-03-10, Nicolas BOUTHORS <nicolas@bouthors.org> wrote:
> Ignoramus14968 a écrit :
>> I have a particular server. It mounts three NFS shares. They mount
>> successfully upon reboot and stay mounted and accessible.
>>
>> All good, EXCEPT the mounts are not visible when I type "mount". That
>> causes my self monitoring scripts to complain and I do not like it.

>
> Do they show up in cat /proc/mounts ?
>
>


Yes, they do. I guess I can use that instead for self monitoring.

Thanks.

i
Reply With Quote
  #4 (permalink)  
Old 03-10-2008
Nicolas BOUTHORS
 
Posts: n/a
Default Re: NFS Mounts not visible

Ignoramus25976 a écrit :
> Yes, they do. I guess I can use that instead for self monitoring.


This happened to me once when the mounts are done before / has been
remounted read + write.

What strange distribution do you use that mounts nfs before / is mounted
rw ?

Nico

Note : this also could indicate that your / has been remounted RO after
an error. Check dmesg.

--
Nicolas Bouthors -=- Tel : 06 20 71 62 34 -=- Fax : 01 46 87 21 99
NBi SARL -=- http://nbi.fr -=- nbouthors@nbi.fr
Reply With Quote
  #5 (permalink)  
Old 03-10-2008
Ignoramus25976
 
Posts: n/a
Default Re: NFS Mounts not visible

On 2008-03-10, Nicolas BOUTHORS <nicolas@bouthors.org> wrote:
> Ignoramus25976 a écrit :
>> Yes, they do. I guess I can use that instead for self monitoring.

>
> This happened to me once when the mounts are done before / has been
> remounted read + write.
>
> What strange distribution do you use that mounts nfs before / is mounted
> rw ?


I am not sure if your diagnosis is correct. Could be something
else.

That server runs ubuntu gutsy.

i
Reply With Quote
  #6 (permalink)  
Old 03-10-2008
Keith Keller
 
Posts: n/a
Default Re: NFS Mounts not visible

["Followup-To:" header set to comp.os.linux.misc.]

On 2008-03-10, Ignoramus25976 <ignoramus25976@NOSPAM.25976.invalid> wrote:
> On 2008-03-10, Nicolas BOUTHORS <nicolas@bouthors.org> wrote:
>> Ignoramus25976 a écrit :
>>> Yes, they do. I guess I can use that instead for self monitoring.

>>
>> This happened to me once when the mounts are done before / has been
>> remounted read + write.
>>
>> What strange distribution do you use that mounts nfs before / is mounted
>> rw ?

>
> I am not sure if your diagnosis is correct. Could be something
> else.


Like the Note: that Nicolas wrote, that you snipped, that it could be an
error with the / filesystem, so it's still mounted read-only? Did you
check that / is mounted rw?

--keith

--
kkeller-usenet@wombat.san-francisco.ca.us
(try just my userid to email me)
AOLSFAQ=http://www.therockgarden.ca/aolsfaq.txt
see X- headers for PGP signature information

Reply With Quote
  #7 (permalink)  
Old 03-10-2008
Ignoramus25976
 
Posts: n/a
Default Re: NFS Mounts not visible

On 2008-03-10, Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> wrote:
> ["Followup-To:" header set to comp.os.linux.misc.]
>
> On 2008-03-10, Ignoramus25976 <ignoramus25976@NOSPAM.25976.invalid> wrote:
>> On 2008-03-10, Nicolas BOUTHORS <nicolas@bouthors.org> wrote:
>>> Ignoramus25976 a écrit :
>>>> Yes, they do. I guess I can use that instead for self monitoring.
>>>
>>> This happened to me once when the mounts are done before / has been
>>> remounted read + write.
>>>
>>> What strange distribution do you use that mounts nfs before / is mounted
>>> rw ?

>>
>> I am not sure if your diagnosis is correct. Could be something
>> else.

>
> Like the Note: that Nicolas wrote, that you snipped, that it could be an
> error with the / filesystem, so it's still mounted read-only? Did you
> check that / is mounted rw?


Yes, it is rw.

i
Reply With Quote
  #8 (permalink)  
Old 03-23-2008
Mark Hobley
 
Posts: n/a
Default Re: NFS Mounts not visible

Ignoramus25976 <ignoramus25976@nospam.25976.invalid> wrote:

> Yes, it is rw.


I have seen this problem on a couple of mainstream distributions. You
basically need to run mount again to update the mtab, which was not
updated properly during boot time, because the root filesystem is
switched to read only for part of the boot process. To update mtab run:

mount -f

Regards,

Mark.

--
Mark Hobley,
393 Quinton Road West,
Quinton, BIRMINGHAM.
B32 1QE.
Reply With Quote
  #9 (permalink)  
Old 03-24-2008
Ignoramus14119
 
Posts: n/a
Default Re: NFS Mounts not visible

On 2008-03-23, Mark Hobley <markhobley@hotpop.donottypethisbit.com> wrote:
> Ignoramus25976 <ignoramus25976@nospam.25976.invalid> wrote:
>
>> Yes, it is rw.

>
> I have seen this problem on a couple of mainstream distributions. You
> basically need to run mount again to update the mtab, which was not
> updated properly during boot time, because the root filesystem is
> switched to read only for part of the boot process. To update mtab run:
>
> mount -f
>


Thanks. I do not care about this now, any more, I look into
/proc/mounts.

i
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 05:42 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0