<?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 Vxvm - increasing a striped volume in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vxvm-increasing-a-striped-volume/m-p/4175415#M600170</link>
    <description>HPUX 11.11 - Veritas Volume Manager 4.1&lt;BR /&gt;I have a volume that was created a while ago - ~200gb in size striped across 40 disks of 5gb each. It's the only lvol in that vg. &lt;BR /&gt;It was created with "layout=stripe  stripe_stripeunit=4m". &lt;BR /&gt;Now they need it increased by 100gb. &lt;BR /&gt;Do I need another 40 disks to do the increase, or can I stripe the expansion across 4 or 20 or whatever-number-I-want disks ?&lt;BR /&gt;</description>
    <pubDate>Mon, 07 Apr 2008 19:33:29 GMT</pubDate>
    <dc:creator>S.Rider</dc:creator>
    <dc:date>2008-04-07T19:33:29Z</dc:date>
    <item>
      <title>Vxvm - increasing a striped volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxvm-increasing-a-striped-volume/m-p/4175415#M600170</link>
      <description>HPUX 11.11 - Veritas Volume Manager 4.1&lt;BR /&gt;I have a volume that was created a while ago - ~200gb in size striped across 40 disks of 5gb each. It's the only lvol in that vg. &lt;BR /&gt;It was created with "layout=stripe  stripe_stripeunit=4m". &lt;BR /&gt;Now they need it increased by 100gb. &lt;BR /&gt;Do I need another 40 disks to do the increase, or can I stripe the expansion across 4 or 20 or whatever-number-I-want disks ?&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Apr 2008 19:33:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxvm-increasing-a-striped-volume/m-p/4175415#M600170</guid>
      <dc:creator>S.Rider</dc:creator>
      <dc:date>2008-04-07T19:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Vxvm - increasing a striped volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxvm-increasing-a-striped-volume/m-p/4175416#M600171</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;VxVM is very powerful. &lt;BR /&gt;&lt;BR /&gt;Do not fear, there is an easy solution.&lt;BR /&gt;&lt;BR /&gt;Here are more details as a convenient&lt;BR /&gt;reference:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B7961-90025/ch08s23.html" target="_blank"&gt;http://docs.hp.com/en/B7961-90025/ch08s23.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;There are many more URLs with information&lt;BR /&gt;on vxassist(1).&lt;BR /&gt;&lt;BR /&gt;In your specific case, something like this should work (I am not at my workplace so I cannot test it immediately). I am actually&lt;BR /&gt;teaching HP-UX 11.31 this week so I am at&lt;BR /&gt;the customer's site.&lt;BR /&gt;&lt;BR /&gt;For example, if you want to add five disks&lt;BR /&gt;to a 40-disk stripe:&lt;BR /&gt;&lt;BR /&gt;# vxassist -b -g &lt;VGNAME&gt; relayout &lt;VOLNAME&gt; layout=stripe ncol=+5 stripeunit=4m&lt;BR /&gt;&lt;BR /&gt;If you are using EMC SAN for your disks,&lt;BR /&gt;you might need to add flag "-o"...&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;/VOLNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Mon, 07 Apr 2008 21:01:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxvm-increasing-a-striped-volume/m-p/4175416#M600171</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2008-04-07T21:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: Vxvm - increasing a striped volume</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vxvm-increasing-a-striped-volume/m-p/4175417#M600172</link>
      <description>Hi S.,&lt;BR /&gt;&lt;BR /&gt;If you have 40 luns of 5Gbyte. And you want to extend the volume with another 200Gbyte and would like to use all of the diskspace of that extra 200Gbyte and continue to use the current "striping policy" then yes, you will need to add the 200Gbyte of diskspace as 40 (new) luns of 5gbyte.&lt;BR /&gt;&lt;BR /&gt;And then use the vxassist relayout command to go from 40 to 80 "stripes". Followed by the fsadm command to online extend the filesystem  , if there would be any filesystem ontop of the volume.&lt;BR /&gt;&lt;BR /&gt;If you would extend the diskgroup/vxvm volume, with 2 luns of 100Gbyte, then the "striping policy" would be able to only use the first 5Gbyte of the 2 extra luns.&lt;BR /&gt;&lt;BR /&gt;See also beneath example.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris&lt;BR /&gt;&lt;BR /&gt;1. create a diskgroup with 2 "small" luns&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxdg init sdg selarch11=c20t10d2 selarch12=c20t10d3 &lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxdisk -g sdg list&lt;BR /&gt;DEVICE       TYPE            DISK         GROUP        STATUS&lt;BR /&gt;c20t10d2     auto:cdsdisk    selarch11    sdg          online&lt;BR /&gt;c20t10d3     auto:cdsdisk    selarch12    sdg          online&lt;BR /&gt;&lt;BR /&gt;Diskgroup sdg is created which contains vxvm luns selarch11 and selarch12.&lt;BR /&gt;&lt;BR /&gt;2. create a 2way 1gbyte striped volume with stripesize of 256k&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxassist -g sdg make svol 1g layout=striped stripe_width=256k \&lt;BR /&gt;nstripe=2 alloc=selarch11, selarch12&lt;BR /&gt;&lt;BR /&gt;dg sdg          default      default  30000    1208180746.172.gsesrv8&lt;BR /&gt;&lt;BR /&gt;dm selarch11    c20t10d2     auto     1024     7208928  -&lt;BR /&gt;dm selarch12    c20t10d3     auto     1024     7208928  -&lt;BR /&gt;&lt;BR /&gt;v  svol         -            ENABLED  ACTIVE   1048576  SELECT    svol-01  fsgen&lt;BR /&gt;&lt;BR /&gt;pl svol-01      svol         ENABLED  ACTIVE   1048576  STRIPE    2/256    RW&lt;BR /&gt;sd selarch11-01 svol-01      selarch11 0       524288   0/0       c20t10d2 ENA&lt;BR /&gt;sd selarch12-01 svol-01      selarch12 0       524288   1/0       c20t10d3 ENA&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The 1 Gbyte, VxVM volume svol is created. The volume is striped over the 7.2Gbyte luns, selarch11 and selarch12, taking&lt;BR /&gt;from each lun 512Mbyte.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. add a 3th "bigger" lun to the diskgroup&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxdg -g sdg adddisk selarch15=c20t15d0&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxdisk -g sdg list&lt;BR /&gt;DEVICE       TYPE            DISK         GROUP        STATUS&lt;BR /&gt;c20t10d2     auto:cdsdisk    selarch11    sdg          online&lt;BR /&gt;c20t10d3     auto:cdsdisk    selarch12    sdg          online&lt;BR /&gt;c20t15d0     auto:cdsdisk    selarch15    sdg          online&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxprint -ht -g sdg&lt;BR /&gt;[..]&lt;BR /&gt;&lt;BR /&gt;dg sdg          default      default  30000    1208180746.172.gsesrv8&lt;BR /&gt;&lt;BR /&gt;dm selarch11    c20t10d2     auto     1024     7208928  -&lt;BR /&gt;dm selarch12    c20t10d3     auto     1024     7208928  -&lt;BR /&gt;dm selarch15    c20t15d0     auto     1024     20469888 -&lt;BR /&gt;&lt;BR /&gt;v  svol         -            ENABLED  ACTIVE   1048576  SELECT    svol-01  fsgen&lt;BR /&gt;&lt;BR /&gt;pl svol-01      svol         ENABLED  ACTIVE   1048576  STRIPE    2/256    RW&lt;BR /&gt;sd selarch11-01 svol-01      selarch11 0       524288   0/0       c20t10d2 ENA&lt;BR /&gt;sd selarch12-01 svol-01      selarch12 0       524288   1/0       c20t10d3 ENA&lt;BR /&gt;&lt;BR /&gt;3th "bigger", i.e. 20Gbyte, lun selarch15 was added to the sdg diskgroup&lt;BR /&gt;&lt;BR /&gt;4. "relayout" the 1Gbyte lun over the now 3 luns.&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxassist -g sdg relayout svol nstripe=3 alloc=selarch11,selarch12,selarch13&lt;BR /&gt;&lt;BR /&gt;5. watch "time go buy" with vxtask list ;)&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxtask list&lt;BR /&gt;TASKID  PTID TYPE/STATE    PCT   PROGRESS&lt;BR /&gt;   169         RELAYOUT/R 02.62% 0/2097152/55040 RELAYOUT svol sdg&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # date;vxtask list&lt;BR /&gt;Mon Apr 14 15:54:58 METDST 2008&lt;BR /&gt;TASKID  PTID TYPE/STATE    PCT   PROGRESS&lt;BR /&gt;   169         RELAYOUT/R 54.05% 0/2097152/1133568 RELAYOUT svol sdg&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # date;vxtask list&lt;BR /&gt;Mon Apr 14 15:55:05 METDST 2008&lt;BR /&gt;TASKID  PTID TYPE/STATE    PCT   PROGRESS&lt;BR /&gt;   169         RELAYOUT/R 63.42% 0/2097152/1329920 RELAYOUT svol sdg&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # date;vxtask list&lt;BR /&gt;Mon Apr 14 15:55:26 METDST 2008&lt;BR /&gt;TASKID  PTID TYPE/STATE    PCT   PROGRESS&lt;BR /&gt;   169         RELAYOUT/R 92.87% 0/2097152/1947648 RELAYOUT svol sdg&lt;BR /&gt;&lt;BR /&gt;6. result&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxprint -ht -g sdg&lt;BR /&gt;[..]&lt;BR /&gt;&lt;BR /&gt;dg sdg          default      default  30000    1208180746.172.gsesrv8&lt;BR /&gt;&lt;BR /&gt;dm selarch11    c20t10d2     auto     1024     7208928  -&lt;BR /&gt;dm selarch12    c20t10d3     auto     1024     7208928  -&lt;BR /&gt;dm selarch15    c20t15d0     auto     1024     20469888 -&lt;BR /&gt;&lt;BR /&gt;v  svol         -            ENABLED  ACTIVE   1048576  SELECT    svol-01  fsgen&lt;BR /&gt;&lt;BR /&gt;pl svol-01      svol         ENABLED  ACTIVE   1049088  STRIPE    3/256    RW&lt;BR /&gt;sd selarch11-04 svol-01      selarch11 0       349696   0/0       c20t10d2 ENA&lt;BR /&gt;sd selarch12-03 svol-01      selarch12 0       349696   1/0       c20t10d3 ENA&lt;BR /&gt;sd selarch15-03 svol-01      selarch15 104448  349696   2/0       c20t15d0 ENA&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; CONCLUSION -- from the 1gbyte being striped over 2 luns, with taking 512mbyte of each lun, the 1 gbyte&lt;BR /&gt;is now striped over 3 luns, with taking 330k of each lun.&lt;BR /&gt;&lt;BR /&gt;7. max "growth"&lt;BR /&gt;&lt;BR /&gt;gsesrv8 # vxassist -g sdg maxgrow svol layout=striped nstripe=3 &lt;BR /&gt;Volume svol can be extended by 20577280 to: 21625856 (21119Mb)&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt; CONCLUSION -- as the smallest lun is 7.2Gbyte.. max growth = 7208928 * 3 = 21626784 what is very close to 21625856..&lt;BR /&gt;&lt;BR /&gt;or ..&lt;BR /&gt;gsesrv8 # vxassist -g sdg growto svol 21625856&lt;BR /&gt;[root@gsesrv8]/&lt;BR /&gt;gsesrv8 # vxprint -ht -g sdg&lt;BR /&gt;DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID&lt;BR /&gt;ST NAME         STATE        DM_CNT   SPARE_CNT         APPVOL_CNT&lt;BR /&gt;DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE&lt;BR /&gt;RV NAME         RLINK_CNT    KSTATE   STATE    PRIMARY  DATAVOLS  SRL&lt;BR /&gt;RL NAME         RVG          KSTATE   STATE    REM_HOST REM_DG    REM_RLNK&lt;BR /&gt;CO NAME         CACHEVOL     KSTATE   STATE&lt;BR /&gt;VT NAME         RVG          KSTATE   STATE    NVOLUME&lt;BR /&gt;V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE&lt;BR /&gt;&lt;BR /&gt;PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE&lt;BR /&gt;SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE&lt;BR /&gt;SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE&lt;BR /&gt;SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE&lt;BR /&gt;DC NAME         PARENTVOL    LOGVOL&lt;BR /&gt;SP NAME         SNAPVOL      DCO&lt;BR /&gt;EX NAME         ASSOC        VC                       PERMS    MODE     STATE&lt;BR /&gt;SR NAME         KSTATE&lt;BR /&gt;&lt;BR /&gt;dg sdg          default      default  30000    1208180746.172.gsesrv8&lt;BR /&gt;&lt;BR /&gt;dm selarch11    c20t10d2     auto     1024     7208928  -&lt;BR /&gt;dm selarch12    c20t10d3     auto     1024     7208928  -&lt;BR /&gt;dm selarch15    c20t15d0     auto     1024     20469888 -&lt;BR /&gt;&lt;BR /&gt;v  svol         -            ENABLED  ACTIVE   21625856 SELECT    svol-01  fsgen&lt;BR /&gt;&lt;BR /&gt;pl svol-01      svol         ENABLED  ACTIVE   21626112 STRIPE    3/256    RW&lt;BR /&gt;sd selarch11-04 svol-01      selarch11 0       7208704  0/0       c20t10d2 ENA&lt;BR /&gt;sd selarch12-03 svol-01      selarch12 0       7208704  1/0       c20t10d3 ENA&lt;BR /&gt;sd selarch15-03 svol-01      selarch15 104448  7208704  2/0       c20t15d0 ENA&lt;BR /&gt;&lt;BR /&gt;So, in a striped "policy" to use all diskspace, all the luns will need to be of the same size.</description>
      <pubDate>Mon, 14 Apr 2008 13:03:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vxvm-increasing-a-striped-volume/m-p/4175417#M600172</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2008-04-14T13:03:05Z</dc:date>
    </item>
  </channel>
</rss>

