Re: tmpfs (Debian & SSI 1.0.0)

John Hughes <[email protected]>
Newsgroups gmane.linux.cluster.ssic.user
Message-ID <[email protected]>
Aneesh Kumar wrote:
> Hi,
>
>
> On Tue, 3 Aug 2004 19:49:53 -0700, Jeff Lerman
> <[email protected]> wrote:
>   
>> On our three-node cluster running SSI (1.0.0) atop Debian, I see that
>> tmpfs gets mounted by every node when it boots into the cluster.  This
>> results in multiple tmpfs entries being listed when I do "df".  If a
>> cluster crashes and restarts, another entry is added.  Earlier today I
>> was up to six or seven entries.
>>     
>
> I have commited a fix to comment out the tmpfs mount from mountvirtfs script
>   
Pretty wholesale!

The basic problem is that the only cleanup of /etc/mtab is done by the
"mount -a -d #" call from rc.nodedown.  It will zap anything that looks
like it came from the node that was down, but it has no way of knowing
that a line like:

    tmpfs /dev/shm tmpfs rw 0 0
      

or even

    sysfs /sys sysfs rw 0 0
      

came from the node that went down.

Wouldn't it be nice to add a "node=#" to mtab to simplify this?  Or
would that cause horrible problems?



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.