<?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: adding PVs to mirror in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-pvs-to-mirror/m-p/5213560#M552382</link>
    <description>It worked, I just had to disable (-m 0) the existing mirrors before moving their PEs.  In brief, it's possible to move non boot/root/dump/swap LVs on other disks without troubles.</description>
    <pubDate>Sat, 26 Dec 2009 09:41:33 GMT</pubDate>
    <dc:creator>pbraun</dc:creator>
    <dc:date>2009-12-26T09:41:33Z</dc:date>
    <item>
      <title>adding PVs to mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-pvs-to-mirror/m-p/5213559#M552381</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;On an rx2660 Integrity, HP/UX 11.23, I've got two disks for vg00 and mirrored LVs on it.  Two other disks are providing another mirror on vg01.  I'm adding four disks in view to extend those filesystems :&lt;BR /&gt;  - /opt on vg00&lt;BR /&gt;  - /home on vg00&lt;BR /&gt;  - / on vg00 (don't sure I'll grow that one... see below)&lt;BR /&gt;  - /somedir on vg01&lt;BR /&gt;&lt;BR /&gt;Since it's an rx2660 I guess hardware RAID was an option, but the system is already in production and I'll let the new disks without hw raid to keep the whole config consistent.&lt;BR /&gt;&lt;BR /&gt;How to add new PVs to that configuration ?  As far as I know I need to keep "/" contiguous on vg00, which implies moving the next LV.  I guess I'll also need to create partitions on the new disks, copy EFI on it and lvlnboot -r once the "/" filesystem has growed right ?&lt;BR /&gt;&lt;BR /&gt;Now let's just forget the "/" issue.  Growing "/opt" "/home" and "/somedir" may be sufficient.  In that case may I just use the new disks as PVs w/o creating partitions (idisk) ?&lt;BR /&gt;&lt;BR /&gt;Here's the procedure I imagine, w/o growing "/".  Do you think it will work ?  Won't it break anything preventing the system to restart ?&lt;BR /&gt;&lt;BR /&gt;Adding new disks 5 and 6 to vg00,&lt;BR /&gt; pvcreate /dev/rdsk/c3t4d0&lt;BR /&gt; pvcreate /dev/rdsk/c3t5d0&lt;BR /&gt; vgextend vg00 /dev/dsk/c3t4d0&lt;BR /&gt; vgextend vg00 /dev/dsk/c3t5d0&lt;BR /&gt;&lt;BR /&gt;Adding disks 7 and 8 to vg01,&lt;BR /&gt; pvcreate /dev/rdsk/c3t6d0&lt;BR /&gt; pvcreate /dev/rdsk/c3t7d0&lt;BR /&gt; vgextend vg01 /dev/dsk/c3t6d0&lt;BR /&gt; vgextend vg01 /dev/dsk/c3t7d0&lt;BR /&gt;&lt;BR /&gt;Moving wanted volumes to the new disks,&lt;BR /&gt; pvmove -n /dev/vg00/lvol5 /dev/dsk/c3t4d0&lt;BR /&gt; pvmove -n /dev/vg00/lvol6 /dev/dsk/c3t4d0&lt;BR /&gt; pvmove -n /dev/vg01/lvol1 /dev/dsk/c3t6d0&lt;BR /&gt;Note. first new disk of vg00 for /home and /opt&lt;BR /&gt;Note. first new disk of vg01 for /somedir&lt;BR /&gt;&lt;BR /&gt;Extending LVs,&lt;BR /&gt; lvextend -L NOUVELLE_TAILLE_MEGA /dev/vg00/lvol5&lt;BR /&gt; lvextend -L NOUVELLE_TAILLE_MEGA /dev/vg00/lvol6&lt;BR /&gt; lvextend -L NOUVELLE_TAILLE_MEGA /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;Growing the filesystems,&lt;BR /&gt; fsadm -b NOUVELLE_TAILL_BYTES /home&lt;BR /&gt; fsadm -b NOUVELLE_TAILL_BYTES /opt&lt;BR /&gt; fsadm -b NOUVELLE_TAILL_BYTES /var/opt/oradata&lt;BR /&gt;Note. I need to check OnlineJFS is available&lt;BR /&gt;&lt;BR /&gt;Making mirrors for moved LVs,&lt;BR /&gt; lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c3t5d0&lt;BR /&gt; lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c3t5d0&lt;BR /&gt; lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c3t7d0&lt;BR /&gt;&lt;BR /&gt;Won't that break anything ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;-Pierre-Philipp</description>
      <pubDate>Wed, 09 Dec 2009 17:01:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-pvs-to-mirror/m-p/5213559#M552381</guid>
      <dc:creator>pbraun</dc:creator>
      <dc:date>2009-12-09T17:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: adding PVs to mirror</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-pvs-to-mirror/m-p/5213560#M552382</link>
      <description>It worked, I just had to disable (-m 0) the existing mirrors before moving their PEs.  In brief, it's possible to move non boot/root/dump/swap LVs on other disks without troubles.</description>
      <pubDate>Sat, 26 Dec 2009 09:41:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-pvs-to-mirror/m-p/5213560#M552382</guid>
      <dc:creator>pbraun</dc:creator>
      <dc:date>2009-12-26T09:41:33Z</dc:date>
    </item>
  </channel>
</rss>

