<?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: Faulty Harddisk Replacement in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397266#M200178</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. connect new hard disk in same slot &lt;BR /&gt;2. run ioscan and see it should be in claimed status&lt;BR /&gt;3. run vgcfgrestore command on this disk&lt;BR /&gt;#vgcfgrestore -n vgA /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;4. vgchange vgA(not must but should be)&lt;BR /&gt;&lt;BR /&gt;you are ready to data restoration.&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
    <pubDate>Mon, 11 Oct 2004 06:32:03 GMT</pubDate>
    <dc:creator>Sunil Sharma_1</dc:creator>
    <dc:date>2004-10-11T06:32:03Z</dc:date>
    <item>
      <title>Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397262#M200174</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;Currently I have a faulty disk inside a volume group vgA (comprising of 3 harddisks).&lt;BR /&gt;&lt;BR /&gt;All the 3 harddisks are configured with logical volumes for raw partitions and is used by the database informix.&lt;BR /&gt;&lt;BR /&gt;The database team will perform data restoration when the faulty harddisk is being replaced.&lt;BR /&gt;&lt;BR /&gt;Query: &lt;BR /&gt;- I would like the LV settings to remain the same after the faulty harddisk is being replaced. Can anyone advise on what needs to be done prior the replacement in order to ensure all LV settings are saved and can be restored onto the replaced harddisk.&lt;BR /&gt;&lt;BR /&gt;Thanks n Regards/cliff&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2004 06:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397262#M200174</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-10-11T06:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397263#M200175</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;use  vgcfgrestore command to restore LVM structure.</description>
      <pubDate>Mon, 11 Oct 2004 06:21:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397263#M200175</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2004-10-11T06:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397264#M200176</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Insert the new disk in the same slot of the faulty disk.&lt;BR /&gt;#pvcreate -f /dev/rdsk/&lt;NEWDISK&gt;  (can obtain from ioscan -FnC disk command)&lt;BR /&gt;If any lvol's exist in the faulty disk, create the same lvol(s) in the new inserted disk. and restore&lt;/NEWDISK&gt;</description>
      <pubDate>Mon, 11 Oct 2004 06:25:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397264#M200176</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-10-11T06:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397265#M200177</link>
      <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;You can't do anything before changing the disk. The only thing you have to do is to restore the LVM configuration on the new disk.&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n /dev/vgXX /dev/rdsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;and restore the data to the raw partitions.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 11 Oct 2004 06:28:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397265#M200177</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-10-11T06:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397266#M200178</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;1. connect new hard disk in same slot &lt;BR /&gt;2. run ioscan and see it should be in claimed status&lt;BR /&gt;3. run vgcfgrestore command on this disk&lt;BR /&gt;#vgcfgrestore -n vgA /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;4. vgchange vgA(not must but should be)&lt;BR /&gt;&lt;BR /&gt;you are ready to data restoration.&lt;BR /&gt;&lt;BR /&gt;Sunil</description>
      <pubDate>Mon, 11 Oct 2004 06:32:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397266#M200178</guid>
      <dc:creator>Sunil Sharma_1</dc:creator>
      <dc:date>2004-10-11T06:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397267#M200179</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;run vgcfgrestore -n /dev/vgXX /dev/rdsk/cXtXdX after replacing the HD&lt;BR /&gt;&lt;BR /&gt;The settings are stored by default in /etc/lvmconf/vgXX.conf&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Mon, 11 Oct 2004 06:55:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397267#M200179</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-10-11T06:55:49Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397268#M200180</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;I will be using the suggested command, vgcfgrestore -n vgA /dev/dsk/cxtydz &lt;BR /&gt;&lt;BR /&gt;Query: The faulty harddisk currently has Logical Volume spanned across to another harddisk. It also have Logical Volume from another harddisk spanned over to it. Since the 3 harddisks belong to the same volume group vgA. Is it a concern when running the vgcfgrestore command?&lt;BR /&gt;&lt;BR /&gt;Thanks n regards/cliff</description>
      <pubDate>Mon, 11 Oct 2004 20:42:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397268#M200180</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-10-11T20:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397269#M200181</link>
      <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;It is not a concern for running 'vgcfgrestore' command. But note that you probably don't get the data on the logical volumes that share this faulty disk. You can try the following.&lt;BR /&gt;&lt;BR /&gt;1. vgcfgrestore -n vgxx /dev/rdsk/cxtydz&lt;BR /&gt;2. vgchange -a y vgxx&lt;BR /&gt;3. fsck /dev/vgxx/rlvolx (repeat for all lvols)&lt;BR /&gt;3. Try mounting them. If you see data, then you can try copy it but I doubt it.&lt;BR /&gt;&lt;BR /&gt;If you are not able to mount them, then run 'newfs -F vxfs /dev/vg00/rlvolx' to create fresh filesystems and restore the data.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 11 Oct 2004 20:54:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397269#M200181</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-10-11T20:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397270#M200182</link>
      <description>Hi Sri,&lt;BR /&gt;&lt;BR /&gt;The logical volumes on all the 3 harddisks in vgA are configured as raw partitions for informix database. The db data restoration will be performed after the faulty harddisk is being replaced.&lt;BR /&gt;&lt;BR /&gt;Just want to ensure that the logical volumes configuration configured on the faulty harddisk will be restored using vgcfgrestore command. Regardless of whether LV are spanned onto the faulty harddisk from other harddisk or LV on faulty harddisk are spanned onto other harddisk. (vgA comprises 3 harddisks).&lt;BR /&gt;Am I right to say that?&lt;BR /&gt;&lt;BR /&gt;regards/cliff&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2004 21:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397270#M200182</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-10-11T21:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397271#M200183</link>
      <description>Yes that is correct. If you had taken the precaution of mirroring each lvol then you could have replaced the faulty disk "on the fly" without even shutting down the database.</description>
      <pubDate>Tue, 12 Oct 2004 09:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397271#M200183</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-10-12T09:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Faulty Harddisk Replacement</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397272#M200184</link>
      <description>Thanks to the All So Talented Forumers.../cliff</description>
      <pubDate>Tue, 12 Oct 2004 21:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/faulty-harddisk-replacement/m-p/3397272#M200184</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-10-12T21:36:24Z</dc:date>
    </item>
  </channel>
</rss>

