<?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: secondary swap in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727777#M64686</link>
    <description>I neither read  completly your second  post...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If all the lvols on the supposed failing disk are mirrored.... dont worry...&lt;BR /&gt;&lt;BR /&gt;Just call for a new disk, and you will be able to replace w/o reboot.&lt;BR /&gt;&lt;BR /&gt;Yes, swap will reserve space in the available disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 21 May 2002 14:08:23 GMT</pubDate>
    <dc:creator>Carlos Fernandez Riera</dc:creator>
    <dc:date>2002-05-21T14:08:23Z</dc:date>
    <item>
      <title>secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727767#M64676</link>
      <description>If I have a disk error (or disk related - i.e., lose the controller/enclosure) where my secondary swap is located, do I bring the system up in single user, drop the secondary swap and "GO"?  You can see from my question I am under the assumption that this "error" crashes the system(?)</description>
      <pubDate>Mon, 20 May 2002 21:04:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727767#M64676</guid>
      <dc:creator>Don Bentz</dc:creator>
      <dc:date>2002-05-20T21:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727768#M64677</link>
      <description>Your best approach is to bring the system up in single user, mount /usr, /var, and possibly /tmp (so that you will have a functioning vi) and remove the secondary swap entry in /etc/fstab. You can then umount /tmp, /var, and /usr.&lt;BR /&gt;&lt;BR /&gt;Boot the machine normally at this point.&lt;BR /&gt;&lt;BR /&gt;By the way, if you have swap, it should be mirrored to avoid just this kind of problem. Ideally, you should be able to replace your disk and never shutdown.&lt;BR /&gt;</description>
      <pubDate>Mon, 20 May 2002 21:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727768#M64677</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2002-05-20T21:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727769#M64678</link>
      <description>Hi Don:&lt;BR /&gt;&lt;BR /&gt;I agree with Clay. A way to shorten the prodedure slightly is *not* to leave single user mode yet edit (remove) the 'fstab' entry with 'awk' (since a copy of 'awk' resides in '/sbin' (available in single-user mode).&lt;BR /&gt;&lt;BR /&gt;First find the secondary swap space.  Remember that primary swap is never decleared in /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;# /sbin/cat /etc/fstab&lt;BR /&gt;&lt;BR /&gt;Now having found the device file on which your secondary swap lived (e.g. /dev/vg01/lvol7) do:&lt;BR /&gt;&lt;BR /&gt;# /sbin/mv /etc/fstab /etc/fstab.old&lt;BR /&gt;# /sbin/awk '! /\dev\/vg01\/lvol7/ {print $0}' /etc/fstab.old &amp;gt; /etc/fstab&lt;BR /&gt;# /sbin/chmod 644 /etc/fstab&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 20 May 2002 22:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727769#M64678</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-05-20T22:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727770#M64679</link>
      <description>If your system is functioning to allow you can; edit fstab to remove the secondary swap and reboot.&lt;BR /&gt;I would consider this a workaround and would recommend investing in a possible HW problem with the enclosure.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Trond</description>
      <pubDate>Tue, 21 May 2002 05:06:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727770#M64679</guid>
      <dc:creator>Trond Haugen</dc:creator>
      <dc:date>2002-05-21T05:06:26Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727771#M64680</link>
      <description>Just to clarify, I have an FC10 which is where the secondary swap exists.  The logical volume is mirrored to 2 spindles.  I would still like to know under what circumstances the system might crash if the "enclosure" fails.  There are 2 paths to the enclosure, by the way, and each disk mirror is assigned to an alternate path.  Will the system crash only if a process attempts to reserve swap on the secondary and find the disk inaccessible?  Will it crash regardless of whether or not the secondary swap is accessed simply because part of my swap in inaccessible?</description>
      <pubDate>Tue, 21 May 2002 12:49:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727771#M64680</guid>
      <dc:creator>Don Bentz</dc:creator>
      <dc:date>2002-05-21T12:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727772#M64681</link>
      <description>Hi Don&lt;BR /&gt;&lt;BR /&gt;Ofcourse you can comment the secondary swap and restart the system but then I was wondering that you should definaltely have some more fielsystems on the secondary disks , do they aslo give some error , in wither case my recommnedation would be to disable the secondary swap and then look for the problem recitfy it and then enable it again.&lt;BR /&gt;&lt;BR /&gt;All the best.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 21 May 2002 13:07:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727772#M64681</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-05-21T13:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727773#M64682</link>
      <description>Once again.... this is a hypothetical case.  I AM NOT currently experiencing ANY disk error.  I just want to know what happens if I have a problem with accessing the disks on a secondary swap area.</description>
      <pubDate>Tue, 21 May 2002 13:13:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727773#M64682</guid>
      <dc:creator>Don Bentz</dc:creator>
      <dc:date>2002-05-21T13:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727774#M64683</link>
      <description>Well i do experience it...&lt;BR /&gt;&lt;BR /&gt;Secondary swap was not mirrored...&lt;BR /&gt;&lt;BR /&gt;One thing i realize was the system did not shutdown neither crashed..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Another thing i realize was i can not connect via telnet..., because the system cant reserve swap ...&lt;BR /&gt;&lt;BR /&gt;It is enough...&lt;BR /&gt;&lt;BR /&gt;I guess that you dont need to unreference secondary swap at boot, because system will not be able to add to swap ( it was broken.. no?, so it could not be up).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 13:29:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727774#M64683</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2002-05-21T13:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727775#M64684</link>
      <description>Hi Don:&lt;BR /&gt;&lt;BR /&gt;As you already had errors (hardware) on the disks, I would do the following:&lt;BR /&gt;&lt;BR /&gt;1) Check the enclosure and disks with the help of a hardware engineer&lt;BR /&gt;2) Run STM tools and find out any errors&lt;BR /&gt;3) Check the disks with dd or fsck&lt;BR /&gt;4) Replace any HDD which have errors on it.&lt;BR /&gt;5) Reconfigure swap space if needed&lt;BR /&gt;6) Mirror the swap spaces if possible.&lt;BR /&gt;&lt;BR /&gt;As you had errors on the secondary swap, the possibility of a crash is less. But you will not get a NORMAL system operation. If I ever get a hardware error with a disk (especially swap), I would replace it immediately ! &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Tue, 21 May 2002 13:37:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727775#M64684</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-05-21T13:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727776#M64685</link>
      <description>Hi Don&lt;BR /&gt;&lt;BR /&gt;I misread the IF . Now IF this happens :&lt;BR /&gt;&lt;BR /&gt;1. GO is good  in single user mode .&lt;BR /&gt;2. Drop the secondary swap and also the filesystems associated with that disk enclosure.&lt;BR /&gt;3.Hence all the app and database associated with those disks.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Comment the secondary swap and you are good to go.&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 21 May 2002 13:56:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727776#M64685</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-05-21T13:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: secondary swap</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727777#M64686</link>
      <description>I neither read  completly your second  post...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;If all the lvols on the supposed failing disk are mirrored.... dont worry...&lt;BR /&gt;&lt;BR /&gt;Just call for a new disk, and you will be able to replace w/o reboot.&lt;BR /&gt;&lt;BR /&gt;Yes, swap will reserve space in the available disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 May 2002 14:08:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secondary-swap/m-p/2727777#M64686</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2002-05-21T14:08:23Z</dc:date>
    </item>
  </channel>
</rss>

