<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Not able to write in /tmp file system in Redhat Linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/not-able-to-write-in-tmp-file-system-in-redhat-linux/m-p/4494375#M38187</link>
    <description>issue &lt;BR /&gt;df -k /tmp&lt;BR /&gt;&lt;BR /&gt;check system logs for /tmp file system error&lt;BR /&gt;&lt;BR /&gt;grep -i -E "/tmp|file system error" /var/adm/syslog</description>
    <pubDate>Wed, 09 Sep 2009 13:13:31 GMT</pubDate>
    <dc:creator>Hakki Aydin Ucar</dc:creator>
    <dc:date>2009-09-09T13:13:31Z</dc:date>
    <item>
      <title>Not able to write in /tmp file system in Redhat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/not-able-to-write-in-tmp-file-system-in-redhat-linux/m-p/4494374#M38186</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am not able to write anything on /tmp file system . Please find below the details and pls help me to resolve this issue.&lt;BR /&gt;&lt;BR /&gt;[root@/]# touch /tmp/test1&lt;BR /&gt;touch: cannot touch `/tmp/test1': Read-only file system&lt;BR /&gt;[root@/]# cd /&lt;BR /&gt;[root@ /]# su oracle&lt;BR /&gt;$ touch /tmp/test&lt;BR /&gt;touch: cannot touch `/tmp/test': Read-only file system&lt;BR /&gt;$&lt;BR /&gt;-----------&lt;BR /&gt;Permissions on /tmp&lt;BR /&gt;drwxrwxrwt    8 root root  4096 Sep  7 04:02 tmp&lt;BR /&gt;------------&lt;BR /&gt;&lt;BR /&gt;[root@/]# mount |grep -i /tmp&lt;BR /&gt;/dev/mapper/vg00-tmp on /tmp type ext3 (rw)&lt;BR /&gt;[root@/]#&lt;BR /&gt;---&lt;BR /&gt;[root@tmp]# pwd&lt;BR /&gt;/tmp&lt;BR /&gt;[root@ tmp]# ls -ltr&lt;BR /&gt;total 24&lt;BR /&gt;drwx------  2 root    root 16384 Jul 20  2007 lost+found&lt;BR /&gt;drwx------  2 root    root  4096 Jan 15  2008 keyring-F0dxnI&lt;BR /&gt;srwxr-xr-x  1 root    root     0 Jan 15  2008 mapping-root&lt;BR /&gt;drwxr-----  2 oragrid dba   4096 Aug 29 14:53 hsperfdata_oragrid&lt;BR /&gt;[root@ tmp]#&lt;BR /&gt;&lt;BR /&gt;Thanks in advance &lt;BR /&gt;Gaby&lt;BR /&gt;</description>
      <pubDate>Wed, 09 Sep 2009 12:40:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/not-able-to-write-in-tmp-file-system-in-redhat-linux/m-p/4494374#M38186</guid>
      <dc:creator>Gaby1110</dc:creator>
      <dc:date>2009-09-09T12:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to write in /tmp file system in Redhat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/not-able-to-write-in-tmp-file-system-in-redhat-linux/m-p/4494375#M38187</link>
      <description>issue &lt;BR /&gt;df -k /tmp&lt;BR /&gt;&lt;BR /&gt;check system logs for /tmp file system error&lt;BR /&gt;&lt;BR /&gt;grep -i -E "/tmp|file system error" /var/adm/syslog</description>
      <pubDate>Wed, 09 Sep 2009 13:13:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/not-able-to-write-in-tmp-file-system-in-redhat-linux/m-p/4494375#M38187</guid>
      <dc:creator>Hakki Aydin Ucar</dc:creator>
      <dc:date>2009-09-09T13:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to write in /tmp file system in Redhat Linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/not-able-to-write-in-tmp-file-system-in-redhat-linux/m-p/4494376#M38188</link>
      <description>Your "mount | grep -i /tmp" is essentially the same as "grep -i /tmp /etc/mtab". Its output reflects the options used when the filesystem was mounted (or remounted).&lt;BR /&gt;&lt;BR /&gt;To get up-to-the-second current data, look into /proc/mounts. I'll bet you find the /tmp filesystem now has the "ro" option.&lt;BR /&gt;&lt;BR /&gt;If there is an error accessing the filesystem, the default action of Linux is to set the filesystem to read-only mode. With the proper mount options, you can change this action.&lt;BR /&gt;&lt;BR /&gt;The alternatives are causing a system panic (if you absolutely, positively must be sure that the data in your filesystem is correct and are willing to suffer the downtime to fix it ASAP if it isn't) or to ignore the error (if you're more concerned about uptime than the correctness of your data, e.g. real-time video playback).&lt;BR /&gt;&lt;BR /&gt;You will probably find that you have experienced a disk error on the /tmp filesystem, which caused Linux to mark it read-only. The only way to mount the filesystem normally again is to unmount the filesystem, run a filesystem check on it and then mount it again. If you reboot the system, this will happen automatically.&lt;BR /&gt;&lt;BR /&gt;Now is a good time to make extra sure your backups are up to date. Your disk is probably about to fail. It was lucky that the error happened on the /tmp filesystem and not on anything more critical: count your blessings.&lt;BR /&gt;Check the kernel message buffer with "dmesg": you will probably see some disk errors. You might also use the "smartctl" command to check the disk's internal diagnostics, if your LVM PV is an ordinary IDE or SCSI disk.&lt;BR /&gt;&lt;BR /&gt;If your LVM PV is supposed to be a RAID1 mirror set, you've probably already missed the total failure of the first disk. The fact that the error became visible to the OS indicates that the second disk of the set is about to fail too. Lesson learned: mirroring is good, but you should monitor the health of your mirrors!&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 09 Sep 2009 17:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/not-able-to-write-in-tmp-file-system-in-redhat-linux/m-p/4494376#M38188</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-09-09T17:17:52Z</dc:date>
    </item>
  </channel>
</rss>

