Re: [Veritas-vx] Moving disk group between systems
First of all, there is not such command as "vxvol deport" Anway couple of things to check here. What version of Volume Manger and File System did you install ? What version of Volume Manger and File System is on the old system ? Is your volume part of an RVG ? From: "Liang, Warren" To: Veritas-vx@mailman.eng.auburn.edu Sent: Wednesday, 22 April, 2009 10:31:01 AM Subject: [Veritas-vx] Moving disk group between systems Hello: I have a disk group DG1 on server bda1k. Which is a Solaris 10 U5 server. Boot disk is disk2. I installed Solaris 10 U6 on a different disk. It is a fresh init install. Hostname changes to sca1k. Boot disk is disk0. There are on the same 1405 box. On bda1k, I entered # vxvol deport DG1 before shut it down. After boot sca1k up, vxdisk list shows all the disks are there. Entered # vxdctl enable; # vxdg import DG1; # vsrecover –g DG1 –sb There is no error from above commands. # vxprint -g DG1 TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 dg DG1 DG1 - - - - - - dm DG11 c1t8d0s2 - 35302480 - - - - v V01 fsgen ENABLED 16777216 - ACTIVE - - pl dg1_vol1-01 V01 ENABLED 16777216 - ACTIVE - - sd dg1_1-01 dg1_vol1-01 ENABLED 16777216 0 - - - pl dg1_vol1-02 V01 ENABLED LOGONLY - ACTIVE - - sd dg1_1-02 dg1_vol1-02 ENABLED 528 LOG - - - # ls -al /dev/vx/rdsk/DG1/V01 crw--- 1 root root 323, 8000 Apr 21 16:56 /dev/vx/rdsk/DG1/V01 # mount -F vxfs /dev/vx/dsk/DG1/V01 /mnt UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vx/dsk/DG1/V01: No such device or address UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version Thanks in advance. Warren L. Confidentiality Note: This e-mail, including any attachment to it, may contain material that is confidential, proprietary, privileged and/or "Protected Health Information," within the meaning of the regulations under the Health Insurance Portability & Accountability Act as amended. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error, and any review, dissemination, distribution or copying of this e-mail, including any attachment to it, is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system. Thank you. Enjoy a safer web experience. Upgrade to the new Internet Explorer 8 optimised for Yahoo!7. Get it now.___ Veritas-vx maillist - Veritas-vx@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
Re: [Veritas-vx] Moving disk group between systems
try this vxdg -Cf import dgname vxvol -g gd -f startall then fsck and moun them Thanks Nandakumar ARS --- On Wed, 4/22/09, Liang, Warren wrote: From: Liang, Warren Subject: [Veritas-vx] Moving disk group between systems To: Veritas-vx@mailman.eng.auburn.edu Date: Wednesday, April 22, 2009, 1:31 AM Hello: I have a disk group DG1 on server bda1k. Which is a Solaris 10 U5 server. Boot disk is disk2. I installed Solaris 10 U6 on a different disk. It is a fresh init install. Hostname changes to sca1k. Boot disk is disk0. There are on the same 1405 box. On bda1k, I entered # vxvol deport DG1 before shut it down. After boot sca1k up, vxdisk list shows all the disks are there. Entered # vxdctl enable; # vxdg import DG1; # vsrecover –g DG1 –sb There is no error from above commands. # vxprint -g DG1 TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 PUTIL0 dg DG1 DG1 - - - - - - dm DG11 c1t8d0s2 - 35302480 - - - - v V01 fsgen ENABLED 16777216 - ACTIVE - - pl dg1_vol1-01 V01 ENABLED 16777216 - ACTIVE - - sd dg1_1-01 dg1_vol1-01 ENABLED 16777216 0 - - - pl dg1_vol1-02 V01 ENABLED LOGONLY - ACTIVE - - sd dg1_1-02 dg1_vol1-02 ENABLED 528 LOG - - - # ls -al /dev/vx/rdsk/DG1/V01 crw--- 1 root root 323, 8000 Apr 21 16:56 /dev/vx/rdsk/DG1/V01 # mount -F vxfs /dev/vx/dsk/DG1/V01 /mnt UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vx/dsk/DG1/V01: No such device or address UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version Thanks in advance. Warren L. Confidentiality Note: This e-mail, including any attachment to it, may contain material that is confidential, proprietary, privileged and/or "Protected Health Information," within the meaning of the regulations under the Health Insurance Portability & Accountability Act as amended. If it is not clear that you are the intended recipient, you are hereby notified that you have received this transmittal in error, and any review, dissemination, distribution or copying of this e-mail, including any attachment to it, is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system. Thank you. -Inline Attachment Follows- ___ Veritas-vx maillist - Veritas-vx@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx ___ Veritas-vx maillist - Veritas-vx@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
Re: [Veritas-vx] Moving disk group between systems
Sounds like you need to: vxvol -g diskgroup startall On Wed, Apr 22, 2009 at 9:31 AM, Liang, Warren < warren.li...@infocrossing.com> wrote: > Hello: > > I have a disk group DG1 on server bda1k. Which is a Solaris 10 U5 server. > Boot disk is disk2. > > I installed Solaris 10 U6 on a different disk. It is a fresh init install. > Hostname changes to sca1k. Boot disk is disk0. > > There are on the same 1405 box. > > On bda1k, I entered # vxvol deport DG1 before shut it down. > > After boot sca1k up, vxdisk list shows all the disks are there. Entered # > vxdctl enable; > > # vxdg import DG1; # vsrecover –g DG1 –sb > > There is no error from above commands. > > # vxprint -g DG1 > > TY NAME ASSOCKSTATE LENGTH PLOFFS STATETUTIL0 > PUTIL0 > > dg DG1 DG1 ----- - > > dm DG11 c1t8d0s2 -35302480 --- - > > v V01 fsgenENABLED 16777216 -ACTIVE - - > > pl dg1_vol1-01 V01 ENABLED 16777216 -ACTIVE - - > > sd dg1_1-01 dg1_vol1-01 ENABLED 16777216 0-- - > > pl dg1_vol1-02 V01 ENABLED LOGONLY -ACTIVE - - > > sd dg1_1-02 dg1_vol1-02 ENABLED 528 LOG -- - > > # ls -al /dev/vx/rdsk/DG1/V01 > > crw--- 1 root root 323, 8000 Apr 21 16:56 > /dev/vx/rdsk/DG1/V01 > > # mount -F vxfs /dev/vx/dsk/DG1/V01 /mnt > > UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vx/dsk/DG1/V01: No such > device or address > > UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version > > Thanks in advance. > > > > Warren L. > > > > Confidentiality Note: This e-mail, including any attachment to it, may > contain material that is confidential, proprietary, privileged and/or > "Protected Health Information," within the meaning of the regulations under > the Health Insurance Portability & Accountability Act as amended. If it is > not clear that you are the intended recipient, you are hereby notified that > you have received this transmittal in error, and any review, dissemination, > distribution or copying of this e-mail, including any attachment to it, is > strictly prohibited. If you have received this e-mail in error, please > immediately return it to the sender and delete it from your system. Thank > you. > > ___ > Veritas-vx maillist - Veritas-vx@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx > > -- Romeo Theriault System Administrator Information Technology Services Ph#: 207-561-3517 Em@: romeo.theria...@maine.edu ___ Veritas-vx maillist - Veritas-vx@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx
Re: [Veritas-vx] Moving disk group between systems
Is there a chance that the volumes haven't been started on the destination node? on server bda1k run: vxdg list vxprint -g DG1 Aleksandr On Tue, Apr 21, 2009 at 8:31 PM, Liang, Warren wrote: > Hello: > > I have a disk group DG1 on server bda1k. Which is a Solaris 10 U5 server. > Boot disk is disk2. > > I installed Solaris 10 U6 on a different disk. It is a fresh init install. > Hostname changes to sca1k. Boot disk is disk0. > > There are on the same 1405 box. > > On bda1k, I entered # vxvol deport DG1 before shut it down. > > After boot sca1k up, vxdisk list shows all the disks are there. Entered # > vxdctl enable; > > # vxdg import DG1; # vsrecover –g DG1 –sb > > There is no error from above commands. > > # vxprint -g DG1 > > TY NAME ASSOC KSTATE LENGTH PLOFFS STATE TUTIL0 > PUTIL0 > > dg DG1 DG1 - - - - - - > > dm DG11 c1t8d0s2 - 35302480 - - - - > > v V01 fsgen ENABLED 16777216 - ACTIVE - - > > pl dg1_vol1-01 V01 ENABLED 16777216 - ACTIVE - - > > sd dg1_1-01 dg1_vol1-01 ENABLED 16777216 0 - - - > > pl dg1_vol1-02 V01 ENABLED LOGONLY - ACTIVE - - > > sd dg1_1-02 dg1_vol1-02 ENABLED 528 LOG - - - > > # ls -al /dev/vx/rdsk/DG1/V01 > > crw--- 1 root root 323, 8000 Apr 21 16:56 /dev/vx/rdsk/DG1/V01 > > # mount -F vxfs /dev/vx/dsk/DG1/V01 /mnt > > UX:vxfs mount: ERROR: V-3-20003: Cannot open /dev/vx/dsk/DG1/V01: No such > device or address > > UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version > > Thanks in advance. > > > > Warren L. > > > > Confidentiality Note: This e-mail, including any attachment to it, may > contain material that is confidential, proprietary, privileged and/or > "Protected Health Information," within the meaning of the regulations under > the Health Insurance Portability & Accountability Act as amended. If it is > not clear that you are the intended recipient, you are hereby notified that > you have received this transmittal in error, and any review, dissemination, > distribution or copying of this e-mail, including any attachment to it, is > strictly prohibited. If you have received this e-mail in error, please > immediately return it to the sender and delete it from your system. Thank > you. > > ___ > Veritas-vx maillist - veritas...@mailman.eng.auburn.edu > http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx > > ___ Veritas-vx maillist - Veritas-vx@mailman.eng.auburn.edu http://mailman.eng.auburn.edu/mailman/listinfo/veritas-vx