<?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 command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239908#M329832</link>
    <description>Almost all external disks I know (that are a lot) are hot-swap.&lt;BR /&gt;&lt;BR /&gt;Try&lt;BR /&gt;&lt;BR /&gt;ioscan -fnk&lt;BR /&gt;&lt;BR /&gt;this would not hang.</description>
    <pubDate>Thu, 24 Jul 2008 16:04:17 GMT</pubDate>
    <dc:creator>Torsten.</dc:creator>
    <dc:date>2008-07-24T16:04:17Z</dc:date>
    <item>
      <title>vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239887#M329811</link>
      <description>I have an 11.00 N4000 server, the mirrored vg00 root drive is bad and I want to do a vgreduce of the drive before it is removed, and then shutdown and install the replacement drive and reboot:&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vg00 /dev/dsk/c0t8d0&lt;BR /&gt;&lt;BR /&gt;Is that good enough, or should I use the "-A"&lt;BR /&gt;argument so that a backup is made of the new configuration change? (vgcfbackup executes for the volume group):&lt;BR /&gt;&lt;BR /&gt;vgreduce -A /dev/vg00 /dev/dsk/c0t8d0</description>
      <pubDate>Thu, 24 Jul 2008 14:33:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239887#M329811</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T14:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239888#M329812</link>
      <description>Complete procedures are here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf" target="_blank"&gt;http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Its not made for 11.00, but most of it applies anyway.</description>
      <pubDate>Thu, 24 Jul 2008 14:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239888#M329812</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-24T14:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239889#M329813</link>
      <description>Specify the missing disk:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;lvreduce -k -m 0 /dev/vg00/lvol1 /dev/dsk/BAD_DISK&lt;BR /&gt;&lt;BR /&gt;otherwise it will try to reduce the PE from the existing mirror.&lt;BR /&gt;&lt;BR /&gt;And&lt;BR /&gt;&lt;BR /&gt;If you have enough free extents on the other disks in the volume group, you have it easy. Simply run # pvmove /dev/hdb&lt;BR /&gt;pvmove -- moving physical extents in active volume group "dev"&lt;BR /&gt;pvmove -- WARNING: moving of active logical volumes may cause data loss!&lt;BR /&gt;pvmove -- do you want to continue? [y/n] y&lt;BR /&gt;pvmove -- 249 extents of physical volume "/dev/hdb" successfully moved&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;**# vgreduce dev /dev/hdb&lt;BR /&gt;vgreduce -- doing automatic backup of volume group "dev"&lt;BR /&gt;vgreduce -- volume group "dev" successfully reduced by physical volume:&lt;BR /&gt;vgreduce -- /dev/hdb&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2008 14:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239889#M329813</guid>
      <dc:creator>Vamsidin</dc:creator>
      <dc:date>2008-07-24T14:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239890#M329814</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;vgreduce without -A I think it's good enough but first you have to un-mirror lvols with command already mentioned:&lt;BR /&gt;&lt;BR /&gt;lvreduce -k -m 0 /dev/vg00/lvol1 /dev/dsk/BAD_DISK&lt;BR /&gt;&lt;BR /&gt;and so on for all lvols.&lt;BR /&gt;&lt;BR /&gt;Then replace the disk and vgextend/pvcreate -B/mirror again by lvextend (starting from 1, 2, 3 and so on). It's important you first mirror lvol1, lvol2 and lvol3 in this order.&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Fabio</description>
      <pubDate>Thu, 24 Jul 2008 14:52:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239890#M329814</guid>
      <dc:creator>Fabio Ettore</dc:creator>
      <dc:date>2008-07-24T14:52:26Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239891#M329815</link>
      <description>the whole disk is bad, so I can't do the lvreduce</description>
      <pubDate>Thu, 24 Jul 2008 14:53:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239891#M329815</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T14:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239892#M329816</link>
      <description>Fabio,&lt;BR /&gt;yes that seems to make sense to me, plus I will look at that document mentioned above.</description>
      <pubDate>Thu, 24 Jul 2008 14:55:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239892#M329816</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T14:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239893#M329817</link>
      <description>is doing the lvreduce of the mirrors a precaution or necessary do you think?</description>
      <pubDate>Thu, 24 Jul 2008 14:57:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239893#M329817</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T14:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239894#M329818</link>
      <description>could you post the o/p</description>
      <pubDate>Thu, 24 Jul 2008 14:57:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239894#M329818</guid>
      <dc:creator>Grayh</dc:creator>
      <dc:date>2008-07-24T14:57:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239895#M329819</link>
      <description>In this case the lvreduce command will be done with -k and a key like 0 or 1.&lt;BR /&gt;&lt;BR /&gt;Refer to the manual.</description>
      <pubDate>Thu, 24 Jul 2008 15:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239895#M329819</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-24T15:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239896#M329820</link>
      <description>I honestly don't think you need to vgreduce at all.  Also, I thought the disks in the N4000 were hot swappable.&lt;BR /&gt;&lt;BR /&gt;What I would do:&lt;BR /&gt;&lt;BR /&gt;1) replace the disk&lt;BR /&gt;2) Verify with ioscan that the disk is now accessable (ioscan -fnC disk)&lt;BR /&gt;3) Do a vgcfgrestore to restore the VG config to the disk (vgcfgrestore -n vg00 /dev/rdsk/c0t8d0)&lt;BR /&gt;4) Activate the VG so the new disk is available (vgchange -a y vg00)&lt;BR /&gt;5) Verify the disk is in the VG and shows available (vgdisplay -v vg00)&lt;BR /&gt;5) Resync the mirrors. (vgsync vg00)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2008 15:04:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239896#M329820</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-07-24T15:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239897#M329821</link>
      <description>I agree with Patrick and would add a third step 5:&lt;BR /&gt;&lt;BR /&gt;5)...&lt;BR /&gt;5)...&lt;BR /&gt;5) make the disk bootable with mkboot ... (see the manual again). Otherwise you cannot boot from this disk.&lt;BR /&gt;&lt;BR /&gt;;-)</description>
      <pubDate>Thu, 24 Jul 2008 15:12:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239897#M329821</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-24T15:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239898#M329822</link>
      <description>Hi Patrick,&lt;BR /&gt;but this being vg00 it is already "active" and probably can't be made inactive</description>
      <pubDate>Thu, 24 Jul 2008 15:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239898#M329822</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T15:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239899#M329823</link>
      <description>You can do the&lt;BR /&gt;&lt;BR /&gt;vgchange -a y vg00&lt;BR /&gt;&lt;BR /&gt;on an activated vg without problems.</description>
      <pubDate>Thu, 24 Jul 2008 15:22:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239899#M329823</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-24T15:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239900#M329824</link>
      <description>I never said to make the VG inactive.&lt;BR /&gt;&lt;BR /&gt;The 'vgchange -a y vg00' essentially activates the replacement disk within the VG.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Jul 2008 15:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239900#M329824</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-07-24T15:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239901#M329825</link>
      <description>thank you Patrick and Torsten.&lt;BR /&gt;I do believe the disks on an N4000 are hot swappable, I will make sure to verify that before I have the tech yank out the bad drive.</description>
      <pubDate>Thu, 24 Jul 2008 15:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239901#M329825</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T15:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239902#M329826</link>
      <description>Yes, they are.&lt;BR /&gt;&lt;BR /&gt;Open the "door" on the backside of the n-class and pull the disk.&lt;BR /&gt;&lt;BR /&gt;0/0/2/0.6 is the upper,&lt;BR /&gt;0/0/2/1.6 is the lower, but verify this with the label on the chassis.</description>
      <pubDate>Thu, 24 Jul 2008 15:40:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239902#M329826</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-24T15:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239903#M329827</link>
      <description>the hardware path to my bad disk is 0/0/1/0.8.0&lt;BR /&gt;&lt;BR /&gt;I'll try to find a layout of the chassis for that path just in case it might help the tech, unfortunately I am a remote administrator so I can't be there, they are 300 miles away from me.</description>
      <pubDate>Thu, 24 Jul 2008 15:47:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239903#M329827</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T15:47:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239904#M329828</link>
      <description>This is for sure not an internal disk.&lt;BR /&gt;&lt;BR /&gt;Can you post an&lt;BR /&gt;&lt;BR /&gt;ioscan -fn</description>
      <pubDate>Thu, 24 Jul 2008 15:50:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239904#M329828</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-24T15:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239905#M329829</link>
      <description>There must be an external disk chassis connected to the SCSI connector of the core I/O board.</description>
      <pubDate>Thu, 24 Jul 2008 15:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239905#M329829</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-07-24T15:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239906#M329830</link>
      <description>ioscan hangs because of the bad disk.&lt;BR /&gt;do you mind if we take this offline and email?&lt;BR /&gt;m-smith@t-systems.com</description>
      <pubDate>Thu, 24 Jul 2008 15:55:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce-command/m-p/4239906#M329830</guid>
      <dc:creator>Mark Smith T-Systems</dc:creator>
      <dc:date>2008-07-24T15:55:19Z</dc:date>
    </item>
  </channel>
</rss>

