If the LUNs don't exist on the target server, you're stymied. If this is
a SAN LUN, get your SAN admin to zone the LUNs to the 2nd machine. Once
you have that accomplished, deport the disk group from 'A' (you'll need
to umount the volumes) and then on 'B' do a vxdg import of the disk
group (by name). You'll need to start the volumes with vxvol start (use
the -b option and/or a & at the end of the command so you don't have to
wait). While that's cookingCopy the relevant portions of /etc/vfstab
from 'A' and merge them with the /etc/vfstab on 'B'. Go create the
mountpoints yourself: nothing is going to do it for you (much less with
the ownership and permissions you want). I'd use mountall, it will fsck
-y all your filesystems; just ignore the complaints you'll get about
already-mounted stuff (like /). Once you are happy, vxdg upgrade will
bring your diskgroups up to the current format - and you can't go
backward afterwards.

 

 

=================

Dana Hudes

UNIX and Imaging group

NYC-HRA MIS

+1 718 510 8586

Nextel:  172*26*16684

=================

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bill
Mackler
Sent: Tuesday, November 20, 2007 6:32 PM
To: veritas-vx@mailman.eng.auburn.edu
Subject: [Veritas-vx] Moving volumes of different disk group from one
serverto another ***Newbie question***

 

 

We need to move the following 2 volumes (u50 , u51) from server A
(Solaris 10 / Veritas Storage Foundation 4.1) 

to server B (Solaris 10 / Veritas Foundation 5.0). The disk group/mount
points/luns for the 2 volumes at server A below

do not exist in server B. Can one perform such move ? If yes, what are
the steps ? 

 

 

Thanks for your help, Bill

 

========================================================================
=================

<server A>

 

/dev/vx/dsk/scuba-dg/u50 523929600 15981041 476201844 4% /l691_u50

/dev/vx/dsk/scuba-dg/u51 523929600 347667355 165245898 68% /l691_u51

 

# vxprint -th | grep u50

dm disk-u50-d0 c9t28d0s2 auto 38143 261964800 -

dm disk-u50-d1 c9t28d1s2 auto 38143 261964800 -

dm disk-u50-d2 c9t28d2s2 auto 38143 261964800 -

dm disk-u50-d3 c9t28d3s2 auto 38143 261964800 -

v u50 - ENABLED ACTIVE 1047859200 SELECT - fsgen

pl u50-01 u50 ENABLED ACTIVE 1047859200 CONCAT - RW

sd disk-u50-d0-01 u50-01 disk-u50-d0 0 261964800 0 c9t28d0 ENA

sd disk-u50-d1-01 u50-01 disk-u50-d1 0 261964800 261964800 c9t28d1 ENA

sd disk-u50-d2-01 u50-01 disk-u50-d2 0 261964800 523929600 c9t28d2 ENA

sd disk-u50-d3-01 u50-01 disk-u50-d3 0 261964800 785894400 c9t28d3 ENA

 

# vxprint -th | grep u51

dm disk-u51-d4 c9t28d4s2 auto 38143 261964800 -

dm disk-u51-d5 c9t28d5s2 auto 38143 261964800 -

dm disk-u51-d6 c9t28d6s2 auto 38143 261964800 -

dm disk-u51-d7 c9t28d7s2 auto 38143 261964800 -

v u51 - ENABLED ACTIVE 1047859200 SELECT - fsgen

pl u51-01 u51 ENABLED ACTIVE 1047859200 CONCAT - RW

sd disk-u51-d4-01 u51-01 disk-u51-d4 0 261964800 0 c9t28d4 ENA

sd disk-u51-d5-01 u51-01 disk-u51-d5 0 261964800 261964800 c9t28d5 ENA

sd disk-u51-d6-01 u51-01 disk-u51-d6 0 261964800 523929600 c9t28d6 ENA

sd disk-u51-d7-01 u51-01 disk-u51-d7 0 261964800 785894400 c9t28d7 ENA

 

# vxdg list

NAME STATE ID

scuba-dg enabled 1096778253.8519.server-A

 

 

========================================================================
=================

<Server B>

 

# vxdg list

NAME STATE ID

snorkel-dg enabled,cds 1192484865.130.server-B

========================================================================
=================

_______________________________________________
Veritas-vx maillist  -  Veritas-vx@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx

Reply via email to