<?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: LVM mirroring in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457203#M654142</link>
    <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;Just to make you aware. After you have extended the logical volume with lvextend you will have to extend the filesystem and unless you have "online-jfs" installed you will have to unmount the logical volume (in many cases this means booting in single user mode).&lt;BR /&gt;&lt;BR /&gt;After you have unmounted the filesystem you use the extendfs command:&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol6&lt;BR /&gt;(this is if /opt is at the default lvol6 and you use vxfs filesystem)&lt;BR /&gt;&lt;BR /&gt;If you should have "online-jfs" installed you dont have to unmount the filesystem. After extending logical volume with lvextend you just use the fsadm command:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b $(expr &lt;SIZE of="" lvol="" in="" mb=""&gt; &lt;BACKSLASH&gt;* 1024) &lt;MOUNTPOINT&gt;&lt;BR /&gt;&lt;BR /&gt;For example if you want to extend /opt to 2000 MB:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b $(expr 2000 &lt;BACKSLASH&gt;* 1024) /opt&lt;BR /&gt;&lt;BR /&gt;Hope that this is of help to you.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Johan Carlsson&lt;BR /&gt;&lt;/BACKSLASH&gt;&lt;/MOUNTPOINT&gt;&lt;/BACKSLASH&gt;&lt;/SIZE&gt;</description>
    <pubDate>Wed, 25 Oct 2000 05:37:14 GMT</pubDate>
    <dc:creator>Johan Carlsson</dc:creator>
    <dc:date>2000-10-25T05:37:14Z</dc:date>
    <item>
      <title>LVM mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457201#M654140</link>
      <description>hi&lt;BR /&gt;i have 2 hp disks mirrored to 2 hp disks.&lt;BR /&gt;the disks are 4GB and with a PEsize of 4MB,&lt;BR /&gt;if i want of increase /var and /opt will it unbalance my mirrors or is there an easy way to do it without breaking my mirrors. thanks&lt;BR /&gt; --- Physical volumes ---&lt;BR /&gt;   PV Name                     /dev/dsk/c0t5d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    1023    &lt;BR /&gt;   Free PE                     473     &lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c0t6d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    1023    &lt;BR /&gt;   Free PE                     107     &lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c2t5d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    1023    &lt;BR /&gt;   Free PE                     473     &lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/c2t6d0&lt;BR /&gt;   PV Status                   available                &lt;BR /&gt;   Total PE                    1023    &lt;BR /&gt;   Free PE                     107     &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 24 Oct 2000 14:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457201#M654140</guid>
      <dc:creator>David Bellamy</dc:creator>
      <dc:date>2000-10-24T14:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: LVM mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457202#M654141</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;When you increase the size of a volume, just specify both the prinary disk and the mirror in the lvextend command...&lt;BR /&gt;&lt;BR /&gt;For instance, if /opt is on c0t6d0 and mirrored onto c2t6d0 you need to &lt;BR /&gt;&lt;BR /&gt;lvextend -L &lt;NEW mb=""&gt; /dev/vg00/lvol? /dev/dsk/c0t6d0 /dev/dsk/c2t6d0&lt;BR /&gt;&lt;BR /&gt;You don't have to break the mirrors.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John&lt;/NEW&gt;</description>
      <pubDate>Tue, 24 Oct 2000 14:42:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457202#M654141</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-10-24T14:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: LVM mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457203#M654142</link>
      <description>Hi David,&lt;BR /&gt;&lt;BR /&gt;Just to make you aware. After you have extended the logical volume with lvextend you will have to extend the filesystem and unless you have "online-jfs" installed you will have to unmount the logical volume (in many cases this means booting in single user mode).&lt;BR /&gt;&lt;BR /&gt;After you have unmounted the filesystem you use the extendfs command:&lt;BR /&gt;extendfs -F vxfs /dev/vg00/rlvol6&lt;BR /&gt;(this is if /opt is at the default lvol6 and you use vxfs filesystem)&lt;BR /&gt;&lt;BR /&gt;If you should have "online-jfs" installed you dont have to unmount the filesystem. After extending logical volume with lvextend you just use the fsadm command:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b $(expr &lt;SIZE of="" lvol="" in="" mb=""&gt; &lt;BACKSLASH&gt;* 1024) &lt;MOUNTPOINT&gt;&lt;BR /&gt;&lt;BR /&gt;For example if you want to extend /opt to 2000 MB:&lt;BR /&gt;&lt;BR /&gt;fsadm -F vxfs -b $(expr 2000 &lt;BACKSLASH&gt;* 1024) /opt&lt;BR /&gt;&lt;BR /&gt;Hope that this is of help to you.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Johan Carlsson&lt;BR /&gt;&lt;/BACKSLASH&gt;&lt;/MOUNTPOINT&gt;&lt;/BACKSLASH&gt;&lt;/SIZE&gt;</description>
      <pubDate>Wed, 25 Oct 2000 05:37:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457203#M654142</guid>
      <dc:creator>Johan Carlsson</dc:creator>
      <dc:date>2000-10-25T05:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: LVM mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457204#M654143</link>
      <description>thanks all for ur kind responses.&lt;BR /&gt;by the way i tried it and it worked flawlessly. one thing i did notice tho &lt;BR /&gt;was that when i did an lvdisplay on all the lvs in that vg it wasnt in order any more&lt;BR /&gt;(pe was no longer in order, pe 405 was followed by pe 406, but when i increased it&lt;BR /&gt;took pe 1507 the last of the pes) any way i&lt;BR /&gt;can get around that next time or is that not &lt;BR /&gt;necessarily bad&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Oct 2000 21:58:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457204#M654143</guid>
      <dc:creator>David Bellamy</dc:creator>
      <dc:date>2000-10-30T21:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: LVM mirroring</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457205#M654144</link>
      <description>&lt;BR /&gt;it is not necesary bad.&lt;BR /&gt;&lt;BR /&gt;You can arrange manualy, doing a lvreduce -m 0 each lvol for the second disk&lt;BR /&gt;&lt;BR /&gt;then lvextend again.&lt;BR /&gt;&lt;BR /&gt;Now your second disk is in order.&lt;BR /&gt;&lt;BR /&gt;Do the same with the first. &lt;BR /&gt;&lt;BR /&gt;But it will be not better than actual.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now think in a VG containing 10 disks... and let LVM works.&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Tue, 31 Oct 2000 01:18:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-mirroring/m-p/2457205#M654144</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2000-10-31T01:18:39Z</dc:date>
    </item>
  </channel>
</rss>

