cancel
Showing results for 
Search instead for 
Did you mean: 

unable to move a volume from 1 disk to another

IdaWong
Level 4

version 5.0

Solaris 10

# vxprint -g datadg scms-db160
TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
v  scms-db160   fsgen        ENABLED  1048576000 -      ACTIVE   -       -
pl scms-db160-02 scms-db160  ENABLED  1048576000 -      ACTIVE   -       -
sd v41-1-01     scms-db160-02 ENABLED 1048576000 0      -        -       -
 
# vxprint n01-sb-1
Disk group: datadg
 
TY NAME         ASSOC        KSTATE   LENGTH   PLOFFS   STATE    TUTIL0  PUTIL0
dm n01-sb-1     XIV0_22      -        1277034240 -      -        -       -
 
# vxprint |grep n01-sb-1     (nothing else is using this disk n01-sb-1)
dm n01-sb-1     XIV0_22      -        1277034240 -      -        -       -
 
based the size, i expect to be able to move the volume scms-db160 to n01-sb-1, 
 
BUT,
# vxassist -b -g datadg move scms-db160 n01-sb-1
VxVM vxassist ERROR V-5-1-2221  volume scms-db160 is not using the specified disk name
 
 
anyone might have any idea? there is no /etc/vx/default/vxassist file. one more thing i am not certain matter. volume scms-db160 has a mounted checkpoint filesystems in it. I wonder if that is preventing the vxassist command to work.

 

1 ACCEPTED SOLUTION

Accepted Solutions

mikebounds
Level 6
Partner Accredited

With "vxassist move" you give the disk it is moving "from" not "to", hence why vxassist says "volume scms-db160 is not using the specified disk name"  - see https://sort.symantec.com/public/documents/sfha/6.0/solaris/manualpages/html/man/volume_manager/html... for more details

 

Mike

View solution in original post

3 REPLIES 3

mikebounds
Level 6
Partner Accredited

With "vxassist move" you give the disk it is moving "from" not "to", hence why vxassist says "volume scms-db160 is not using the specified disk name"  - see https://sort.symantec.com/public/documents/sfha/6.0/solaris/manualpages/html/man/volume_manager/html... for more details

 

Mike

IdaWong
Level 4

THanks. i was being darf!

presuntinho
Level 3
Employee Certified

If you want, you try the vxevac command.

 

Ex:

 

vxevac -g datadg old_disk new_disk.

 

 

Marcelo Gigliotti
Verias InfoScale Product Manager
Cloud and Kubernetes Team