How to use The "SF 5.0 Tentative Migration" feature to evacuate data from one disk to another.

book

Article ID: 100022977

calendar_today

Updated On:

Resolution




vxprint -ht
dg test         default      default  47000    1213017405.23.kenkoy
dm test01       c1t9d0s2     auto     65536    17837152 -
dm test02       c1t10d0s2    auto     65536    17837152 -

v  testvol      -            ENABLED  ACTIVE   2097152  SELECT    -        fsgen
pl testvol-01   testvol      ENABLED  ACTIVE   2097152  CONCAT    -        RW
sd test01-01    testvol-01   test01   0        2097152  0         c1t9d0   ENA

#mount -F vxfs /dev/vx/dsk/test/testvol /test
#df -F vxfs
/test              (/dev/vx/dsk/test/testvol): 2061654 blocks   257704 files

Tentative of moving  test01 to test02
#vxevac -g test -k test01 test02

vxprint -ht
dg test         default      default  47000    1213017405.23.kenkoy
dm test01       c1t9d0s2     auto     65536    17837152 -
dm test02       c1t10d0s2    auto     65536    17837152 -
v  testvol      -            ENABLED  ACTIVE   2097152  SELECT    -        fsgen
pl %1           testvol      ENABLED  ACTIVE   2097152  CONCAT    -        RW
sd test02-01    %1           test02   0        2097152  0         c1t10d0  ENA
pl testvol-01   testvol      ENABLED  ACTIVE   2097152  CONCAT    -        RW
sd test01-01    testvol-01   test01   0        2097152  0         c1t9d0   ENA

-Let's roll back the tentative move.
#vxevac -g test rollback test01

vxprint -ht
dg test         default      default  47000    1213017405.23.kenkoy
dm test01       c1t9d0s2     auto     65536    17837152 -
dm test02       c1t10d0s2    auto     65536    17837152 -
v  testvol      -            ENABLED  ACTIVE   2097152  SELECT    -        fsgen
pl testvol-01   testvol      ENABLED  ACTIVE   2097152  CONCAT    -        RW
sd test01-01    testvol-01   test01   0        2097152  0         c1t9d0   ENA

-Let's try another tentative move and commit it this time
#vxevac -g test -k test01 test02

vxprint -ht
dg test         default      default  47000    1213017405.23.kenkoy
dm test01       c1t9d0s2     auto     65536    17837152 -
dm test02       c1t10d0s2    auto     65536    17837152 -
v  testvol      -            ENABLED  ACTIVE   2097152  SELECT    -        fsgen
pl %2           testvol      ENABLED  ACTIVE   2097152  CONCAT    -        RW
sd test02-01    %2           test02   0        2097152  0         c1t10d0  ENA
pl testvol-01   testvol      ENABLED  ACTIVE   2097152  CONCAT    -        RW
sd test01-01    testvol-01   test01   0        2097152  0         c1t9d0   ENA

Commit the tentative move
#vxevac -g test commit test01

vxprint -ht
dg test         default      default  47000    1213017405.23.kenkoy
dm test01       c1t9d0s2     auto     65536    17837152 -
dm test02       c1t10d0s2    auto     65536    17837152 -
v  testvol      -            ENABLED  ACTIVE   2097152  SELECT    -        fsgen
pl testvol-01   testvol      ENABLED  ACTIVE   2097152  CONCAT    -        RW
sd test02-01    testvol-01   test02   0        2097152  0         c1t10d0  ENA

 

You can also use the -k option when moving part of the disk (the subdisk) with vxsd. Yes you are commiting the source in the command.


Issue/Introduction

How to use The "SF 5.0 Tentative Migration" feature to evacuate data from one disk to another.