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. ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
["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 |
|
|||
|
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 |
|
|||
|
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 |
|
|||
|
["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 |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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 |