<?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: pvmove in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881253#M636330</link>
    <description>Hi,&lt;BR /&gt;  Yes.. I do have OnlineJFS installed. Is that means fsadm will do the trick as mentioned by Frederic???</description>
    <pubDate>Tue, 14 Jan 2003 11:05:00 GMT</pubDate>
    <dc:creator>Woo Kim Chye</dc:creator>
    <dc:date>2003-01-14T11:05:00Z</dc:date>
    <item>
      <title>pvmove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881249#M636326</link>
      <description>Hi,&lt;BR /&gt;  My server has a VG with a single lvol consists of 4 disks. 2 of them are used for mirror.&lt;BR /&gt;&lt;BR /&gt;  Attached is the output of my vgdisplay and below is a portion of the lvdisplay output:&lt;BR /&gt;&lt;BR /&gt;--- Logical volumes ---&lt;BR /&gt;LV Name                     /dev/vg01/lvol1_sc1&lt;BR /&gt;VG Name                     /dev/vg01&lt;BR /&gt;LV Permission               read/write&lt;BR /&gt;LV Status                   available/syncd&lt;BR /&gt;Mirror copies               1&lt;BR /&gt;Consistency Recovery        MWC&lt;BR /&gt;Schedule                    parallel&lt;BR /&gt;LV Size (Mbytes)            30000&lt;BR /&gt;Current LE                  7500&lt;BR /&gt;Allocated PE                15000&lt;BR /&gt;Stripes                     0&lt;BR /&gt;Stripe Size (Kbytes)        0&lt;BR /&gt;Bad block                   on&lt;BR /&gt;Allocation                  strict&lt;BR /&gt;IO Timeout (Seconds)        default&lt;BR /&gt;&lt;BR /&gt;   --- Distribution of logical volume ---&lt;BR /&gt;   PV Name            LE on PV  PE on PV&lt;BR /&gt;   /dev/dsk/c6t12d0   4340      4340&lt;BR /&gt;   /dev/dsk/c6t13d0   3160      3160&lt;BR /&gt;   /dev/dsk/c8t0d0    4340      4340&lt;BR /&gt;   /dev/dsk/c8t1d0    3160      3160&lt;BR /&gt;&lt;BR /&gt;   --- Logical extents ---&lt;BR /&gt;   LE    PV1                PE1   Status 1 PV2                PE2   Status 2&lt;BR /&gt;   00000 /dev/dsk/c6t12d0   00000 current  /dev/dsk/c8t0d0    00000 current&lt;BR /&gt;   00001 /dev/dsk/c6t12d0   00001 current  /dev/dsk/c8t0d0    00001 current&lt;BR /&gt;   00002 /dev/dsk/c6t12d0   00002 current  /dev/dsk/c8t0d0    00002 current&lt;BR /&gt;   00003 /dev/dsk/c6t12d0   00003 current  /dev/dsk/c8t0d0    00003 current&lt;BR /&gt;   00004 /dev/dsk/c6t12d0   00004 current  /dev/dsk/c8t0d0    00004 current&lt;BR /&gt;   00005 /dev/dsk/c6t12d0   00005 current  /dev/dsk/c8t0d0    00005 current&lt;BR /&gt;   00006 /dev/dsk/c6t12d0   00006 current  /dev/dsk/c8t0d0    00006 current&lt;BR /&gt;   00007 /dev/dsk/c6t12d0   00007 current  /dev/dsk/c8t0d0    00007 current&lt;BR /&gt;   00008 /dev/dsk/c6t12d0   00008 current  /dev/dsk/c8t0d0    00008 current&lt;BR /&gt;&lt;BR /&gt; As the disk utilization for the lvol is very low(about few hundreds MB)I want to reduce the lvol from 2 disk to 1 disk. How am I going to do that?? Is there a way to check that the 2nd disk contains some data??&lt;BR /&gt;  &lt;BR /&gt;  Can I just use pvmove to move the physical extent from 1 disk to the other disk??&lt;BR /&gt;&lt;BR /&gt;  Thanks.</description>
      <pubDate>Tue, 14 Jan 2003 10:34:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881249#M636326</guid>
      <dc:creator>Woo Kim Chye</dc:creator>
      <dc:date>2003-01-14T10:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881250#M636327</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if the second disk is also in use of LVM you can check with 'pvdisplay' what the disk is containing:&lt;BR /&gt;&lt;BR /&gt;# pvdisplay -v /dev/dsk/c8t0d0 | more&lt;BR /&gt;&lt;BR /&gt;Then you have to calculate if there is enough free space available on second disk and you can use 'pvmove' to move the datas:&lt;BR /&gt;&lt;BR /&gt;# pvmove /dev/dsk/c8t0d0 /dev/dsk/cXtYdZ&lt;BR /&gt;or&lt;BR /&gt;# pvmove /dev/vg01/lvol1_sc1 /dev/dsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;Regards ...&lt;BR /&gt;Armin</description>
      <pubDate>Tue, 14 Jan 2003 10:41:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881250#M636327</guid>
      <dc:creator>Armin Feller</dc:creator>
      <dc:date>2003-01-14T10:41:15Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881251#M636328</link>
      <description>The problem you have is that your lvol extends over both disks (and both the mirror disks) so you need to lvreduce your lvol BEFORE you can try to remove the disk you dont need using lvreduce.&lt;BR /&gt;&lt;BR /&gt;So,do you have OnlineJFS installed ? If so this will attempt to reduce your lvol on the fly if you use fsadm, and if its successful then you can do an lvreduce to make your lvol small ebough to fit on a single disk, then you can reduce out the disk you want to free up (and if you need to use pvmove to move all used extents to a single disk).&lt;BR /&gt;&lt;BR /&gt;If youre fsadm online reduce fails, or you dont have OnlineJFS, you will need to offload your data to tape, remove your lvol, then you can recreate it so its only one 1 disk (and 1 mirror disk), then reload your data. This is a long job.&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 10:45:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881251#M636328</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2003-01-14T10:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881252#M636329</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The lvol1_sc1 used about 30 Go and 4 disks (2 mirrored).&lt;BR /&gt;Is there a file system on your LV ?&lt;BR /&gt;&lt;BR /&gt;If yes, you 'll first have to reduce the FS, then the LV.&lt;BR /&gt;&lt;BR /&gt;The best way is to backup your data, delete the lv and re-create it on only 1 disk ( + 1 mirror) 17 Go max, then restore your data.&lt;BR /&gt;&lt;BR /&gt;If you have OnLine JFS, you can try :&lt;BR /&gt;&lt;BR /&gt;fsadm -e /mountpoint &lt;BR /&gt;fsadm -b &lt;NEW size="" in="" sectors=""&gt; /mountpoint&lt;BR /&gt;lvreduce -L &lt;NEW size="" in="" mb=""&gt;&lt;BR /&gt;&lt;BR /&gt;Then check using lvdisplay -v.&lt;BR /&gt;&lt;BR /&gt;Fr??d??ric&lt;BR /&gt;&lt;BR /&gt;&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Tue, 14 Jan 2003 10:52:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881252#M636329</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2003-01-14T10:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881253#M636330</link>
      <description>Hi,&lt;BR /&gt;  Yes.. I do have OnlineJFS installed. Is that means fsadm will do the trick as mentioned by Frederic???</description>
      <pubDate>Tue, 14 Jan 2003 11:05:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881253#M636330</guid>
      <dc:creator>Woo Kim Chye</dc:creator>
      <dc:date>2003-01-14T11:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: pvmove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881254#M636331</link>
      <description>It should work.&lt;BR /&gt;But it is not sure that the fsadm will free enough space &lt;BR /&gt;</description>
      <pubDate>Tue, 14 Jan 2003 11:13:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvmove/m-p/2881254#M636331</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2003-01-14T11:13:05Z</dc:date>
    </item>
  </channel>
</rss>

