Forum Discussion

unixlinuxman's avatar
9 years ago

I moved my disk to new install linux os

*** Moved to new post from https://vox.veritas.com/t5/Storage-Foundation/VxVM-vxdg-ERROR-V-5-1-10978-Disk-group-nbu-dg-import-failed-No/m-p/770425  ***

I am facing issue for my disk group. My OS got currupted so I move my disk to new install linux os with new hardware.

I am able to see disk online but cant see disk group (ora_dg). when I am trying to create new dg with the same name it gives an error ora_dg already exist and disk_0 is part of it.

My disk o/p mentioned below or you can use attached DG_error file

[root@node1 ~]# vxdisk list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:cdsdisk - - online
sda auto:none - - online invalid
[root@node1 ~]# vxdg list
NAME STATE ID
[root@node1 ~]# vxdisk list -s
Disk: disk_0
type: auto
flags: online ready private autoconfig autoimport
guid: {10b950d4-fdd5-11e6-bd3f-6bae1d4f8684}
udid: OPNFILER%5FVIRTUAL-DISK%5FDISKS%5FOPNFILERnKXFSi-f5C6-PRjx
site: -
diskid: 1488299384.32.node1
dgname: ora_dg
dgid: 1488296800.26.node1
hostid: node1
info: format=cdsdisk,privoffset=256,pubslice=3,privslice=3

Disk: sda
type: auto
flags: online ready private autoconfig invalid
guid: -
udid: ATA%5FVBOX%20HARDDISK%5FOTHER%5FDISKS%5Fnode1%5F%2Fdev%2Fsda
site: -
diskid:
dgname:
dgid:
hostid:
info: format=none
[root@node1 ~]# vxdg -g ora_dg adddisk disk_0
VxVM vxdg ERROR V-5-1-607 Diskgroup ora_dg not found
[root@node1 ~]#
[root@node1 ~]#
[root@node1 ~]# vxdisk -o alldgs list
DEVICE TYPE DISK GROUP STATUS
disk_0 auto:cdsdisk - (ora_dg) online
sda auto:none - - online invalid
[root@node1 ~]#

3 Replies

  • hmm

    if you want to import the old disk group the just run 'vxdg import ora_dg'

    if you don't want to import it but create a new disk group with the same name, you need to either reinitialise disk_0 (/etc/vx/bin/vxdisksetup) or rename the disk group:

    vxdg -n new_dg_name import ora_dg