linux/Documentation/filesystems/dlmfs.txt
<<
>>
Prefs
   1dlmfs
   2==================
   3A minimal DLM userspace interface implemented via a virtual file
   4system.
   5
   6dlmfs is built with OCFS2 as it requires most of its infrastructure.
   7
   8Project web page:    http://oss.oracle.com/projects/ocfs2
   9Tools web page:      http://oss.oracle.com/projects/ocfs2-tools
  10OCFS2 mailing lists: http://oss.oracle.com/projects/ocfs2/mailman/
  11
  12All code copyright 2005 Oracle except when otherwise noted.
  13
  14CREDITS
  15=======
  16
  17Some code taken from ramfs which is Copyright (C) 2000 Linus Torvalds
  18and Transmeta Corp.
  19
  20Mark Fasheh <mark.fasheh@oracle.com>
  21
  22Caveats
  23=======
  24- Right now it only works with the OCFS2 DLM, though support for other
  25  DLM implementations should not be a major issue.
  26
  27Mount options
  28=============
  29None
  30
  31Usage
  32=====
  33
  34If you're just interested in OCFS2, then please see ocfs2.txt. The
  35rest of this document will be geared towards those who want to use
  36dlmfs for easy to setup and easy to use clustered locking in
  37userspace.
  38
  39Setup
  40=====
  41
  42dlmfs requires that the OCFS2 cluster infrastructure be in
  43place. Please download ocfs2-tools from the above url and configure a
  44cluster.
  45
  46You'll want to start heartbeating on a volume which all the nodes in
  47your lockspace can access. The easiest way to do this is via
  48ocfs2_hb_ctl (distributed with ocfs2-tools). Right now it requires
  49that an OCFS2 file system be in place so that it can automatically
  50find its heartbeat area, though it will eventually support heartbeat
  51against raw disks.
  52
  53Please see the ocfs2_hb_ctl and mkfs.ocfs2 manual pages distributed
  54with ocfs2-tools.
  55
  56Once you're heartbeating, DLM lock 'domains' can be easily created /
  57destroyed and locks within them accessed.
  58
  5l pages dist"line"/option value="v2.6
  v2.6.12.1
  
    13" c 13 Righhhhhhhhh  01" c 1
  02" c 12  03" c 1
  04" c 14s diOpen Flag  05" c 15 Righhhhhhhhh  06" c 1Once y_NONBLOCKa hrTry wit oper/
ileref="Documentation/filesystems/dlmfs.txt#L8" id10="L17" cl0ass="line" name="L17">  07" c 1
  08" c 18ou' mnterprovid oexacnpponnerofsO_RDONLY sy O_RDWRhref="Documentation/filesystems/dlmfs.txt#L19" id0="L19" cl0ass="line" name="L19">  09" c 1
   10OCFS2IfsO_NONBLOCKanslodat provid dlockscfs2try wit oper/
ile wasavali abuhref="Documentation/filesystems/dlmfs.txt#L51" i1d="L11" claass="line" name="L11">  11" c >
   12   13
   14CREDIref="Documentation/filesystems/dlmfs.txt#L58" i1d="L15" cllass="line" name="L15">   15=====Min
   16
   17Some sed.
< to cfs2ts"ockteui vir requile lockspacal  in
 workhref="Documentation/filesystems/dlmfs.txt#L58" i1d="L18" cllass="line" name="L18">   18   19
 1 20Mark Exer.
iv  min
 1 21
  112 1 23=====you&#written,locrLVB be gearevisibte cor
 1 24- RigOorkssy higa hslual s withivolcfs2ts"ocktehref="Documentation/filesystems/dlmfs.txt#L58" i12="L15" cllass="line" name="L25"> 1 25 1 26
 1 27Mount===
 1 28=====ef="http://oss.orpen.tx."ockteasyge.net/cvsmirrsyorpen.tx/docfs.txbook_final.pdfp://oss.orpen.tx."ockteasyge.net/cvsmirrsyorpen.tx/docfs.txbook_final.pdf 1 29 1 30
 1 31Usage
    <

>

Tfs2_riginal LXR softw th bylcfs2ef="http://oss.o"ockteasyge.net/cts/ocfs2lxr">LXR communitysage,iitnslexperition/l versile bylef="http:an/lxr@lv3.6.nosage. > lxr.lv3.6.no in drkshospa aby ef="http://oss.owww.owape g-lv3cts.no">Rwape gs Tocts ASsage,iprovid rrofs Torxigur" n