Skip to contentSkip to conversation

master - man: add lockd bits to relevant commands

PATCH David Teigland 1 participant 1 message Aug 7, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=993fe07a3c9cd756d854d36d576cba5620bf3e36
Commit:        993fe07a3c9cd756d854d36d576cba5620bf3e36
Parent:        2bbf2fa8ebc3d723bc686689378db2a1fe8eaf6e
Author:        David Teigland <[email protected]>
AuthorDate:    Fri Aug 7 16:25:00 2015 -0500
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Aug 7 16:25:00 2015 -0500

man: add lockd bits to relevant commands

---
 man/lvm.8.in      |    5 +++++
 man/vgchange.8.in |   42 ++++++++++++++++++++++++++++++++++++++++++
 man/vgcreate.8.in |    8 ++++++++
 man/vgs.8.in      |    2 +-
 4 files changed, 56 insertions(+), 1 deletions(-)
man/lvm.8.in +5 -0
index 685a4fc..c8e6484 100644
@@ -261,6 +261,11 @@ It can be used to report or display a VG that is owned by another host.
 This option can cause a command to perform poorly because lvmetad caching
 is not used and metadata is read from disks.
 .TP
+.B \-\-shared
+Cause the command to access shared VGs, that would otherwise be skipped
+when lvmlockd is not being used.  It can be used to report or display a
+lockd VG without locking.
+.TP
 .B \-\-addtag \fITag
 Add the tag \fITag\fP to a PV, VG or LV.
 Supply this argument multiple times to add more than one tag at once.
man/vgchange.8.in +42 -0

60 lines not on this page · raw message

man/vgcreate.8.in +8 -0
index c55dbfe..92ef06c 100644
@@ -27,6 +27,7 @@ vgcreate \(em create a volume group
 .IR NumberOfCopies | unmanaged | all ]
 .RB [ \-s | \-\-physicalextentsize
 .IR PhysicalExtentSize [ bBsSkKmMgGtTpPeE ]]
+.RB [ \-\-shared ]
 .RB [ \-\-systemid
 .IR SystemID ]
 .RB [ \-t | \-\-test ]
@@ -128,6 +129,13 @@ impact on I/O performance to the logical volume.  The smallest PE is 1KiB
 The 2.4 kernel has a limitation of 2TiB per block device.
 
 .TP
+.B \-\-shared
+Create a shared VG using lvmlockd.  lvmlockd will select lock type sanlock
+or dlm depending on which lock manager is running.  This allows multiple
+hosts to share a VG on shared devices.  See
+.BR lvmlockd (8).
+
+.TP
 .BR \-\-systemid " " \fISystemID
 Specifies the system ID that will be given to the new VG, overriding the
 system ID of the host running the command.  A VG is normally created
man/vgs.8.in +1 -1
index 6dd52f1..654e8bb 100644
@@ -93,7 +93,7 @@ are missing from the system
 .IP 5 3
 Allocation policy: (c)ontiguous, c(l)ing, (n)ormal, (a)nywhere
 .IP 6 3
-(c)lustered
+(c)lustered, (s)hared
 .RE
 .TP
 .BR \-O ", " \-\-sort