Operating System - HP-UX
1828852 Members
2543 Online
109985 Solutions
New Discussion

Issue trying to initialize a VxvM disk for mirroring

 
jmckinzie
Super Advisor

Issue trying to initialize a VxvM disk for mirroring

I use vxdiskadm and i get this error trying to add the disk to the diskgroup.

The idea is to add the disk to the disk group so i can mirror it in the second step.

However, i am getting this error.

Any ideas?


Initialization of disk device c2t6d0 failed.
Error: vxdisksetup: Disk c2t6d0 is being used in the disk group rootdg on the system loopback.
Disk cannot be reinitialized.
3 REPLIES 3
KapilRaj
Honored Contributor

Re: Issue trying to initialize a VxvM disk for mirroring

Can you please post ioscan -fnkC disk & vxdisk -e -o alldgs list

Regards,

Kaps
Nothing is impossible
chris huys_4
Honored Contributor

Re: Issue trying to initialize a VxvM disk for mirroring

Hi,

The disk c2t6d0 is allready part of the vxvm diskgroup rootdg and as such cannot be reinitialized.

(Like trying to pvcreate a disk which is allready part of a lvm volumegroup, something which also will not work. )

Give output of the following commands, to see what the current vxvm situation is.
# swlist
# vxdisk -o alldgs list
# vxprint -ht -g rootdg

Greetz,
Chris
jmckinzie
Super Advisor

Re: Issue trying to initialize a VxvM disk for mirroring

I have not found a solution but, had to reload the server due to failure of the primary disk.