Skip to content

Commit

Permalink
Medium: nfsserver: NSM state files correctly populate /var/lib/nfs/sm…
Browse files Browse the repository at this point in the history
….ha (bnc#684139)
  • Loading branch information
xwhu authored and gao-yan committed Feb 27, 2012
1 parent 2b75fe8 commit e2ebfe3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions heartbeat/nfsserver
Expand Up @@ -174,8 +174,8 @@ nfsserver_start ()
prepare_directory
bind_tree

rm -f /var/lib/nfs/sm.ha/* > /dev/null 2>&1
cp -f /var/lib/nfs/sm/* /var/lib/nfs/sm.ha > /dev/null 2>&1
rm -rf /var/lib/nfs/sm.ha/* > /dev/null 2>&1
cp -rf /var/lib/nfs/sm /var/lib/nfs/sm.bak /var/lib/nfs/state /var/lib/nfs/sm.ha > /dev/null 2>&1

ocf_log info "Starting NFS server ..."

Expand Down

0 comments on commit e2ebfe3

Please sign in to comment.