Smartmove: First look
Introduction:
This test regards the new smartmove feature introduced with MP3:
Enviroment:
OS AIX 5300-07-02-0806
Storage Fondation 5.0MP3RP1
Storage 2 LUNS XP24K 100GB
Test:
Mirror an empty filesystem
Initial situation:
diskgroup with a volume of 97.615 GB
root@/ #vxprint -Qqthg smartdg
dg smartdg default default 3000 1239178875.70.tx088sd1
dm disk0 xp12k0_0 auto 65536 204713728 -
dm disk1 xp12k0_1 auto 65536 204713728 -
v smartvol0 - ENABLED ACTIVE 204713728 SELECT - fsgen
pl smartvol0-01 smartvol0 ENABLED ACTIVE 204713728 CONCAT - RW
sd disk0-01 smartvol0-01 disk0 0 204713728 0 xp12k0_0 ENA
root@ / #df -g /mnt/smartfs
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/vx/dsk/smartdg/smartvol0 97.62 91.43 7% 4 1% /mnt/smartfs
root@ / #time vxassist -g smartdg mirror smartvol0 alloc=disk1
real 36m57.56s
user 33m29.99s
sys 1m18.48s
Time taken for a traditional mirror 36m57.56s
root@/ #vxtask -l list
Task: 163 RUNNING
Type: ATCOPY
Operation: PLXATT Vol smartvol0 Plex smartvol0-02 Dg smartdg
Started: Wed Apr 8 10:26:13 DFT 2009
Throttle: 0
Progress: 1.65% 3379200 of 204713728 Blocks
Work time: 34 seconds (33:45 remaining)
Print after mirror:
root@tx088sd1 / #vxprint -Qqthg smartdg
dg smartdg default default 3000 1239178875.70.tx088sd1
dm disk0 xp12k0_0 auto 65536 204713728 -
dm disk1 xp12k0_1 auto 65536 204713728 -
v smartvol0 - ENABLED ACTIVE 204713728 SELECT - fsgen
pl smartvol0-01 smartvol0 ENABLED ACTIVE 204713728 CONCAT - RW
sd disk0-01 smartvol0-01 disk0 0 204713728 0 xp12k0_0 ENA
pl smartvol0-02 smartvol0 ENABLED ACTIVE 204713728 CONCAT - RW
sd disk1-01 smartvol0-02 disk1 0 204713728 0 xp12k0_1 ENA
Recreate initial situation:
root@ / #vxplex -g smartdg dis smartvol0-02
root@ / #vxedit -g smartdg -rf rm smartvol0-02
root@ / #vxprint -Qqthg smartdg
dg smartdg default default 3000 1239178875.70.tx088sd1
dm disk0 xp12k0_0 auto 65536 204713728 -
dm disk1 xp12k0_1 auto 65536 204713728 -
v smartvol0 - ENABLED ACTIVE 204713728 SELECT - fsgen
pl smartvol0-01 smartvol0 ENABLED ACTIVE 204713728 CONCAT - RW
sd disk0-01 smartvol0-01 disk0 0 204713728 0 xp12k0_0 ENA
root@ / #df -g /mnt/smartfs
Filesystem GB blocks Free %Used Iused %Iused Mounted on
/dev/vx/dsk/smartdg/smartvol0 97.62 91.43 7% 4 1% /mnt/smartfs
Enable smartmove:
root@ / # echo usefssmartmove=all >> /etc/default/vxsf
root@/ #cat /etc/default/vxsf
usefssmartmove=all
Mirror with smartmove
root@ / #time vxassist -g smartdg mirror smartvol0 alloc=disk1
real 0m3.32s
user 0m2.05s
sys 0m0.13s
Time taken mirroring with smartmove 0m3.32s
.......I didn't get a vxtask output from another shell :-)
root@ / #vxtask -l list
root@ / #
root@ / #vxprint -Qqthg smartdg
dg smartdg default default 3000 1239178875.70.tx088sd1
dm disk0 xp12k0_0 auto 65536 204713728 -
dm disk1 xp12k0_1 auto 65536 204713728 -
v smartvol0 - ENABLED ACTIVE 204713728 SELECT - fsgen
pl smartvol0-01 smartvol0 ENABLED ACTIVE 204713728 CONCAT - RW
sd disk0-01 smartvol0-01 disk0 0 204713728 0 xp12k0_0 ENA
pl smartvol0-02 smartvol0 ENABLED ACTIVE 204713728 CONCAT - RW
sd disk1-01 smartvol0-02 disk1 0 204713728 0 xp12k0_1 ENA
NB the filesystem MUST be mounted
Conclusions:
We used an empty filesystem to have a clear demo of the potential of the smartmove and in this test the mirror taken the time of a mkfs ;-)
Cheers
Marco
The Storage & Clustering Community Blog is the perfect place to share short, timely insights including product tips, news and other information relevant to the Storage & Clustering community. Any authenticated Connect member can contribute to this blog.
Comments
You can also look for the new
You can also look for the new command to edit the /etc/default/vxsf file
/opt/VRTS/bin/vxdefault
This new command can list and set all the variables that can be modified in the /etc/default/vxsf file. This is safer than editing the file by hand. Allso, you can run vxdefault to check an existing defaults file to make sure all the entries are valid and correct for Storage Foundation.
definitely a smart move..
i did a test and came out with impressive results..in the past i have always used the traditional method:
vxresize - shrink the volume and file system
mirror the volume
vxresize - grow the volume and file system
Would you like to reply?
Login or Register to post your comment.