<?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: Recreate /tmp in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582796#M32029</link>
    <description>As i mentioned in my previous posting, the executables in /sbin are statically linked so they have not dependancy on /usr/lib/libc.sl.  Whereas the ones in /usr/sbin are dynamically linked against /usr/lib/libc.sl.&lt;BR /&gt;&lt;BR /&gt;You would need to use the static binaries in single user mode as /usr is not mounted and so /usr/lib and /usr/lib/libc.sl is not available.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
    <pubDate>Fri, 21 Sep 2001 09:11:42 GMT</pubDate>
    <dc:creator>Santosh Nair_1</dc:creator>
    <dc:date>2001-09-21T09:11:42Z</dc:date>
    <item>
      <title>Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582789#M32022</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;My server running HP-UX 11.0 with 2 internal disks for vg00. The former system admin has created the /tmp over the 2 disk (104 PE on 1 disk and 21 PE on the other) and now I decide to recreate it in a single LV and have 1 mirror copy on the other disk. Is it true that I can only do this in single user mode ? If so, can I still call the lvcreate command as it is located in /usr/sbin ? Does /usr mount on single user mode then ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Patrick</description>
      <pubDate>Fri, 21 Sep 2001 07:44:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582789#M32022</guid>
      <dc:creator>Patrick Chim</dc:creator>
      <dc:date>2001-09-21T07:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582790#M32023</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;If you have enough space on the first disk, you can try doing a pvmove to move all the extents to one disk and lvextend -m 1 to mirror it to the other disk.  (Just curious why you'd want to mirror /tmp though since its usually not considered a critical filesystem).&lt;BR /&gt;&lt;BR /&gt;If this approach doesn't work then yes, you'd have to do this in single user mode as far too many program have a dependancy on /tmp and it would be impossible to umount /tmp while in multiuser.  Also, all the lv/vg/pv commands are in /sbin in addition to /usr/sbin (the one in /sbin being statically linked and therefore not dependant on libc.sl).&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Fri, 21 Sep 2001 08:00:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582790#M32023</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-21T08:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582791#M32024</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;I'd check to see what IS using /tmp by running:&lt;BR /&gt;&lt;BR /&gt;fuser -c /tmp&lt;BR /&gt;&lt;BR /&gt;and check what these processes are.  If they can be killed without disruption to running applications, you should be able to unmount /tmp.  As long as you have enough space in your root filesystem (where /tmp will now be written to, once unmounted), you should be able to re-create your filesystems as necessary and then remount /tmp at the end.  Remember to fix /etc/fstab if required.  It really all depends on how /tmp is being used by your apps.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Fri, 21 Sep 2001 08:19:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582791#M32024</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-09-21T08:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582792#M32025</link>
      <description>Hi,&lt;BR /&gt;It depends on how you want to go to in single user mode.&lt;BR /&gt;ISL&amp;gt; hpux -lm (booting with no LVM) &lt;BR /&gt;ISL&amp;gt; hpux -is (single user) &lt;BR /&gt;# init s&lt;BR /&gt;then mount /usr if required manually&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2001 08:21:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582792#M32025</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-09-21T08:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582793#M32026</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;You can also check out the following thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x1896663ce855d511abcd0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x1896663ce855d511abcd0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Fri, 21 Sep 2001 08:26:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582793#M32026</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-09-21T08:26:45Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582794#M32027</link>
      <description>Have to be careful about relying solely on fuser.  For example, I just a fuser -cu /tmp and it returned nothing.  But I wasn't able to umount /tmp because it says Device busy.&lt;BR /&gt;&lt;BR /&gt;The reason it says this is because there are sockets in /tmp created by some daemon.  fuser does NOT pick up on sockets...had to use lsof to figure this out.&lt;BR /&gt;&lt;BR /&gt;Just an FYI.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Fri, 21 Sep 2001 08:33:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582794#M32027</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-21T08:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582795#M32028</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There are 2 lvcreate in the system. One in /usr/sbin and the other one in /sbin. They have different sizes also. What is the difference between them ?&lt;BR /&gt;&lt;BR /&gt;Patrick</description>
      <pubDate>Fri, 21 Sep 2001 09:07:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582795#M32028</guid>
      <dc:creator>Patrick Chim</dc:creator>
      <dc:date>2001-09-21T09:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582796#M32029</link>
      <description>As i mentioned in my previous posting, the executables in /sbin are statically linked so they have not dependancy on /usr/lib/libc.sl.  Whereas the ones in /usr/sbin are dynamically linked against /usr/lib/libc.sl.&lt;BR /&gt;&lt;BR /&gt;You would need to use the static binaries in single user mode as /usr is not mounted and so /usr/lib and /usr/lib/libc.sl is not available.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Fri, 21 Sep 2001 09:11:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582796#M32029</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-09-21T09:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Recreate /tmp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582797#M32030</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;Santosh is correct.  You could also look for sockets explictly with&lt;BR /&gt;&lt;BR /&gt;find /tmp -type s&lt;BR /&gt;&lt;BR /&gt;or non-files/dirs/links with:&lt;BR /&gt;&lt;BR /&gt;find /tmp ! -type f ! -type d ! -type l&lt;BR /&gt;&lt;BR /&gt;For instance, sockets of the form:&lt;BR /&gt;&lt;BR /&gt;/tmp/.AgentSockets/*&lt;BR /&gt;&lt;BR /&gt;are created by snmpdm.  If this were the only socket found, you could stop with:&lt;BR /&gt;&lt;BR /&gt;/sbin/init.d/SnmpMaster stop&lt;BR /&gt;&lt;BR /&gt;then umount /tmp.  Of course, this may not apply in your case.&lt;BR /&gt;&lt;BR /&gt;Rgds, Robin.</description>
      <pubDate>Fri, 21 Sep 2001 09:19:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/recreate-tmp/m-p/2582797#M32030</guid>
      <dc:creator>Robin Wakefield</dc:creator>
      <dc:date>2001-09-21T09:19:12Z</dc:date>
    </item>
  </channel>
</rss>

