From eec86bf1af36800e89ac2b868dd975e3e67fc716 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Wed, 5 Jun 2013 10:05:15 +0200 Subject: [PATCH] marsadm: create initial versionlink upon create-resource --- userspace/marsadm | 1 + 1 file changed, 1 insertion(+) diff --git a/userspace/marsadm b/userspace/marsadm index 3bc7b4d9..a02e4bc7 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -933,6 +933,7 @@ sub create_res { set_link($size, "$resdir/syncstatus-$host"); set_link("log-000000001-$host,0,0", "$resdir/replay-$host"); system("touch $resdir/log-000000001-$host"); + set_link("00000000000000000000000000000000,log-000000001-$host,0:", "$resdir/version-000000001-$host"); finish_links(); lprint "successfully created resource '$res'\n"; } else {