[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sanlock-devel
Subject:    [PATCH] Fix separator typos in sanlock documents
From:       Han Han <hhan () redhat ! com>
Date:       2017-09-15 3:43:59
Message-ID: 1505447039-5769-1-git-send-email-hhan () redhat ! com
[Download RAW message or body]

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
_______________________________________________
sanlock-devel mailing list -- sanlock-devel@lists.fedorahosted.org
To unsubscribe send an email to sanlock-devel-leave@lists.fedorahosted.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic