<?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 disk from vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164383#M629236</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Your mirroring is not correct. c1t15d0 is only the boot disk you have. If you remove it, you will not be able to boot the system again later.&lt;BR /&gt;&lt;BR /&gt;First make sure, the mirroring is correct. c4t0d0 should appear as a "Boot Disk" in your lvlnboot output. There are many posts here that will point you to correct procedure.&lt;BR /&gt;&lt;BR /&gt;Test the mirroring by booting the system from the other disk.&lt;BR /&gt;&lt;BR /&gt;Before doing anything further, make sure you have a good working make_tape_recovery tape.&lt;BR /&gt;&lt;BR /&gt;Once the above is taken care, then reduce all the logical volumes from c1t15d0 and then reduce the disk from vg00. You can find all the lvols by "pvdisplay -v /dev/dsk/c1t15d0" For each logical volume do&lt;BR /&gt;&lt;BR /&gt;#lvreduce -m 0 /dev/vg00/lvolx /dev/dsk/c1t15d0&lt;BR /&gt;#vgreduce vg00 /dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Wed, 14 Jan 2004 11:50:46 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-01-14T11:50:46Z</dc:date>
    <item>
      <title>remove disk from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164379#M629232</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I have a vg with mirrored lvs and i want to remove one of those disks. how can i do that?&lt;BR /&gt;&lt;BR /&gt;bash-2.03# lvlnboot -v /dev/vg00 &lt;BR /&gt;Boot Definitions for Volume Group /dev/vg00:&lt;BR /&gt;Physical Volumes belonging in Root Volume Group:&lt;BR /&gt;        /dev/dsk/c1t15d0 (0/0/1/1.15.0) -- Boot Disk&lt;BR /&gt;        /dev/dsk/c4t0d0 (0/4/0/0/4/0.0.0)&lt;BR /&gt;        /dev/dsk/c4t1d0 (0/4/0/0/4/0.1.0)&lt;BR /&gt;Boot: lvol1     on:     /dev/dsk/c1t15d0&lt;BR /&gt;                        /dev/dsk/c4t0d0&lt;BR /&gt;Root: lvol3     on:     /dev/dsk/c1t15d0&lt;BR /&gt;                        /dev/dsk/c4t0d0&lt;BR /&gt;Swap: lvol2     on:     /dev/dsk/c1t15d0&lt;BR /&gt;                        /dev/dsk/c4t0d0&lt;BR /&gt;Dump: lvol2     on:     /dev/dsk/c1t15d0, 0&lt;BR /&gt;&lt;BR /&gt;i want to remove c1t15d0 disk, thanks.</description>
      <pubDate>Wed, 14 Jan 2004 11:37:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164379#M629232</guid>
      <dc:creator>Marton Ferenc</dc:creator>
      <dc:date>2004-01-14T11:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: remove disk from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164380#M629233</link>
      <description>c1t15d0 is theonly bootable disk you have .&lt;BR /&gt;Before removing it make another disk bootable first . then boot from that disk .&lt;BR /&gt;then you can remove c1t15d0 .</description>
      <pubDate>Wed, 14 Jan 2004 11:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164380#M629233</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2004-01-14T11:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: remove disk from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164381#M629234</link>
      <description>Hi Marton,&lt;BR /&gt;&lt;BR /&gt;1) Remove the disk for all the LVs&lt;BR /&gt;lvreduce -m 0 /dev/vg_name/lv_name /dev/dsk/c1t15d0  # Do for ALL mirrored LVs in that VG&lt;BR /&gt;&lt;BR /&gt;2) Remove the disk from the VG&lt;BR /&gt;vgreduce /dev/vg_name /dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;3) Since it appears this is probably the primary boot disk you'll want to set the other as the new primary&lt;BR /&gt;setboot -p 0/4/0/0/4/0.0.0&lt;BR /&gt;&lt;BR /&gt;4) Since Dump is only defined on c1t15d0 - you'll need to set Dump to c4t0d0 after removeing c1t15d0&lt;BR /&gt;lvlnboot -d /dev/vg00/lvol2 &lt;BR /&gt;&lt;BR /&gt;5) Check the new config - verify root/boot/swap/dump are all setup properly on c4t0d0&lt;BR /&gt;lvlnboot -v &lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Wed, 14 Jan 2004 11:45:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164381#M629234</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-14T11:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: remove disk from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164382#M629235</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;be careful, are you sure you want to remove your *only* bootdisk???&lt;BR /&gt;&lt;BR /&gt;The other disks in vg00 are not boot disks, lvlnboot -v would have told you if they were bootable. If that is the complete output of lvlnboot -v, you do not have another vg with a bootable disk from which you currently booted.&lt;BR /&gt;&lt;BR /&gt;So if you want to mirror to the c4 disks and be able to boot off one of them you need to make them boot disks (pvcreate -B, mkboot).&lt;BR /&gt;&lt;BR /&gt;Search for docs/thread on how to mirror boot disks. Guess you may want to start from scratch.&lt;BR /&gt;&lt;BR /&gt;otherwise you use lvreduce -m 0 /dev/vg00/lvolXYZ /dev/dsk/cXtYdZ for all lvols on any disk you want to get free, (pvdisplay will tell you what's on the disk) &lt;BR /&gt;&lt;BR /&gt;If no LEs are on a disk you can vgreduce vg00 /dev/dsk/cxtydz.&lt;BR /&gt;&lt;BR /&gt;note: you may also want to use setboot to change boot paths.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Bernhard</description>
      <pubDate>Wed, 14 Jan 2004 11:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164382#M629235</guid>
      <dc:creator>Bernhard Mueller</dc:creator>
      <dc:date>2004-01-14T11:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: remove disk from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164383#M629236</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Your mirroring is not correct. c1t15d0 is only the boot disk you have. If you remove it, you will not be able to boot the system again later.&lt;BR /&gt;&lt;BR /&gt;First make sure, the mirroring is correct. c4t0d0 should appear as a "Boot Disk" in your lvlnboot output. There are many posts here that will point you to correct procedure.&lt;BR /&gt;&lt;BR /&gt;Test the mirroring by booting the system from the other disk.&lt;BR /&gt;&lt;BR /&gt;Before doing anything further, make sure you have a good working make_tape_recovery tape.&lt;BR /&gt;&lt;BR /&gt;Once the above is taken care, then reduce all the logical volumes from c1t15d0 and then reduce the disk from vg00. You can find all the lvols by "pvdisplay -v /dev/dsk/c1t15d0" For each logical volume do&lt;BR /&gt;&lt;BR /&gt;#lvreduce -m 0 /dev/vg00/lvolx /dev/dsk/c1t15d0&lt;BR /&gt;#vgreduce vg00 /dev/dsk/c1t15d0&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 14 Jan 2004 11:50:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164383#M629236</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-01-14T11:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: remove disk from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164384#M629237</link>
      <description>Hi (again) Marton,&lt;BR /&gt;&lt;BR /&gt;Ashwani's correct!&lt;BR /&gt;You need to see  -- Boot Disk &lt;BR /&gt;next to c4t0d0 on those top lines for it to truly be a boot disk.&lt;BR /&gt;&lt;BR /&gt;BEFORE YOU REMOVE c1t15d0 you need to redo the steps to make it *truly* bootable.&lt;BR /&gt;&lt;BR /&gt;1) Do the earlier steps - BUT this time do them on c4t0d0&lt;BR /&gt;2) Then recreate it as bootable&lt;BR /&gt; A) pvcreate -fB /dev/rdsk/c4t0d0&lt;BR /&gt; B) vgextend vg00 /dev/dsk/c4t0d0&lt;BR /&gt; C) mkboot -l /dev/rdsk/c4t0d0&lt;BR /&gt; D) mkboot -a "hpux" /dev/rdsk/c4t0d0&lt;BR /&gt; E) lvextend -m 1 /dev/vg00/lv_name /dev/dsk/c4t0d0  #Do for ALL LVs in vg00&lt;BR /&gt; F) Recheck the new config&lt;BR /&gt;     lvlnboot -v  # If it nows displays properly you can proceed with removing c1t15d0&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 11:54:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-disk-from-vg/m-p/3164384#M629237</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-01-14T11:54:55Z</dc:date>
    </item>
  </channel>
</rss>

