<?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: vxfs:msg001:vx_nospace /dev/root in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091084#M442347</link>
    <description>Peter, &lt;BR /&gt;&lt;BR /&gt;You've got to have some available disk space handy, and you've got to create some lvols on them, then format them, add them to /etc/fstab... etc.&lt;BR /&gt;&lt;BR /&gt;Did you make mount points from disk already?&lt;BR /&gt;&lt;BR /&gt;The problem is - this process needs to be done to survive a reboot, and then, on reboot it has to come back up - and yes, it requires a reboot, or at least, single user mode.&lt;BR /&gt;&lt;BR /&gt;1: Make two lvols, format them with a file system, and mount them.  I'm going to assume that you already know how to do this, if not, that's another question to ask the forum.&lt;BR /&gt;&lt;BR /&gt;2: Mount the newly created lvols at a temporary location - say /tempopt and /templp&lt;BR /&gt;3: copy the files (not move).&lt;BR /&gt;$&amp;gt; cd /etc/opt&lt;BR /&gt;$&amp;gt; find . | cpio -pdmvu /tempopt&lt;BR /&gt;$&amp;gt; cd /etc/lp&lt;BR /&gt;$&amp;gt; find . | cpio -pdmvu /templp&lt;BR /&gt;&lt;BR /&gt;3: Fix the /etc/fstab to mount the two lvols that you created at /etc/opt and /etc/lp using vi.  You'll need to add two lines in this file, one for each mount point.  Once again, I'm presuming you know how to do this.&lt;BR /&gt;&lt;BR /&gt;4: Get all users off and applications (databases, web servers, application servers, java servlets, etc.) shut down&lt;BR /&gt;&lt;BR /&gt;5: Go to single user mode &lt;BR /&gt;$&amp;gt; init s&lt;BR /&gt;&lt;BR /&gt;6: remove all files in /etc/opt and /etc/lp&lt;BR /&gt;$&amp;gt; rm -rf /etc/opt&lt;BR /&gt;$&amp;gt; rm -rf /etc/lp&lt;BR /&gt;&lt;BR /&gt;7; remake the directories that you just deleted so that you can mount back up&lt;BR /&gt;$&amp;gt; mkdir /etc/opt /etc/lp&lt;BR /&gt;&lt;BR /&gt;8; reboot your server, or at least go back to init level 3 ( or whatever your default init level is).  It is easiest to reboot&lt;BR /&gt;$&amp;gt; shutdown -r now&lt;BR /&gt;&lt;BR /&gt;Above all, make sure and do this on a TEST server first to make sure that you know how to correctly and easily do this.</description>
    <pubDate>Tue, 05 Feb 2008 15:53:32 GMT</pubDate>
    <dc:creator>TwoProc</dc:creator>
    <dc:date>2008-02-05T15:53:32Z</dc:date>
    <item>
      <title>vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091078#M442341</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I am getting the error message in the Subject.&lt;BR /&gt;&lt;BR /&gt;df -k gives&lt;BR /&gt;&lt;BR /&gt;/                      (/dev/vg00/lvol3       ) :   606208 total allocated Kb&lt;BR /&gt;                                                         0 free allocated Kb&lt;BR /&gt;                                                    606208 used allocated Kb&lt;BR /&gt;                                                       100 % allocation used&lt;BR /&gt;&lt;BR /&gt;for the root device.&lt;BR /&gt;&lt;BR /&gt;Executing&lt;BR /&gt;du -x / | sort -n |less&lt;BR /&gt;gives me:&lt;BR /&gt;...&lt;BR /&gt;10320   /etc/opt/mx&lt;BR /&gt;10320   /etc/opt/mx/config&lt;BR /&gt;20592   /etc/vx/type/fsgen&lt;BR /&gt;22608   /etc/vx/static.d/build&lt;BR /&gt;24128   /etc/vx/static.d&lt;BR /&gt;25472   /etc/opt/resmon/lbin&lt;BR /&gt;32448   /etc/vx/type/raid5&lt;BR /&gt;34768   /sbin/fs/vxfs&lt;BR /&gt;36528   /etc/opt/resmon&lt;BR /&gt;43440   /etc/vx/type/gen&lt;BR /&gt;56288   /sbin/fs/vxfs4.1&lt;BR /&gt;62976   /etc/opt&lt;BR /&gt;69008   /etc/vx/type/static&lt;BR /&gt;103920  /sbin/fs&lt;BR /&gt;165504  /etc/vx/type&lt;BR /&gt;192208  /etc/vx&lt;BR /&gt;267824  /etc&lt;BR /&gt;315840  /sbin&lt;BR /&gt;1176000 /&lt;BR /&gt;&lt;BR /&gt;I am not quite sure if the maths here are OK, but...can anyone suggest me what could I delete from the root filesystem, so I can get some more space?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Peter&lt;BR /&gt;&lt;BR /&gt;PS:&lt;BR /&gt;I was trying to use "Forum advanced search" of this site, but based on the first minute of waiting, it was going to take ages for the search page to load.</description>
      <pubDate>Tue, 05 Feb 2008 14:56:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091078#M442341</guid>
      <dc:creator>Peter Kovacs 1.0rc</dc:creator>
      <dc:date>2008-02-05T14:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091079#M442342</link>
      <description>Peter, &lt;BR /&gt;&lt;BR /&gt;You can move (NOT DELETE) the stuff in /etc/opt and /etc/lp.  You can move these to be theor own mount points safely.  HOWEVER, that may depend on what software you've got running on boot up.  So, you need to test this out on a test server that is running all of the services of the production server first.</description>
      <pubDate>Tue, 05 Feb 2008 15:20:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091079#M442342</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2008-02-05T15:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091080#M442343</link>
      <description>Thanks!&lt;BR /&gt;&lt;BR /&gt;My plan was:&lt;BR /&gt;&lt;BR /&gt;1. mv /etc/opt /opt/etc/&lt;BR /&gt;2. ln -s /opt/etc/opt /etc/opt&lt;BR /&gt;&lt;BR /&gt;For the first steop, I got this:&lt;BR /&gt;&lt;BR /&gt;bash-3.00# mv /etc/opt /opt/etc/&lt;BR /&gt;rm: emsagent not removed.  Text file busy&lt;BR /&gt;rm: p_client not removed.  Text file busy&lt;BR /&gt;rm: registrar not removed.  Text file busy&lt;BR /&gt;rm: directory lbin not removed.  Directory not empty&lt;BR /&gt;rm: librescli.so.1 not removed.  Text file busy&lt;BR /&gt;rm: libresmon.so.1 not removed.  Text file busy&lt;BR /&gt;rm: directory hpux32 not removed.  Directory not empty&lt;BR /&gt;rm: librescli.so.1 not removed.  Text file busy&lt;BR /&gt;rm: libresmon.so.1 not removed.  Text file busy&lt;BR /&gt;rm: directory hpux64 not removed.  Directory not empty&lt;BR /&gt;rm: directory lib not removed.  Directory not empty&lt;BR /&gt;rm: directory resmon not removed.  Directory not empty&lt;BR /&gt;rm: directory /etc/opt not removed.  Directory not empty&lt;BR /&gt;mv: /etc/opt: Cannot unlink.&lt;BR /&gt;&lt;BR /&gt;Did I mess up the system for good?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 05 Feb 2008 15:32:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091080#M442343</guid>
      <dc:creator>Peter Kovacs 1.0rc</dc:creator>
      <dc:date>2008-02-05T15:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091081#M442344</link>
      <description>What? Someone complaining about the forum search facility? Surely not!&lt;BR /&gt;&lt;BR /&gt;I notice /dev isn't listed in your output, but it's worth looking for an ordinary file in there. What typically happens is someone mistypes a tape device name and creates a large text file in /dev.&lt;BR /&gt;&lt;BR /&gt;Apart from that, check if any applications are writing to / that should be writing to their own dedicated filesystem.&lt;BR /&gt;&lt;BR /&gt;Mark Syder (like the drink but spelt different)</description>
      <pubDate>Tue, 05 Feb 2008 15:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091081#M442344</guid>
      <dc:creator>MarkSyder</dc:creator>
      <dc:date>2008-02-05T15:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091082#M442345</link>
      <description>could you post or attach the complete output of&lt;BR /&gt;&lt;BR /&gt;# du -ksx / | sort -n</description>
      <pubDate>Tue, 05 Feb 2008 15:49:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091082#M442345</guid>
      <dc:creator>Robert-Jan Goossens_1</dc:creator>
      <dc:date>2008-02-05T15:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091083#M442346</link>
      <description>bash-3.00# du -ksx / | sort -n &amp;gt; /opt/du.log&lt;BR /&gt;bash-3.00# less /opt/du.log&lt;BR /&gt;586760  /&lt;BR /&gt;bash-3.00#&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 05 Feb 2008 15:52:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091083#M442346</guid>
      <dc:creator>Peter Kovacs 1.0rc</dc:creator>
      <dc:date>2008-02-05T15:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091084#M442347</link>
      <description>Peter, &lt;BR /&gt;&lt;BR /&gt;You've got to have some available disk space handy, and you've got to create some lvols on them, then format them, add them to /etc/fstab... etc.&lt;BR /&gt;&lt;BR /&gt;Did you make mount points from disk already?&lt;BR /&gt;&lt;BR /&gt;The problem is - this process needs to be done to survive a reboot, and then, on reboot it has to come back up - and yes, it requires a reboot, or at least, single user mode.&lt;BR /&gt;&lt;BR /&gt;1: Make two lvols, format them with a file system, and mount them.  I'm going to assume that you already know how to do this, if not, that's another question to ask the forum.&lt;BR /&gt;&lt;BR /&gt;2: Mount the newly created lvols at a temporary location - say /tempopt and /templp&lt;BR /&gt;3: copy the files (not move).&lt;BR /&gt;$&amp;gt; cd /etc/opt&lt;BR /&gt;$&amp;gt; find . | cpio -pdmvu /tempopt&lt;BR /&gt;$&amp;gt; cd /etc/lp&lt;BR /&gt;$&amp;gt; find . | cpio -pdmvu /templp&lt;BR /&gt;&lt;BR /&gt;3: Fix the /etc/fstab to mount the two lvols that you created at /etc/opt and /etc/lp using vi.  You'll need to add two lines in this file, one for each mount point.  Once again, I'm presuming you know how to do this.&lt;BR /&gt;&lt;BR /&gt;4: Get all users off and applications (databases, web servers, application servers, java servlets, etc.) shut down&lt;BR /&gt;&lt;BR /&gt;5: Go to single user mode &lt;BR /&gt;$&amp;gt; init s&lt;BR /&gt;&lt;BR /&gt;6: remove all files in /etc/opt and /etc/lp&lt;BR /&gt;$&amp;gt; rm -rf /etc/opt&lt;BR /&gt;$&amp;gt; rm -rf /etc/lp&lt;BR /&gt;&lt;BR /&gt;7; remake the directories that you just deleted so that you can mount back up&lt;BR /&gt;$&amp;gt; mkdir /etc/opt /etc/lp&lt;BR /&gt;&lt;BR /&gt;8; reboot your server, or at least go back to init level 3 ( or whatever your default init level is).  It is easiest to reboot&lt;BR /&gt;$&amp;gt; shutdown -r now&lt;BR /&gt;&lt;BR /&gt;Above all, make sure and do this on a TEST server first to make sure that you know how to correctly and easily do this.</description>
      <pubDate>Tue, 05 Feb 2008 15:53:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091084#M442347</guid>
      <dc:creator>TwoProc</dc:creator>
      <dc:date>2008-02-05T15:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091085#M442348</link>
      <description>I simply forgot to make a listing of / itself. There was a 300MB log file in there. Removing the log file solved the problem.&lt;BR /&gt;&lt;BR /&gt;(I copied back the /etc/opt directory to its initial location. I got a few "file busy" error messages in the process. I am crossing my fingers and hope that those files were so busy when I was trying to move them away that "mv" didn't touch them either at that time.)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 05 Feb 2008 16:44:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091085#M442348</guid>
      <dc:creator>Peter Kovacs 1.0rc</dc:creator>
      <dc:date>2008-02-05T16:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: vxfs:msg001:vx_nospace /dev/root</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091086#M442349</link>
      <description>Delete large log file.</description>
      <pubDate>Tue, 05 Feb 2008 16:51:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxfs-msg001-vx-nospace-dev-root/m-p/5091086#M442349</guid>
      <dc:creator>Peter Kovacs 1.0rc</dc:creator>
      <dc:date>2008-02-05T16:51:37Z</dc:date>
    </item>
  </channel>
</rss>

