VinceNoir1

updated

12 years ago

V

VinceNoir1

26 Posts

0

932

October 15th, 2014 03:00

Removing a file lock from a different node

Hi,

To search for a locked file I run

isi_for_array isi smb openfiles list | grep -i " "


Which returns for the file, but the file is usually on a different node than I'm logged on.


Is there a command where I can delete the file without switching to the different node first? Like a isi_for_


Cheers

  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    645

    0

    Posted October 15th, 2014 04:00

    isi_for_array -n2 "command to execute"

    run command on node 2

  • VinceNoir1

    26 Posts

    645

    0

    Posted October 15th, 2014 04:00

    Thanks, that works. I have to use --force as it's asking for a yes/no otherwise, and that's not working.

    Cheers