Monday, August 23, 2010

VxVM vxassist ERROR V-5-1-436 Cannot allocate space to grow volume to 1958928768 blocks

Hi All,

# vxdg -g oradgh free
DISK DEVICE TAG OFFSET LENGTH FLAGS
emcpower67 emcpower67s2 emcpower67 0 230395648 -

# df -h /fh01 /bfh01
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/oradgh/fh01vol 824G 771G 50G 94% /fh01
/dev/vx/dsk/shadowdg/fh01vol 824G 228G 560G 29% /bfh01root on cidcshlspora01:

# /etc/vx/bin/vxresize -g oradgh fh01vol +230395648 emcpower67 &
9080
root on cidcshlspora01:
# VxVM vxassist ERROR V-5-1-436 Cannot allocate space to grow volume to 1958928768 blocks
VxVM vxresize ERROR V-5-1-4703 Problem running vxassist command for volume fh01vol, in diskgroup oradgh
vxtask list
TASKID PTID TYPE/STATE PCT PROGRESS
root on cidcshlspora01:

In this kind of case it may happen the block size selected for the FS while its creation is different, so you can grow the FS by taking the size from( vxassist -g dgname maxsize diskname) command as mentioned below:

# vxassist -g oradgh maxsize emcpower67
Maximum volume size: 230391808 (112496Mb)

# /etc/vx/bin/vxresize -g oradgh fh01vol +230391808 emcpower67
root on cidcshlspora01:
# df -h /fh01
Filesystem size used avail capacity Mounted on
/dev/vx/dsk/oradgh/fh01vol 934G 771G 153G 84% /fh01
root on cidcshlspora01:

So the FS grown as above.. Please let meknow if any doubts..

Thanks,
Yogesh

Sunday, August 22, 2010

metastat: host: data1: must be owner of the set for this command

Hi All,

For this error, Please run teh below command. don't worry if it is not a cluster set as well. But if it is a cluster set then confirm that it is not imported on other server.

#metaset -s data1 -C take
It would import the diskset and problem would be resolved.

Thanks,
Yogesh

Sunday, August 15, 2010

Local zone state changed after Patching

Hi All,

This is my first post to forum and the problem is related to Solaris Zones:
Issue: Solaris Local zone state changed to incomplete after patching Solaris recommended patch Cluster.
Troubleshooting and Resolution:
# zoneadm list -ivc
ID NAME STATUS PATH BRAND IP
0 global running / native shared
- seedzone incomplete /rpool/seedzone native shared
I moved to /rpool/seedzone and saw a extra file SUNWdetached.xml under that. I removed that file and also change the state of the local zone from incomplete to installed in /etc/zones/index. The issue got resolved. I rebooted the server and issue never came back.
Thanks,
Yogesh