'Resize the LUN.'

def do_direct_resize(self, path, new_size_bytes, force=True):

    seg = path.split('/')
    LOG.info('Resizing    LUN    %s    directly    to    new    size.', seg[(-1)])
    lun_resize = netapp_api.NaElement.create_node_with_children('lun-resize', **{'path': path, 'size': new_size_bytes})
    if force:
        lun_resize.add_new_child('force', 'true')
    self.connection.invoke_successfully(lun_resize, True)
