Forum Discussion

taesun's avatar
taesun
Level 3
13 years ago

Is volume relayout command possible ?

Hello.

I need your help .

I wonder if  relayout command will be available for work.
( Stripe layout, ncol=14 to stripe layout, ncol=7  )

I will use the following command.: ( volume relayout ncol 14 -> ncol 7 )

# vxassist -g ccrmapvg01 relayout lvol01 layout=stripe ncol=7 

Is it possible?

If you need anything let me know.

 

environment information :

OS  : HP-UX 11.31

SFCFS version : SFCFS 5.0RP6

 

============== vxdg list ============
NAME         STATE           ID
ccrmapvg11   enabled,shared,cds   1139668239.157.ccrmap1p
 

============== vxprint ============
 

dg ccrmapvg11   default      default  49000    1139668239.157.ccrmap1p

dm c35t0d4      c38t0d4      auto     1024     47589888 -
dm c35t0d5      c38t0d5      auto     1024     47589888 -
dm c35t0d6      c38t0d6      auto     1024     47589888 -
dm c35t0d7      c38t0d7      auto     1024     47589888 -
dm c35t1d0      c38t1d0      auto     1024     47589888 -
dm c35t1d1      c38t1d1      auto     1024     47589888 -
dm c35t1d2      c38t1d2      auto     1024     47589888 -
dm c35t1d3      c38t1d3      auto     1024     47589888 -
dm c35t1d4      c38t1d4      auto     1024     47589888 -
dm c35t1d5      c38t1d5      auto     1024     47589888 -
dm c35t1d6      c38t1d6      auto     1024     47589888 -
dm c35t1d7      c38t1d7      auto     1024     47589888 -
dm c35t2d0      c38t2d0      auto     1024     47589888 -
dm c35t2d1      c38t2d1      auto     1024     47589888 -
dm c35t2d2      c38t2d2      auto     1024     47589888 -
dm c35t2d3      c38t2d3      auto     1024     47589888 -
dm c35t2d4      c38t2d4      auto     1024     47589888 -
dm c35t2d5      c38t2d5      auto     1024     47589888 -
dm c35t2d6      c38t2d6      auto     1024     47589888 -
dm c35t2d7      c38t2d7      auto     1024     47589888 -
dm c35t3d0      c38t3d0      auto     1024     47589888 -

v  lvol01       -            ENABLED  ACTIVE   666257408 SELECT   lvol01-01 fsgen
pl lvol01-01    lvol01       ENABLED  ACTIVE   666257536 STRIPE   14/64    RW
sd c35t0d4-01   lvol01-01    c35t0d4  0        47589824 0/0       c38t0d4  ENA
sd c35t0d5-01   lvol01-01    c35t0d5  0        47589824 1/0       c38t0d5  ENA
sd c35t0d6-01   lvol01-01    c35t0d6  0        47589824 2/0       c38t0d6  ENA
sd c35t0d7-01   lvol01-01    c35t0d7  0        47589824 3/0       c38t0d7  ENA
sd c35t1d0-01   lvol01-01    c35t1d0  0        47589824 4/0       c38t1d0  ENA
sd c35t1d1-01   lvol01-01    c35t1d1  0        47589824 5/0       c38t1d1  ENA
sd c35t1d2-01   lvol01-01    c35t1d2  0        47589824 6/0       c38t1d2  ENA
sd c35t1d3-01   lvol01-01    c35t1d3  0        47589824 7/0       c38t1d3  ENA
sd c35t1d4-01   lvol01-01    c35t1d4  0        47589824 8/0       c38t1d4  ENA
sd c35t1d5-01   lvol01-01    c35t1d5  0        47589824 9/0       c38t1d5  ENA
sd c35t1d6-01   lvol01-01    c35t1d6  0        47589824 10/0      c38t1d6  ENA
sd c35t1d7-01   lvol01-01    c35t1d7  0        47589824 11/0      c38t1d7  ENA
sd c35t2d0-01   lvol01-01    c35t2d0  0        47589824 12/0      c38t2d0  ENA
sd c35t2d1-01   lvol01-01    c35t2d1  0        47589824 13/0      c38t2d1  ENA

 

============== vxdg free ============
DISK         DEVICE       TAG          OFFSET    LENGTH    FLAGS
c35t0d4      c38t0d4      c38t0d4      47589824  64        -
c35t0d5      c38t0d5      c38t0d5      47589824  64        -
c35t0d6      c38t0d6      c38t0d6      47589824  64        -
c35t0d7      c38t0d7      c38t0d7      47589824  64        -
c35t1d0      c38t1d0      c38t1d0      47589824  64        -
c35t1d1      c38t1d1      c38t1d1      47589824  64        -
c35t1d2      c38t1d2      c38t1d2      47589824  64        -
c35t1d3      c38t1d3      c38t1d3      47589824  64        -
c35t1d4      c38t1d4      c38t1d4      47589824  64        -
c35t1d5      c38t1d5      c38t1d5      47589824  64        -
c35t1d6      c38t1d6      c38t1d6      47589824  64        -
c35t1d7      c38t1d7      c38t1d7      47589824  64        -
c35t2d0      c38t2d0      c38t2d0      47589824  64        -
c35t2d1      c38t2d1      c38t2d1      47589824  64        -
c35t2d2      c38t2d2      c38t2d2      0         47589888  -
c35t2d3      c38t2d3      c38t2d3      0         47589888  -
c35t2d4      c38t2d4      c38t2d4      0         47589888  -
c35t2d5      c38t2d5      c38t2d5      0         47589888  -
c35t2d6      c38t2d6      c38t2d6      0         47589888  -
c35t2d7      c38t2d7      c38t2d7      0         47589888  -
c35t3d0      c38t3d0      c38t3d0      0         47589888  -
 

============== bdf2 ============
dev/vx/dsk/ccrmapvg11/lvol01  666257408 554988262 104314825   84% /nbsftp4
 

  • This should work fine, and I see you have plenty of free space in the diskgroup which the relayout requires.

    Note there will be a degrade in performance during the relayout so you should run at a quiet period.  If you don't have any quiet periods, then you could add 7 more disks so you have 14 disks free and then mirror to these disks specifying the layout of the mirror of stripe, ncol=7.  This will still impact performance, but I think it will be less and will be quicker (as it doesn't need to copy to a tmp area).

    Mike

  • This should work fine, and I see you have plenty of free space in the diskgroup which the relayout requires.

    Note there will be a degrade in performance during the relayout so you should run at a quiet period.  If you don't have any quiet periods, then you could add 7 more disks so you have 14 disks free and then mirror to these disks specifying the layout of the mirror of stripe, ncol=7.  This will still impact performance, but I think it will be less and will be quicker (as it doesn't need to copy to a tmp area).

    Mike

  • This question more appropriate for the Storage Foundation forum and may reach a broader SF set of readers there.

  • moved to Storage Foundation forum (as Eric suggested)