<?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: vgreduce won't let me reduce a device in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507005#M217628</link>
    <description>A lot of times that can mean that you have a hardware problem on the disk.&lt;BR /&gt;&lt;BR /&gt;Might want to test it:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 17 Mar 2005 13:09:43 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2005-03-17T13:09:43Z</dc:date>
    <item>
      <title>vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507002#M217625</link>
      <description>I tried:&lt;BR /&gt;mv /etc/lvmtab /etc/lvmtab.bad&lt;BR /&gt;vgscan -av&lt;BR /&gt;&lt;BR /&gt;it is not helpful. Please find attached messages. If you notice it, when I do pvdisplay on this device, it shows me "unavailable". I am not sure if data on the device /dev/dsk/c8t4d3 is valid or not. I just added this device by vgextend command, and now I wanted to remove it from vg01. Please let me know what I should do to remove the device from vg01.&lt;BR /&gt;=============================&lt;BR /&gt;&lt;BR /&gt;# vgreduce /dev/vg01 /dev/dsk/c8t4d3&lt;BR /&gt;vgreduce: Physical volume "/dev/dsk/c8t4d3" could not be removed since some of&lt;BR /&gt;ts&lt;BR /&gt;physical extents are still in use.&lt;BR /&gt;&lt;BR /&gt;# pvdisplay  /dev/dsk/c8t4d3 | more&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c8t4d3&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;PV Status                   unavailable&lt;BR /&gt;Allocatable                 yes&lt;BR /&gt;VGDA                        2&lt;BR /&gt;Cur LV                      1&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    3072&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Allocated PE                3072&lt;BR /&gt;Stale PE                    0&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;Autoswitch                  On</description>
      <pubDate>Thu, 17 Mar 2005 11:35:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507002#M217625</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2005-03-17T11:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507003#M217626</link>
      <description>While you can do vgreduce -f to take care of problem, you need to understand that you will loose the data that was on that disk.&lt;BR /&gt;&lt;BR /&gt;man vgreduce for details. (vgreduce -f vgxx)</description>
      <pubDate>Thu, 17 Mar 2005 11:40:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507003#M217626</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-03-17T11:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507004#M217627</link>
      <description>RAC,&lt;BR /&gt;&lt;BR /&gt;vgreduce -f /dev/vg01&lt;BR /&gt;doesn't help at all, everything looks same after I did this command.&lt;BR /&gt;&lt;BR /&gt;"PV STATUS unavailable" what does that tell us?</description>
      <pubDate>Thu, 17 Mar 2005 11:51:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507004#M217627</guid>
      <dc:creator>Hanry Zhou</dc:creator>
      <dc:date>2005-03-17T11:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507005#M217628</link>
      <description>A lot of times that can mean that you have a hardware problem on the disk.&lt;BR /&gt;&lt;BR /&gt;Might want to test it:&lt;BR /&gt;&lt;BR /&gt;dd if=/dev/rdsk/cXtYdZ of=/dev/null bs=64k&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2005 13:09:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507005#M217628</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-03-17T13:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507006#M217629</link>
      <description>Sounds like there may be a lock on the file system that was mounted on that disk...IE - a logfile was being written to, and someone unmounted the file system (after a kill -9 on the process)....&lt;BR /&gt;&lt;BR /&gt;You may have to reboot to clear this...&lt;BR /&gt;&lt;BR /&gt;You could try unmounting all on that vg, then vgchange -a n /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Then try to vgreduce -f it...&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Mar 2005 13:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507006#M217629</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2005-03-17T13:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507007#M217630</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;****LOOK AT THE OPUTPUT***&lt;BR /&gt; :&lt;BR /&gt;&lt;BR /&gt;Cur LV 1&lt;BR /&gt;PE Size (Mbytes) 4&lt;BR /&gt;Total PE 3072&lt;BR /&gt;Free PE 0&lt;BR /&gt;Allocated PE 3072&lt;BR /&gt;:&lt;BR /&gt;&lt;BR /&gt;Cur LV is 1, &amp;amp; it occupies the whole disk therefore 1 LV still resids on the disk.  do&lt;BR /&gt;&lt;BR /&gt;# vgdisplay -v /dev/dsk/c8t4d3 | more&lt;BR /&gt;&lt;BR /&gt;And this will show you which LV is still in existance, the do lvremove /dev/vg01/lvYYY; vgredce /dev/dsk/c8t4d3; usual caveats about backups should apply.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Thu, 17 Mar 2005 16:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507007#M217630</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2005-03-17T16:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507008#M217631</link>
      <description>Hi Hanry,&lt;BR /&gt;&lt;BR /&gt;The vgreduce output has indicated that there are physical extents that are still in use. I suggest that you do an lvremove first, then a vgreduce.  You need to execute pvdisplay (with the -v option) to determine which lvol/s had extents on that disk.  It is necessary to have a data backup prior to doing these commands.&lt;BR /&gt;&lt;BR /&gt;Good luck!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Isralyn</description>
      <pubDate>Thu, 17 Mar 2005 22:21:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507008#M217631</guid>
      <dc:creator>Isralyn Manalac_1</dc:creator>
      <dc:date>2005-03-17T22:21:56Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507009#M217632</link>
      <description>you could try&lt;BR /&gt;&lt;BR /&gt;vgreduce -l vg01 /dev/dsk/c8t4d3</description>
      <pubDate>Fri, 18 Mar 2005 03:40:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507009#M217632</guid>
      <dc:creator>hpuxsa</dc:creator>
      <dc:date>2005-03-18T03:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507010#M217633</link>
      <description>Is the disk being mirrored at all?</description>
      <pubDate>Fri, 18 Mar 2005 07:23:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507010#M217633</guid>
      <dc:creator>The Real MD</dc:creator>
      <dc:date>2005-03-18T07:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507011#M217634</link>
      <description>Do pvdisplay -v /dev/dsk/c..t..d..&lt;BR /&gt;Find out what lvols are using this disk.&lt;BR /&gt;If need be, lvol should be removed first, then you have no problem doing the vgreduce.</description>
      <pubDate>Fri, 18 Mar 2005 08:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507011#M217634</guid>
      <dc:creator>Matthew Ghofrani</dc:creator>
      <dc:date>2005-03-18T08:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce won't let me reduce a device</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507012#M217635</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You have made a 2 disk vg but not with a mirror. futher more you have extendend your lv so data is writen over but disk.&lt;BR /&gt;you have to reduce the lv size too the size of one disk with lvreduce.&lt;BR /&gt;after that you can do a vgreduce.&lt;BR /&gt;make sure you make a backup of your filesystems.&lt;BR /&gt;&lt;BR /&gt;grtz. Mark&lt;BR /&gt;</description>
      <pubDate>Fri, 18 Mar 2005 08:13:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-won-t-let-me-reduce-a-device/m-p/3507012#M217635</guid>
      <dc:creator>Mark Nieuwboer</dc:creator>
      <dc:date>2005-03-18T08:13:35Z</dc:date>
    </item>
  </channel>
</rss>

