File: mounted.ocfs2.8.in

package info (click to toggle)
ocfs2-tools 1.8.6-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 6,232 kB
  • sloc: ansic: 86,865; sh: 5,781; python: 2,380; makefile: 1,305
file content (81 lines) | stat: -rw-r--r-- 2,598 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
.TH "mounted.ocfs2" "8" "January 2012" "Version @VERSION@" "OCFS2 Manual Pages"
.SH "NAME"
mounted.ocfs2 \- Detects all \fIOCFS2\fR volumes on a system.
.SH "SYNOPSIS"
\fBmounted.ocfs2\fR [\fB\-d\fR] [\fB\-f\fR] [\fIdevice\fR]
.SH "DESCRIPTION"
.PP 
\fBmounted.ocfs2\fR is used to detect \fIOCFS2\fR volume(s) on a system. When run without
specifying a \fIdevice\fR, it scans all the partitions listed in /proc/partitions.

.SH "OPTIONS"
.TP
\fB\-d\fR
Lists the \fIOCFS2\fR volumes along with their labels and uuids. It also lists the
cluster stack, cluster name and the cluster flags. The possible cluster stacks are
\fBo2cb\fR, \fBpcmk\fR and \fBcman\fR. \fBNone\fR indicates a local mount or a
non-clustered volume. A \fBG\fR cluster flag indicates \fIglobal-heartbeat\fR for
the \fBo2cb\fR cluster stack.

.TP
\fB\-f\fR
Lists the \fIOCFS2\fR volumes along with the list of nodes that have mounted the
volume.

.SH "NOTES"
As this utility gathers information without taking any cluster locks, the information
listed in the full detect mode could be stale. This is only problematic for volumes that
were not cleanly umounted by the last node. Such volumes will show up mounted (as per
this utility) on one or more nodes but are in fact not mounted on any node. Such volumes
are awaiting slot-recovery which is auto-performed on the next mount (or file system check).

.SH "EXAMPLES"

To view the list of \fIOCFS2\fR volumes, do:

.nf
.ps 9
.ft 6
# mounted.ocfs2 -d
Device     Stack  Cluster     F  UUID                              Label
/dev/sdc1  None                  23878C320CF3478095D1318CB5C99EED  localmount
/dev/sdd1  o2cb   webcluster  G  8AB016CD59FC4327A2CDAB69F08518E3  webvol
/dev/sdg1  o2cb   webcluster  G  77D95EF51C0149D2823674FCC162CF8B  logsvol
/dev/sdh1  o2cb   webcluster  G  BBA1DBD0F73F449384CE75197D9B7098  scratch
/dev/sdk1  o2cb   webcluster  G  DCDA2845177F4D59A0F2DCD8DE507CC3  hb1
.ft
.ps
.fi

To view the list of nodes that have potentially (see notes) mounted the \fIOCFS2\fR
volumes, do:

.nf
.ps 9
.ft 6
# mounted.ocfs2 -f
Device     Stack  Cluster     F  Nodes
/dev/sdc1  None 
/dev/sdd1  o2cb   webcluster  G  node1, node3, node10
/dev/sdg1  o2cb   webcluster  G  node1, node3, node10
/dev/sdh1  o2cb   webcluster  G  Not mounted
/dev/sdk1  o2cb   webcluster  G  node1, node3, node10
.ft
.ps
.fi

.SH "SEE ALSO"
.BR debugfs.ocfs2(8)
.BR fsck.ocfs2(8)
.BR mkfs.ocfs2(8)
.BR mount.ocfs2(8)
.BR o2cluster(8)
.BR o2image(8)
.BR o2info(1)
.BR tunefs.ocfs2(8)

.SH "AUTHORS"
Oracle Corporation

.SH "COPYRIGHT"
Copyright \(co 2004, 2012 Oracle. All rights reserved.