Detects all ocfs2 volumes on a system.
mounted.ocfs2 [-d] [-f] [device]
mounted.ocfs2 is used to detect OCFS2 volume(s) on a system. This tool assumes that the nodes detected on the system are part of the same cluster as the one specified in /etc/ocfs2/cluster.conf.
-d
Lists the OCFS2 volumes along with their labels and uuids. If a device is not specified, it scans all the devices in /proc/partitions.
-f
Lists the OCFS2 volumes along with the list of nodes that have mounted the volume. The node names are listed if the O2CB cluster is online. Note: As this information is gathered using dirty-read, the information may be stale.
[root@node1 ~]# mounted.ocfs2 -d
Device FS Stack UUID Label
/dev/sdb1 ocfs2 local 2D1C9636FE38462DB43A75D1DA592207 vmvol
/dev/sdj1 ocfs2 o2cb FF2E239B02D941FEAF25BDAE8DD553B9 dbstore
[root@node1 ~]# mounted.ocfs2 -f
Device FS Nodes
/dev/sdb1 ocfs2 node15, node1
Oracle Corporation
Copyright © 2004, 2010 Oracle. All rights reserved.