<?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: lvm: replacing a disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-replacing-a-disk/m-p/2927199#M634469</link>
    <description>connect the new disk at some other target (c0t5d0)&lt;BR /&gt;&lt;BR /&gt;ioscan &lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg02 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;pvmove -n /dev/vg02/lvol1 /dev/dsk/c0t4d0 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;pvmove -n /dev/vg02/lvol2 /dev/dsk/c0t4d0 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vg02 /dev/dsk/c0t4d0&lt;BR /&gt;&lt;BR /&gt;umount /dev/vg02/lvol1 (not required if used in raw mode but you will need to stop the application using this lvol)&lt;BR /&gt;&lt;BR /&gt;umount /dev/vg02/lvol2&lt;BR /&gt;&lt;BR /&gt;note down the minor number for /dev/vg02/group&lt;BR /&gt;&lt;BR /&gt;vgexport -s -m vg02.map /dev/vg02&lt;BR /&gt;&lt;BR /&gt;stop the server, change the ID from 5 to 4 &lt;BR /&gt;&lt;BR /&gt;ioscan&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg02&lt;BR /&gt;&lt;BR /&gt;mknod /dev/vg02/grup c 64 0xXX0000  &lt;BR /&gt;XX is the minor number noted above.&lt;BR /&gt;&lt;BR /&gt;vgimport -s -m vg02.map /dev/vg02&lt;BR /&gt;&lt;BR /&gt;everything whould be back as normal...&lt;BR /&gt;&lt;BR /&gt;Do not forget to do a man on each command befor you try for more details.&lt;BR /&gt;&lt;BR /&gt;hope this helps...&lt;BR /&gt;</description>
    <pubDate>Fri, 14 Mar 2003 08:50:40 GMT</pubDate>
    <dc:creator>monasingh_1</dc:creator>
    <dc:date>2003-03-14T08:50:40Z</dc:date>
    <item>
      <title>lvm: replacing a disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-replacing-a-disk/m-p/2927198#M634468</link>
      <description>We are using HPUX 10.20. I want to replace a disk. This is the first time, kindly give me steps to be followed. &lt;BR /&gt;We have only 1 disk &lt;BR /&gt; /dev/dsk/c0t4d0&lt;BR /&gt;in volume group vg02,which &lt;BR /&gt;is giving problem. This disk is having only 2 logical volume lvol1 and rawlog data area.&lt;BR /&gt;I want to replace this disk and the content to be&lt;BR /&gt;copied from old disk to new disk and then new disk should be placed as same as old disk , i.e., /dev/dsk/c0t4d0 and vg02.&lt;BR /&gt;Thanks in advance.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2003 03:52:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-replacing-a-disk/m-p/2927198#M634468</guid>
      <dc:creator>Geeta Singh</dc:creator>
      <dc:date>2003-03-14T03:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: lvm: replacing a disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-replacing-a-disk/m-p/2927199#M634469</link>
      <description>connect the new disk at some other target (c0t5d0)&lt;BR /&gt;&lt;BR /&gt;ioscan &lt;BR /&gt;&lt;BR /&gt;pvcreate /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg02 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;pvmove -n /dev/vg02/lvol1 /dev/dsk/c0t4d0 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;pvmove -n /dev/vg02/lvol2 /dev/dsk/c0t4d0 /dev/dsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;vgreduce /dev/vg02 /dev/dsk/c0t4d0&lt;BR /&gt;&lt;BR /&gt;umount /dev/vg02/lvol1 (not required if used in raw mode but you will need to stop the application using this lvol)&lt;BR /&gt;&lt;BR /&gt;umount /dev/vg02/lvol2&lt;BR /&gt;&lt;BR /&gt;note down the minor number for /dev/vg02/group&lt;BR /&gt;&lt;BR /&gt;vgexport -s -m vg02.map /dev/vg02&lt;BR /&gt;&lt;BR /&gt;stop the server, change the ID from 5 to 4 &lt;BR /&gt;&lt;BR /&gt;ioscan&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg02&lt;BR /&gt;&lt;BR /&gt;mknod /dev/vg02/grup c 64 0xXX0000  &lt;BR /&gt;XX is the minor number noted above.&lt;BR /&gt;&lt;BR /&gt;vgimport -s -m vg02.map /dev/vg02&lt;BR /&gt;&lt;BR /&gt;everything whould be back as normal...&lt;BR /&gt;&lt;BR /&gt;Do not forget to do a man on each command befor you try for more details.&lt;BR /&gt;&lt;BR /&gt;hope this helps...&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Mar 2003 08:50:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-replacing-a-disk/m-p/2927199#M634469</guid>
      <dc:creator>monasingh_1</dc:creator>
      <dc:date>2003-03-14T08:50:40Z</dc:date>
    </item>
  </channel>
</rss>

