def lvremove(lvname, vgname):
 cmd = ['lvremove', '-f', '{0}/{1}'.format(vgname, lvname)]
 out = __salt__['cmd.run'](cmd, python_shell=False)
 return out.strip()

def lvremove ( lvname , vgname ) : cmd = [ 'lvremove' , '-f' , '{0}/{1}' . format ( vgname , lvname ) ] out = __salt__ [ 'cmd.run' ] ( cmd , python_shell = False ) return out . strip ( )
remove a given existing logical volume from a named existing volume group cli example: .