11-24-2011 12:08 AM
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
11-24-2011 05:35 AM
Is the disk still physically connected to the system?
Does the OS still see the disk?
11-25-2011 03:12 AM
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
11-25-2011 03:17 AM
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
11-28-2011 03:34 AM
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
01-27-2012 01:03 PM
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)