<?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: replacing the data disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648151#M550952</link>
    <description>&lt;BR /&gt;&lt;BR /&gt;Gany,&lt;BR /&gt;&lt;BR /&gt;1. Locate what are the lv and filesystems are affected by the failure of that disk.&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/&lt;VG&gt;/lvolx | grep &lt;CTD of="" faulty="" disk=""&gt;   # if you have earlier output it would be helpful, as it would show stale at this condition.&lt;BR /&gt;...&lt;BR /&gt;You will have idea what lv(s) was there on that disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. -Once the disk replaced.&lt;BR /&gt;- unmount all current lvs.&lt;BR /&gt;- vgchange -a n vg01&lt;BR /&gt;&lt;BR /&gt;-restore the PV header :&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg01 /dev/vg01/ctd_of_newdisk&lt;BR /&gt;vgchagne -a y vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. re-create the filesystem with same name.&lt;BR /&gt;- newfs -F vxfs -o largefiles /dev/vg01/lvolx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4. Mount the FS(s). (per /etc/fstab and lv name )&lt;BR /&gt;&lt;BR /&gt;5. Restore the data from backup.NBU or DP. or Tape, to the filesystem(s).&lt;BR /&gt;&lt;BR /&gt;6. verify.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;/CTD&gt;&lt;/VG&gt;</description>
    <pubDate>Thu, 17 Jun 2010 06:15:44 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2010-06-17T06:15:44Z</dc:date>
    <item>
      <title>replacing the data disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648148#M550949</link>
      <description>How to replace the data disk, in the vg01 .. I have 3 disks in the vg01, one disk is faulty and there are 4 file systems are mounted in the vg01.&lt;BR /&gt;&lt;BR /&gt;Thanks for your contribution!</description>
      <pubDate>Wed, 16 Jun 2010 03:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648148#M550949</guid>
      <dc:creator>gany59</dc:creator>
      <dc:date>2010-06-16T03:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: replacing the data disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648149#M550950</link>
      <description>If not mirrored, replace the disk, recreate the filesystem and restore the data.&lt;BR /&gt;&lt;BR /&gt;See&lt;BR /&gt;&lt;BR /&gt;When_Good_Disks_Go_Bad_WP&lt;BR /&gt;&lt;A href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf" target="_blank"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c01911837/c01911837.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 16 Jun 2010 03:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648149#M550950</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-06-16T03:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: replacing the data disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648150#M550951</link>
      <description>If it is not mirrired, replace the disk, and verify that it is recognized by the OS with ioscan.&lt;BR /&gt;restore the PV header to the new disk and reactivate the VG:&lt;BR /&gt;# vgcfgrestore -n vg01 /dev/rdsk/c?t?d?&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;locate the LVs that have extents on this disk:&lt;BR /&gt;# pvdisplay -v /dev/dsk/c?t?d?&lt;BR /&gt;Create filesystems for each LV and restore the data from backup.</description>
      <pubDate>Thu, 17 Jun 2010 05:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648150#M550951</guid>
      <dc:creator>P Arumugavel</dc:creator>
      <dc:date>2010-06-17T05:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: replacing the data disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648151#M550952</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Gany,&lt;BR /&gt;&lt;BR /&gt;1. Locate what are the lv and filesystems are affected by the failure of that disk.&lt;BR /&gt;&lt;BR /&gt;# lvdisplay -v /dev/&lt;VG&gt;/lvolx | grep &lt;CTD of="" faulty="" disk=""&gt;   # if you have earlier output it would be helpful, as it would show stale at this condition.&lt;BR /&gt;...&lt;BR /&gt;You will have idea what lv(s) was there on that disk.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. -Once the disk replaced.&lt;BR /&gt;- unmount all current lvs.&lt;BR /&gt;- vgchange -a n vg01&lt;BR /&gt;&lt;BR /&gt;-restore the PV header :&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore -n vg01 /dev/vg01/ctd_of_newdisk&lt;BR /&gt;vgchagne -a y vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. re-create the filesystem with same name.&lt;BR /&gt;- newfs -F vxfs -o largefiles /dev/vg01/lvolx&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;4. Mount the FS(s). (per /etc/fstab and lv name )&lt;BR /&gt;&lt;BR /&gt;5. Restore the data from backup.NBU or DP. or Tape, to the filesystem(s).&lt;BR /&gt;&lt;BR /&gt;6. verify.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;/CTD&gt;&lt;/VG&gt;</description>
      <pubDate>Thu, 17 Jun 2010 06:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/replacing-the-data-disk/m-p/4648151#M550952</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2010-06-17T06:15:44Z</dc:date>
    </item>
  </channel>
</rss>

