<?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: Remove a file system in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856005#M94698</link>
    <description>unmount the filesystem and use lvremove command to do that.&lt;BR /&gt;lvremove /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Rajeev</description>
    <pubDate>Tue, 03 Dec 2002 03:47:04 GMT</pubDate>
    <dc:creator>Rajeev  Shukla</dc:creator>
    <dc:date>2002-12-03T03:47:04Z</dc:date>
    <item>
      <title>Remove a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856004#M94697</link>
      <description>As title. How to remove a file system?&lt;BR /&gt;Assume a logical volume /dev/vg00/lvol2 was&lt;BR /&gt;created.&lt;BR /&gt;Thanks.</description>
      <pubDate>Tue, 03 Dec 2002 03:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856004#M94697</guid>
      <dc:creator>j773303</dc:creator>
      <dc:date>2002-12-03T03:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856005#M94698</link>
      <description>unmount the filesystem and use lvremove command to do that.&lt;BR /&gt;lvremove /dev/vg00/lvol2&lt;BR /&gt;&lt;BR /&gt;cheers&lt;BR /&gt;Rajeev</description>
      <pubDate>Tue, 03 Dec 2002 03:47:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856005#M94698</guid>
      <dc:creator>Rajeev  Shukla</dc:creator>
      <dc:date>2002-12-03T03:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856006#M94699</link>
      <description>You don't mean /dev/vg00/lvol2 right because that's usually for primary swap ? Assuming you're talking about non-root volume group (non-vg00), all you need to do is ..&lt;BR /&gt;==&amp;gt; Assuming /dev/vg01/lvol1 mounted on /opt/apps&lt;BR /&gt;# cd /&lt;BR /&gt;# umount /opt/apps&lt;BR /&gt;# lvremove /dev/vg01/lvol1&lt;BR /&gt;# vi /etc/fstab&lt;BR /&gt;==&amp;gt; Delete the appropriate entry.&lt;BR /&gt;# vgdisplay -v vg01 | more&lt;BR /&gt;==&amp;gt; Make sure "lvol1" is gone and previous extents used are now "released".</description>
      <pubDate>Tue, 03 Dec 2002 03:47:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856006#M94699</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-12-03T03:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856007#M94700</link>
      <description>&lt;BR /&gt;lvremove&lt;BR /&gt;&lt;BR /&gt;if it's unmounted&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Tue, 03 Dec 2002 03:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856007#M94700</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-12-03T03:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856008#M94701</link>
      <description>lvremove /dev/vg00/lvol2 (don't do it!)&lt;BR /&gt;&lt;BR /&gt;will very likely crash your system since removing primary swap is like removing RAM while the system is running. And single user mode will also fail because HP-UX requires primary swap to be available.</description>
      <pubDate>Tue, 03 Dec 2002 04:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856008#M94701</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2002-12-03T04:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856009#M94702</link>
      <description>Hi all.&lt;BR /&gt;First off all, you have to unmount ths file system:&lt;BR /&gt;&lt;BR /&gt;" umount &amp;lt; fisystem name &amp;gt; "&lt;BR /&gt;&lt;BR /&gt;If you have process over the file system, you will get the message " Device Busy ".&lt;BR /&gt;&lt;BR /&gt;In this case, you have to find out witch process are over your file system. Use this command: " fuser &amp;lt; fylesystem name &amp;gt; " or " fuser /dev/vgxx/lvolx ".&lt;BR /&gt;( fuser -k &amp;lt; file system name &amp;gt; will kill all the process ).&lt;BR /&gt;Once you have kill ( or exit ) the process over you file system, you can unmount it.&lt;BR /&gt;&lt;BR /&gt;Last step is to delete the lv. " lvremove /dev/vgxx/lvolx ".&lt;BR /&gt;&lt;BR /&gt;And that??s all you have to do.&lt;BR /&gt;&lt;BR /&gt;It easy, isn??t it ?&lt;BR /&gt;&lt;BR /&gt;I hope this help you.&lt;BR /&gt;&lt;BR /&gt;Juanma.</description>
      <pubDate>Tue, 03 Dec 2002 09:45:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856009#M94702</guid>
      <dc:creator>Juan Manuel López</dc:creator>
      <dc:date>2002-12-03T09:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Remove a file system</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856010#M94703</link>
      <description>if there is someone on the filesystem &lt;BR /&gt;&lt;BR /&gt;fuser -cuk /filesystem&lt;BR /&gt;kills all processes&lt;BR /&gt;Won't work on /var because there are teminal files created for every telnetd process, you can't be logged on and remove /var.&lt;BR /&gt;then lvremve etc.&lt;BR /&gt;&lt;BR /&gt;Some filesystems like /var can't be removed in multi user mode.&lt;BR /&gt;&lt;BR /&gt;In that case you will need to restart the box, interupt the boot, hpux -is to enter single user mode.&lt;BR /&gt;&lt;BR /&gt;Then nothing will be mounted and you can safely remove the filesystem.&lt;BR /&gt;&lt;BR /&gt;Of course if you actually remove /usr or /var you need to put them back if you plan on actually starting your system after single user mode.</description>
      <pubDate>Tue, 03 Dec 2002 17:54:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-a-file-system/m-p/2856010#M94703</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-12-03T17:54:57Z</dc:date>
    </item>
  </channel>
</rss>

