vxresize KO
On peut parfois se retrouver confronter à cette erreur :
root@server1113696:/apps# vxresize -F vxfs -g dg_lima lv_cft2 +256m vxdisk32_04 vxdisk32_21 VxVM vxassist ERROR V-5-1-436 Cannot allocate space to grow volume to 1048576 blocks VxVM vxresize ERROR V-5-1-4703 Problem running vxassist command for volume lv_cft2, in diskgroup dg_lima
Pourtant il reste de la place sur le dg. Si on regarde le statut des 2 disques on a :
root@server1113696:/apps/sys/admin# vxdisk list|egrep "vxdisk32_04|" sdei auto:cdsdisk vxdisk32_04 dg_lima online failing sdaj auto:cdsdisk vxdisk32_21 dg_lima online
Un des disques est en failing suite à une défaillance quelconque (micro-coupure, switch de lun, concert de michel sardou, problème de disque, etc). Une fois qu'on s'est assuré que tout est ok on peut clearer l'alerte :
root@serverl1113696:/apps/sys/admin# vxedit -g dg_lima set failing=off vxdisk32_04
On peut ensuite augmenter le FS.
Pb disque ?
root@server1100246:/# iostat -En c0t0d0 Soft Errors: 0 Hard Errors: 7 Transport Errors: 0 Vendor: FUJITSU Product: MAN3184M SUN18G Revision: 1502 Serial No: 01Z57896 Size: 18.11GB <18110967808 bytes> Media Error: 0 Device Not Ready: 0 No Device: 7 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 c0t1d0 Soft Errors: 0 Hard Errors: 6 Transport Errors: 82 Vendor: SEAGATE Product: ST318203LSUN18G Revision: 034A Serial No: LRA7308100001027 Size: 18.11GB <18110967808 bytes> Media Error: 0 Device Not Ready: 0 No Device: 6 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 c0t6d0 Soft Errors: 0 Hard Errors: 1 Transport Errors: 0 Vendor: TOSHIBA Product: DVD-ROM SD-M1401 Revision: 1009 Serial No: 12/20/00 Size: 18446744073.71GB <-1 bytes> Media Error: 0 Device Not Ready: 1 No Device: 0 Recoverable: 0 Illegal Request: 0 Predictive Failure Analysis: 0 root@parss1100246:/# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <SUN18G cyl 7506 alt 2 hd 19 sec 248> /pci@1f,4000/scsi@3/sd@0,0 1. c0t1d0 <drive not available: formatting> /pci@1f,4000/scsi@3/sd@1,0 Specify disk (enter its number):
Retirer enclosure
- sur standalone
vxdmpadm listenclosure all mv /etc/vx/array.info /tmp vxconfigd -k
Si VCS, voir http://www.symantec.com/business/support/index?page=content&id=TECH53304
vxlist failed
VxVM DCLI vxlist ERROR V-50-49971-158 Authentication or communication could not be established with the server.
root@bloa51 # cd /opt/VRTSsfmh/etc/ root@bloa51 # ./vxdcli.sh status STOPPED root@bloa51 # ./vxdcli.sh start root@bloa51 # ./vxdcli.sh status RUNNING
V-5-1-1589 enable failed: Volboot file not loaded
rm /etc/vx/reconfig.d/state.d/install-db vxdctl init vxdctl enable vxdctl mode vxdisk list