<?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 swapping root disk on D class in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132192#M153166</link>
    <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;  I need to swap out the root disk on a Dclass server for a larger capacity drive. Vg00 only has this one disk. What is the best route to do this? Ignite? dd one disk to the other? Re-install of O.S. ?&lt;BR /&gt;Many thanks&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 01 Dec 2003 04:36:28 GMT</pubDate>
    <dc:creator>steve_586</dc:creator>
    <dc:date>2003-12-01T04:36:28Z</dc:date>
    <item>
      <title>swapping root disk on D class</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132192#M153166</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;  I need to swap out the root disk on a Dclass server for a larger capacity drive. Vg00 only has this one disk. What is the best route to do this? Ignite? dd one disk to the other? Re-install of O.S. ?&lt;BR /&gt;Many thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 04:36:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132192#M153166</guid>
      <dc:creator>steve_586</dc:creator>
      <dc:date>2003-12-01T04:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: swapping root disk on D class</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132193#M153167</link>
      <description>This will depend on on the number of physical extents on the new disk and the maximum number of extents that was used when vg00 was created.&lt;BR /&gt; &lt;BR /&gt;If your new disk will exceed the maximum number of extents configured in vg00 then you will be best off using ignite.  Otherwise, much of your new disk will be unused.  Ignite allows you to change these settings during a build.&lt;BR /&gt; &lt;BR /&gt;If you have mirror/ux installed and the number of physical extents isn't going to be a problem then your best bet would be to mirror one disk onto the other and then make the new one bootable with "lvlnboot"</description>
      <pubDate>Mon, 01 Dec 2003 04:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132193#M153167</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2003-12-01T04:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: swapping root disk on D class</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132194#M153168</link>
      <description>I would say your best and safest method would be to use Ignite.</description>
      <pubDate>Mon, 01 Dec 2003 04:42:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132194#M153168</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2003-12-01T04:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: swapping root disk on D class</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132195#M153169</link>
      <description>Take a full system backup&lt;BR /&gt;&lt;BR /&gt;1. Boot into LVM maintanance mode&lt;BR /&gt;2. vgchage -a y vg00;mount -a&lt;BR /&gt;3. pvcreate -B /dev/rdsk/cXtZdX&lt;BR /&gt;4. mkboot /dev/rdsk/cXtXdX&lt;BR /&gt;5. mkboot -a "hpux" /dev/rdsk/cXtXdX&lt;BR /&gt;6. vgcreate /dev/vgboot /dev/dsk/cXtXdX (mkdir;mknod refer to new VG creation)&lt;BR /&gt;7. lvcreate -L &lt;SIZE_&gt; -C y -r n -n lvol2 /dev/vgboot&lt;BR /&gt;...&lt;BR /&gt;...&lt;BR /&gt;create all the filesystems on the new disk from the old one.. Please make sure that all the logical volume characteristics are the same.&lt;BR /&gt;8. newfs them all (Note create all with same type as that of original&lt;BR /&gt;9. mount them under /new_root /new_boot etc ...&lt;BR /&gt;10. Update boot definitions ....&lt;BR /&gt;11. lvlnboot -b /dev/vgboot/lvol1&lt;BR /&gt;12. lvlnboot -r /dev/vgboot/lvol3&lt;BR /&gt;13. lvlnboot -s /dev/vgboot/lvol2&lt;BR /&gt;14. lvlnboot -d /dev/vgboot/lvol2&lt;BR /&gt;15. lvlnboot -R&lt;BR /&gt;16. Copy the data across "cd &lt;ORIGINAL_DIR&gt;;find . -xdev -depth -print |cpio -pxdm &lt;NEW_MOUNT_PNT&gt;&lt;BR /&gt;&lt;BR /&gt;17. lvlnboot -v ; check both the disks are having boot definitions...&lt;BR /&gt;18. cp /new_root/etc/fstab /tmp/fstab;cat /tmp/fstab |sed "s;vg00;vgboot;g" &amp;gt; /new_root/etc/fstab&lt;BR /&gt;&lt;BR /&gt;19. rm /etc/mnttab /new_root/etc/mnttab&lt;BR /&gt;20. Shutdown the node ;&lt;BR /&gt;21. Take out the old boot disk&lt;BR /&gt;22. Change the bot path and boot through the new one !!&lt;BR /&gt;&lt;BR /&gt;You will need to work out and hcange some bits if system configuration is diffrent !. Use ur brain not mine....&lt;BR /&gt;&lt;BR /&gt;Kaps&lt;/NEW_MOUNT_PNT&gt;&lt;/ORIGINAL_DIR&gt;&lt;/SIZE_&gt;</description>
      <pubDate>Mon, 01 Dec 2003 07:25:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132195#M153169</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2003-12-01T07:25:42Z</dc:date>
    </item>
    <item>
      <title>Re: swapping root disk on D class</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132196#M153170</link>
      <description>Thanks for all the helpfull info.&lt;BR /&gt;I think i will go for the ignite route as it looks to be the safest and easiest.&lt;BR /&gt;&lt;BR /&gt;Thank you for taking out the time to help :)</description>
      <pubDate>Mon, 01 Dec 2003 07:34:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swapping-root-disk-on-d-class/m-p/3132196#M153170</guid>
      <dc:creator>steve_586</dc:creator>
      <dc:date>2003-12-01T07:34:50Z</dc:date>
    </item>
  </channel>
</rss>

