cancel
Showing results for 
Search instead for 
Did you mean: 

Moving disks between hosts

xor
Level 2

Hi,

 

I need to move this SAN disk from one host to another. The destination host does not have any VG/VOL setup.

The disk is "emc1_0a39" contains..

subdisk: emcvmax4-01

plex: logs720-01

volume: logs720

Running Storage Foundation 5.1

Veritas DMP Multipath

EMC Symmetrix SAN disks

bash-3.00# vxprint -hrt -g diskgroup001
DG NAME         NCONFIG      NLOG     MINORS   GROUP-ID
ST NAME         STATE        DM_CNT   SPARE_CNT         APPVOL_CNT
DM NAME         DEVICE       TYPE     PRIVLEN  PUBLEN   STATE
RV NAME         RLINK_CNT    KSTATE   STATE    PRIMARY  DATAVOLS  SRL
RL NAME         RVG          KSTATE   STATE    REM_HOST REM_DG    REM_RLNK
CO NAME         CACHEVOL     KSTATE   STATE
VT NAME         RVG          KSTATE   STATE    NVOLUME
V  NAME         RVG/VSET/CO  KSTATE   STATE    LENGTH   READPOL   PREFPLEX UTYPE
PL NAME         VOLUME       KSTATE   STATE    LENGTH   LAYOUT    NCOL/WID MODE
SD NAME         PLEX         DISK     DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
SV NAME         PLEX         VOLNAME  NVOLLAYR LENGTH   [COL/]OFF AM/NM    MODE
SC NAME         PLEX         CACHE    DISKOFFS LENGTH   [COL/]OFF DEVICE   MODE
DC NAME         PARENTVOL    LOGVOL
SP NAME         SNAPVOL      DCO
EX NAME         ASSOC        VC                       PERMS    MODE     STATE
SR NAME         KSTATE

dg diskgroup001 default   default  5000     1229744182.26.host430

dm emcvmax1     emc1_0a3d    auto     65536    94210048 -
dm emcvmax2     emc1_0a31    auto     65536    94210048 -
dm emcvmax3     emc1_0a35    auto     65536    94210048 -
dm emcvmax4     emc1_0a39    auto     65536    94210048 -
dm emcvmax5     emc1_0a41    auto     65536    94210048 -

v  data120        -            ENABLED  ACTIVE   282630144 SELECT   -        fsgen
pl data120-01     data120        ENABLED  ACTIVE   282630144 CONCAT   -        RW
sd emcvmax1-01  data120-01     emcvmax1 0        94210048 0         emc1_0a3d ENA
sd emcvmax2-01  data120-01     emcvmax2 0        94210048 94210048  emc1_0a31 ENA
sd emcvmax3-01  data120-01     emcvmax3 0        94210048 188420096 emc1_0a35 ENA

v  logs720         -            ENABLED  ACTIVE   94210048 SELECT    -        fsgen
pl logs720-01      logs720         ENABLED  ACTIVE   94210048 CONCAT    -        RW
sd emcvmax4-01  logs720-01      emcvmax4 0        94210048 0         emc1_0a39 ENA 

 

The disk emcvmax4 ( emc1_0a39 ) has volume ( logs720 ), plex ( logs720-01 ) and subdisk ( emcvmax4-01 ).

The disk is not part of any other volume or Disk group

Need to move disk along with all volume information and data to another host

The disk is part a the Disk group diskgroup001. But the Disk group diskgroup001 and other disks in the Disk group diskgroup001 will not be moved. So cant use DEPORT\IMPORT Disk group

Will a disk offline do the job after umounting the vxfs filesystem, will all the data and Veritas volume info (priv region) move across when the disk is presented to the other host? 

5 REPLIES 5

TonyGriffiths
Level 6
Employee Accredited Certified

Hi,

If you have the Enterprise license, then you could look to use the Disk group split feature. This can be used to split off the disk to its own diskgroup on the source server (There is also a join feature).

On the second system, you will need a compatible SF version installed, and the disk/LUN will need to be visible.

Then it should be a case of unmount & deport on the source system and a rescan & import on the second system

 

cheers

tony

TonyGriffiths
Level 6
Employee Accredited Certified

Here is the section in the docs on Disk Group split

https://sort.symantec.com/public/documents/sfha/5.1sp1/solaris/productguides/html/vxvm_admin/ch06s14.htm

 

cheers

tony

Leed_Engineer
Level 4
Partner Accredited Certified

Hello ,

   VERITAS Storage foundation is totally Platform-independant , if you map the LUN to any other host with regards to the SF version then  you would be able to import the disk group to the other host with no problems at all as the private region exist on the disk itself not on the operating system

 

In case you do not want to deport and import the disk group. The only way to do it is to clone the LUN on the storage level , then map the clone to the other host then import the diskgroup on the new host.

 

Regards

Waleed

jenbbx
Not applicable

What if you don't have enterprise? Is it still possible?

Jenny B
Visit my site

mikebounds
Level 6
Partner Accredited

You can use keyless licencing to give you the diskgroup split and join feature as an eval for 60 days and then you can remove keyless licence after diskgroup is split

So:

 

View the possible settings for the product level.
# vxkeyless displayall
 
Set the desired product level.
# vxkeyless set prod_levels
 

 

Once you have split of diskgroup, then to remove keyless licencing:

# vxkeyless set NONE

You may have to use "vxdctl license init" to re-read the licence information after changing the keyless setting for it to take effect.
 
Mike