[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



-Ryan

-----Original Message-----
From: Doug McNash [<a  rel="nofollow" href="mailto:dmcnash";>mailto:dmcnash</a> at charter.net] 
Sent: Thursday, June 16, 2005 2:13 PM
To: FishR at bellsouth.net; Atlanta Linux Enthusiasts
Subject: RE: RE: [ale] /tmp set to read-only on boot (need help)


mount -a causes a mount to be issued for each filesystem listed /etc/fstab
so
if a filesystem is already mounted you should expect a diagnostic message.

That's normal - ignore it or be more selective in what you mount.

&gt; 
&gt; [root at server02 tmp]# mount -a
&gt; mount: /dev/sda1 already mounted or /boot busy
&gt; 
&gt; Any ideas?
&gt; 
&gt; Thank you again.
&gt; -Ryan
&gt; 
&gt; -----Original Message-----
&gt; From: ale-bounces at ale.org [<a  rel="nofollow" href="mailto:ale-bounces";>mailto:ale-bounces</a> at ale.org] On Behalf Of Ryan
&gt; Fish
&gt; Sent: Thursday, June 16, 2005 12:44 PM
&gt; To: Chris Fowler
&gt; Cc: 'Atlanta Linux Enthusiasts'
&gt; Subject: Re: RE: [ale] /tmp set to read-only on boot (need help)
&gt; 
&gt; That did it.  I can now write to /tmp again.
&gt; 
&gt; Thank you!
&gt; -Ryan
&gt; 
&gt; 
&gt; &gt; 
&gt; &gt; From: Chris Fowler &lt;cfowler at outpostsentinel.com&gt;
&gt; &gt; Date: 2005/06/16 Thu PM 12:42:23 EDT
&gt; &gt; To: FishR at bellsouth.net
&gt; &gt; CC: &quot;'Atlanta Linux Enthusiasts'&quot; &lt;ale at ale.org&gt;
&gt; &gt; Subject: RE: [ale] /tmp set to read-only on boot (need help)
&gt; &gt; 
&gt; &gt; mount / -o rw,remount; touch /tmp/file
&gt; &gt; 
&gt; &gt; On Thu, 2005-06-16 at 12:28 -0400, Ryan Fish wrote:
&gt; &gt; &gt; Due to /tmp not being listed in /etc/fstab or /etc/mtab that command
&gt; (mount
&gt; &gt; &gt; /tmp -o rw,remount ) does not work.
&gt; &gt; &gt; 
&gt; &gt; &gt; [root at server02 root]# mount /tmp -o rw,remount
&gt; &gt; &gt; mount: can't find /tmp in /etc/fstab or /etc/mtab
&gt; &gt; &gt; 
&gt; &gt; &gt; 
&gt; &gt; &gt; [root at server02 root]# more /etc/fstab
&gt; &gt; &gt; LABEL=/                 /                       ext3    defaults
&gt; 1 1
&gt; &gt; &gt; LABEL=/boot             /boot                   ext3    defaults
&gt; 1 2
&gt; &gt; &gt; none                    /dev/pts                devpts  gid=5,mode=620
&gt; 0 0
&gt; &gt; &gt; LABEL=/mc               /mc                     ext3    defaults
&gt; 1 2
&gt; &gt; &gt; LABEL=/oracle           /oracle                 ext3    defaults
&gt; 1 2
&gt; &gt; &gt; none                    /proc                   proc    defaults
&gt; 0 0
&gt; &gt; &gt; none                    /dev/shm                tmpfs   defaults
&gt; 0 0
&gt; &gt; &gt; LABEL=/var              /var                    ext3    defaults
&gt; 1 2
&gt; &gt; &gt; /dev/sdb1               swap                    swap    defaults
&gt; 0 0
&gt; &gt; &gt; /dev/cdrom              /mnt/cdrom              udf,iso9660
&gt; &gt; &gt; noauto,owner,kudzu,ro 0 0
&gt; &gt; &gt; /dev/fd0                /mnt/floppy             auto
&gt; noauto,owner,kudzu 0
&gt; &gt; &gt; 0
&gt; &gt; &gt; 192.168.3.202:/mc/backups/server02/exp
&gt; /mc/backups/database/mc/exp_bk/exp
&gt; &gt; &gt; nfs rw,hard,intr 1 2
&gt; &gt; &gt; 192.168.3.202:/mc/backups/systems/server02/rman
&gt; &gt; &gt; /mc/backups/database/mc/exp_bk/expold nfs rw,hard,intr 1 2
&gt; &gt; &gt; 
&gt; &gt; &gt; 
&gt; &gt; &gt; [root at server02 root]# more /etc/mtab 
&gt; &gt; &gt; /dev/sda2 / ext3 rw 0 0
&gt; &gt; &gt; none /proc proc rw 0 0
&gt; &gt; &gt; none /dev/pts devpts rw,gid=5,mode=620 0 0
&gt; &gt; &gt; /dev/sdb2 /mc ext3 rw 0 0
&gt; &gt; &gt; /dev/sda5 /oracle ext3 rw 0 0
&gt; &gt; &gt; /dev/sda3 /var ext3 rw 0 0
&gt; &gt; &gt; 
&gt; &gt; &gt; 
&gt; &gt; &gt; [root at server02 root]# mount
&gt; &gt; &gt; /dev/sda2 on / type ext3 (rw)
&gt; &gt; &gt; none on /proc type proc (rw)
&gt; &gt; &gt; none on /dev/pts type devpts (rw,gid=5,mode=620)
&gt; &gt; &gt; /dev/sdb2 on /mc type ext3 (rw)
&gt; &gt; &gt; /dev/sda5 on /oracle type ext3 (rw)
&gt; &gt; &gt; /dev/sda3 on /var type ext3 (rw)
&gt; &gt; &gt; 
&gt; &gt; &gt; -Ryan
&gt; &gt; &gt; 
&gt; &gt; &gt; -----Original Message-----
&gt; &gt; &gt; From: Christopher Fowler [<a  rel="nofollow" href="mailto:cfowler";>mailto:cfowler</a> at outpostsentinel.com] 
&gt; &gt; &gt; Sent: Thursday, June 16, 2005 12:11 PM
&gt; &gt; &gt; To: FishR at bellsouth.net; Atlanta Linux Enthusiasts
&gt; &gt; &gt; Subject: Re: [ale] /tmp set to read-only on boot (need help)
&gt; &gt; &gt; 
&gt; &gt; &gt; mount /tmp -o rw,remount
&gt; &gt; &gt; 
&gt; &gt; &gt; On Thu, 2005-06-16 at 11:50 -0400, Ryan Fish wrote:
&gt; &gt; &gt; &gt; I'm not sure why, but /tmp is set to read-only on a RHEL3 AS server.
&gt; I am
&gt; &gt; &gt; trying to set it back to allow writing but am failing so far.
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Here is what I am seeing (I am unable to write to /tmp in any
&gt; manner.):
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; [root at mcdb02 root]# crontab -e
&gt; &gt; &gt; &gt; /tmp/crontab.17515: Read-only file system
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; When trying to force the mounts to setup I see the following:
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; [root at mcdb02 root]# mount -a
&gt; &gt; &gt; &gt; mount: /dev/sda1 already mounted or /boot busy
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; There is no mention of /tmp in /etc/fstab or /etc/mtab
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; I can write to other locations on the server.
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Any ideas on what I can try to get this fixed?  I guess a clean
reboot
&gt; &gt; &gt; should allow it to function properly again but I am trying to get by
&gt; without
&gt; &gt; &gt; doing that.
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; Thank you.
&gt; &gt; &gt; &gt; -Ryan
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; 
&gt; &gt; &gt; &gt; _______________________________________________
&gt; &gt; &gt; &gt; Ale mailing list
&gt; &gt; &gt; &gt; Ale at ale.org
&gt; &gt; &gt; &gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; &gt; &gt; 
&gt; &gt; &gt; 
&gt; &gt; 
&gt; &gt; 
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 
&gt; 
&gt; _______________________________________________
&gt; Ale mailing list
&gt; Ale at ale.org
&gt; <a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt; 



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00651" href="msg00651.html">[ale] /tmp set to read-only on boot (need help)</a></strong>
<ul><li><em>From:</em> dmcnash at charter.net (Doug McNash)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00647" href="msg00647.html">[ale] /tmp set to read-only on boot (need help)</a></strong>
<ul><li><em>From:</em> dmcnash at charter.net (Doug McNash)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00647.html">[ale] /tmp set to read-only on boot (need help)</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00649.html">[ale] How to upgrade kernel in Fedora?</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00647.html">[ale] /tmp set to read-only on boot (need help)</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00651.html">[ale] /tmp set to read-only on boot (need help)</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00648"><strong>Date</strong></a></li>
<li><a href="threads.html#00648"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>