<?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: change harddisk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759178#M945145</link>
    <description>Typically, after replacing a disk&lt;BR /&gt;&lt;BR /&gt;run vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;too restore LVM headers (lvol definitions sizes configuration etc..), then vgchange -a y vg00 and mount and restore via your normal method.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
    <pubDate>Mon, 08 Jul 2002 10:19:36 GMT</pubDate>
    <dc:creator>Bill McNAMARA_1</dc:creator>
    <dc:date>2002-07-08T10:19:36Z</dc:date>
    <item>
      <title>change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759177#M945144</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;vg00 has 2 disks,one is ok the other is borken.&lt;BR /&gt;the bad one is /dev/rdsk/c0t5d0, it has&lt;BR /&gt;2 file system, /usr and /home.&lt;BR /&gt;&lt;BR /&gt;I have order a new one already, now what's&lt;BR /&gt;the steps? btw,I have the backup of /usr and &lt;BR /&gt;/home.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Mon, 08 Jul 2002 10:06:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759177#M945144</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-07-08T10:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759178#M945145</link>
      <description>Typically, after replacing a disk&lt;BR /&gt;&lt;BR /&gt;run vgcfgrestore -n /dev/vg00 /dev/rdsk/c0t5d0&lt;BR /&gt;&lt;BR /&gt;too restore LVM headers (lvol definitions sizes configuration etc..), then vgchange -a y vg00 and mount and restore via your normal method.&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Mon, 08 Jul 2002 10:19:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759178#M945145</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-07-08T10:19:36Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759179#M945146</link>
      <description>thanks!so simple, no other tips?</description>
      <pubDate>Mon, 08 Jul 2002 10:21:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759179#M945146</guid>
      <dc:creator>Michael_33</dc:creator>
      <dc:date>2002-07-08T10:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759180#M945147</link>
      <description>&lt;BR /&gt;You'll probably have to do this from single user mode:&lt;BR /&gt;&lt;BR /&gt;(1) install new disk&lt;BR /&gt;(2) make sure it has the same scsi ID as the previous&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then look at this:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0xeccbc8ecad09d6118ff40090279cd0f9,00.doc" target="_blank"&gt;http://forums.itrc.hp.com/cm/components/FileAttachment/0,,0xeccbc8ecad09d6118ff40090279cd0f9,00.doc&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;from this thread:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x891eeea29889d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x891eeea29889d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 08 Jul 2002 10:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759180#M945147</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-07-08T10:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759181#M945148</link>
      <description>You will most likely have to boot into single user mode to do anything, being that /usr is gone. I'd suggest getting more disk and purchase HPux Mirroring to avoid this issue in the future, plus having a good make_tape_recovery is also recommended.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 08 Jul 2002 10:47:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759181#M945148</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-07-08T10:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759182#M945149</link>
      <description>If you already have a the new disk configured on vg00.&lt;BR /&gt;&lt;BR /&gt;You can add two new lvol's and filesystems /usr1 and /home1.&lt;BR /&gt;&lt;BR /&gt;restore your copies to /usr1 and /home1. &lt;BR /&gt;&lt;BR /&gt;Edit fstab change your current /usr and /home to /home1 and /usr1.&lt;BR /&gt;&lt;BR /&gt;change you current /usr1 and /home1 to /home and /usr. Then Reboot. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jul 2002 18:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759182#M945149</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2002-07-09T18:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759183#M945150</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You need to boot in single user mode. If you have a Ignite backup then you can restore some files using that.&lt;BR /&gt;&lt;BR /&gt;If not then you have to connect the new harddisk and remember to keep the SCSI ID the same as the old harddisk. &lt;BR /&gt;&lt;BR /&gt;#pvcreate -f /dev/rdsk/c0t5d0 ( use the new disk for lvm )&lt;BR /&gt;&lt;BR /&gt;vgcfgrestore will work if the vgcfgrestore command was run and it will only restore the vg information into the disk.&lt;BR /&gt;# vgcfgrestore -n /dev/vg00 /dev/dsk/cot5d0&lt;BR /&gt;&lt;BR /&gt;Then you will have to activate the vg using vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Then mount the filesystems and restore from the backup.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Piyush</description>
      <pubDate>Tue, 09 Jul 2002 19:16:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759183#M945150</guid>
      <dc:creator>PIYUSH D. PATEL</dc:creator>
      <dc:date>2002-07-09T19:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759184#M945151</link>
      <description>If /usr is gone, you will probably need to boot in maintenance mode. Use the maintenance CD to be sure. Rebuild the disk (see previous replies) and restore the data.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Marty</description>
      <pubDate>Tue, 09 Jul 2002 19:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759184#M945151</guid>
      <dc:creator>Martin Johnson</dc:creator>
      <dc:date>2002-07-09T19:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: change harddisk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759185#M945152</link>
      <description>The key to recovering vg00 is to boot in LVM MAINTENANCE MODE. After the disk is replaced, in ISL ..&lt;BR /&gt;&lt;BR /&gt;ISL&amp;gt; hpux -lm&lt;BR /&gt;&lt;BR /&gt;That brings you to LVM maintenance, the rest of the steps would look like this ..(assuming new disk is c1t2d0)&lt;BR /&gt;&lt;BR /&gt;# pvcreate -f /dev/rdsk/c1t2d0&lt;BR /&gt;# vgcfgrestore -n /dev/vg00 /dev/rdsk/c1t2d0&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;# newfs -F vxfs /dev/vg00/rlvolX     &lt;BR /&gt;(Do for all affected lvols ie the ones on /home and /usr, take note, check you /etc/fstab file to make sure you're using vxfs)&lt;BR /&gt;# mount /dev/vg00/lvolX /usr&lt;BR /&gt;# mount /dev/vg00/lvolY /home&lt;BR /&gt;&lt;BR /&gt;Now restore you files and finally ..&lt;BR /&gt;&lt;BR /&gt;# shutdown -r 0&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Jul 2002 19:59:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/change-harddisk/m-p/2759185#M945152</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-07-09T19:59:37Z</dc:date>
    </item>
  </channel>
</rss>

