cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to view the correct disk status in VxVM ?

mukulm
Level 2

Hi, I am not able to view the correct disk status in VxVM as shown,

I had removed the disk from disk group

vxdisk list
DEVICE       TYPE            DISK         GROUP        STATUS
sda          auto:none       -            -                       online invalid
sdb          auto:cdsdisk    mydg01       mydg         online
sdc          auto:cdsdisk    mydg02       mydg         online
sdd          auto:cdsdisk    mydg03       mydg         online
sde          auto:cdsdisk    mydg04       mydg         online
sdf          auto:cdsdisk    mydg05       mydg         online
sdg          auto:none       -            -                      online invalid

Below status is still show as CLAIMED & online

[root@redhat ~]# vxddladm list devices
DEVICE               TARGET-ID    STATE   DDL-STATUS (ASL)
===============================================================
sda                  -            Online  CLAIMED (OTHER_DISKS)
sdb                  -            Online  CLAIMED (OTHER_DISKS)
sdc                  -            Online  CLAIMED (OTHER_DISKS)
sdd                  -            Online  CLAIMED (OTHER_DISKS)
sde                  -            Online  CLAIMED (OTHER_DISKS)
sdf                  -            Online  CLAIMED (OTHER_DISKS)
sdg                  -            Online  CLAIMED (OTHER_DISKS)

I tried vxdctl enable & reboot the system as well

Any help will be appreciated

Thanks

5 REPLIES 5

Marianne
Level 6
Partner    VIP    Accredited Certified

Is the disk still physically connected to the system?

Does the OS still see the disk?

Gaurav_S
Moderator
Moderator
   VIP    Certified

Hi Mukul,

can you elaborate on the problem ?

What disk you have removed & what command you have used ? You mean to say that even after removing the disk you still see the DG name associated with the DG ? mention the disk name please..

Also what is the OS & SF version ?

If you are talking about sda & sdg , they seems to be un-initialized from veritas

 

 

Gaurav

Gaurav_S
Moderator
Moderator
   VIP    Certified

Forgot to mention, even if the status is invalid, there is nothing wrong in showing the disk as claimed by ASL.

In the output above, for sda & sdg, disks are un-initialized in vxvm,  though azll the devices are still viewed by device discovery layer (DDL) & thats why you still see them as claimed -meaning ASL can still recognize the devices.

 

G

robwojo
Level 2
Certified

If the disk is online and invalid, it is simply not yet configured for Veritas. This is redhat I assume - if you can see the disk via fdisk -l and vxddladm then the disk is ok and seen by veritas, but you need to run /etc/vx/bin/vxdisksetup -i /dev/sda  to add the two partitions that Veritas needs to identify them as appropriate to Veritas. Ditto for /dev/sdg

Anoop_Kumar1
Level 5

I think you are relating disk managed in LVM in HP with Veritas. :)

When you are not using any disk in VXVM diskgroup, it will show like this.

sda          auto:none       -            -                       online invalid

Above auto:none means, no veritas format on disk ( no private region, or not initiliazed in vxvm ).

online:invalid means, disk is online in OS, but not ready in VxVm.

 

Below means, the dmp devices are created for disks in veritas, however it does not mean you are using them in veritas.

[root@redhat ~]# vxddladm list devices
DEVICE               TARGET-ID    STATE   DDL-STATUS (ASL)
===============================================================
sda                  -            Online  CLAIMED (OTHER_DISKS)
sdb                  -            Online  CLAIMED (OTHER_DISKS)
sdc                  -            Online  CLAIMED (OTHER_DISKS)
sdd                  -            Online  CLAIMED (OTHER_DISKS)
sde                  -            Online  CLAIMED (OTHER_DISKS)
sdf                  -            Online  CLAIMED (OTHER_DISKS)
sdg                  -            Online  CLAIMED (OTHER_DISKS)