long resizeLun(long size,boolean force){
  NaElement elem=new NaElement("lun-resize");
  elem.addNewChild("force",Boolean.toString(force));
  elem.addNewChild("path",path);
  elem.addNewChild("size",Long.toString(size));
  NaElement result=null;
  try {
    result=server.invokeElem(elem);
    return result.getChildLongValue("actual-size",-1);
  }
 catch (  Exception e) {
    String msg="Failed to resize LUN path=" + path;
    log.error(msg,e);
    throw new NetAppException(msg,e);
  }
}

long resizeLun ( long size , boolean force ) { NaElement elem = new NaElement ( "lun-resize" ) ; elem . addNewChild ( "force" , Boolean . toString ( force ) ) ; elem . addNewChild ( "path" , path ) ; elem . addNewChild ( "size" , Long . toString ( size ) ) ; NaElement result = null ; try { result = server . invokeElem ( elem ) ; return result . getChildLongValue ( "actual-size" , - 1 ) ; } catch ( Exception e ) { String msg = "Failed to resize LUN path=" + path ; log . error ( msg , e ) ; throw new NetAppException ( msg , e ) ; } }
resize an existing lun
