Lack : separator between host_id and path on locksapce format.
---
README.mk | 8 ++++----
src/sanlock.8 | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/README.mk b/README.mk
index 64b84c5..c4e8f40 100644
--- a/README.mk
+++ b/README.mk
@@ -350,9 +350,9 @@ DESCRIPTION
Use a unique host_id on each host.
host1:
- # sanlock client add_lockspace -s test:1/dev/vg/leases:0
+ # sanlock client add_lockspace -s test:1:/dev/vg/leases:0
host2:
- # sanlock client add_lockspace -s test:2/dev/vg/leases:0
+ # sanlock client add_lockspace -s test:2:/dev/vg/leases:0
6. Create two resources for the application (from one host).
@@ -393,9 +393,9 @@ DESCRIPTION
10. Leave the lockspace for the application.
host1:
- # sanlock client rem_lockspace -s test:1/dev/vg/leases:0
+ # sanlock client rem_lockspace -s test:1:/dev/vg/leases:0
host2:
- # sanlock client rem_lockspace -s test:2/dev/vg/leases:0
+ # sanlock client rem_lockspace -s test:2:/dev/vg/leases:0
11. Stop sanlock on all hosts.
diff --git a/src/sanlock.8 b/src/sanlock.8
index 25b6b49..69c4244 100644
--- a/src/sanlock.8
+++ b/src/sanlock.8
@@ -405,9 +405,9 @@ Use a unique host_id on each host.
.nf
host1:
-# sanlock client add_lockspace -s test:1/dev/vg/leases:0
+# sanlock client add_lockspace -s test:1:/dev/vg/leases:0
host2:
-# sanlock client add_lockspace -s test:2/dev/vg/leases:0
+# sanlock client add_lockspace -s test:2:/dev/vg/leases:0
.fi
.IP 6. 4
@@ -462,9 +462,9 @@ Leave the lockspace for the application.
.nf
host1:
-# sanlock client rem_lockspace -s test:1/dev/vg/leases:0
+# sanlock client rem_lockspace -s test:1:/dev/vg/leases:0
host2:
-# sanlock client rem_lockspace -s test:2/dev/vg/leases:0
+# sanlock client rem_lockspace -s test:2:/dev/vg/leases:0
.fi
.IP 11. 4
--
1.8.3.1
Show replies by date