SF5.1 VxDMP caches LUN size?
I recently recrated a LUN with a different size but the same LUN ID (Linux SLES11) and when trying to initialize it as a new disk to VxVM I keeps sticking to the old size, whatever I do (I tried to destroy and reinitialize in different formats and grow many times):
# vxdisk list isar2_sas_1
Device: isar2_sas_1
public: slice=5 offset=65792 len=167700688 disk_offset=315
Multipathing information:
numpaths: 8
sdu state=disabled
sdt state=enabled
sds state=disabled
sdam state=disabled
sdan state=enabled
sdb state=enabled
sda state=disabled
sdv state=enabled
... but the main reasons seems to be DMP is somehow sticking to the old size:
# fdisk -l /dev/vx/dmp/isar2_sas_1
Disk /dev/vx/dmp/isar2_sas_1: 85.9 GB, 85899345920 bytes
255 heads, 63 sectors/track, 10443 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x55074b8b
pepper:/etc/vx # fdisk -l /dev/sdt
Disk /dev/sdt: 128.8 GB, 128849018880 bytes
255 heads, 63 sectors/track, 15665 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x55074b8b
Any hints are greatly appreciated :)
Just while searching other stuff I stumbled upon a solution. It seems like the bug described in TechNote 128862 is not solved in SF5.1 since I tried vxdisk rm many times:
http://www.symantec.com/business/support/index?page=content&id=TECH128862
But the solution described there worked like a charm (albeit I am happy to only have 8 paths :):
# vxdisk list isar2_sas_1 | grep state | cut -d" " -f1 | xargs -t -izzz vxdmpadm exclude vxvm path=zzz
vxdmpadm exclude vxvm path=sdt
vxdmpadm exclude vxvm path=sds
vxdmpadm exclude vxvm path=sdam
vxdmpadm exclude vxvm path=sdan
vxdmpadm exclude vxvm path=sdb
vxdmpadm exclude vxvm path=sda
vxdmpadm exclude vxvm path=sdv
# vxdctl enable
# vxdmpadm include vxvm path=sdt
# vxdmpadm include vxvm path=sds
# vxdmpadm include vxvm path=sdam
# vxdmpadm include vxvm path=sdan
# vxdmpadm include vxvm path=sdb
# vxdmpadm include vxvm path=sda
# vxdmpadm include vxvm path=sdv
# vxdctl enable
# fdisk -l /dev/vx/dmp/isar2_sas_1
Disk /dev/vx/dmp/isar2_sas_1: 128.8 GB, 128849018880 bytes
255 heads, 63 sectors/track, 15665 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x9b764fd2
Yuhu! And thanks for all the hints.