Not able to view the correct disk status in VxVM ?
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
Comments
Is the disk still physically
Is the disk still physically connected to the system?
Does the OS still see the disk?
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links
Hi Mukul, can you elaborate
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
PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
Forgot to mention, even if
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
PS: If you are happy with the answer provided, please mark the post as solution. You can do so by clicking link "Mark as Solution" below the answer provided.
Disk status
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
I think you are relating disk
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)
~Anoop
Would you like to reply?
Login or Register to post your comment.