« Previous | Next » 

Revision 64d68496

Parent af9f06e0
Child dd493d92

Added by Anton Todorov almost 5 years ago

im/monitor_ds.sh skip broken symlinks

Most probably my test setup is too weird but if you have
/var/lib/one/datastores shared on all hosts and want to have
SYSTEM datastore with TM_MAD on one of the hosts, I am doing the following:

mkdir -p /var/lib/one-local/102
ln -s /var/lib/one/local/102 /var/lib/one/datastores/102

This way I have "local" datastore nested in "shared" filesystem.

In the above scenario on all other hosts the symlink is dead.

The proposed patch test the is the $dir directory and continue only if it is indeed directory.


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences