mounted.ocfs2(8)
β¨ NAME β¨
mounted.ocfs2 β bestie, it literally sniffs out every OCFS2 volume chillin' on your system π (this is a page from the OCFS2 Manual Pages, section 8, iykyk)
πΈ SYNOPSIS πΈ
mounted.ocfs2 [-d] [-f] [device]
π¦ DESCRIPTION π¦
okay so mounted.ocfs2 is THE tool for detecting OCFS2 volume(s) hanging out on your system. no cap.
and here's the vibe: if you don't hand it a device, it just goes ahead and scans all the partitions listed in /proc/partitions. main character energy honestly π«Ά
π OPTIONS π
-dβ lists the OCFS2 volumes along with their labels and uuids. it ALSO lists the cluster stack, cluster name and the cluster flags β¨. the possible cluster stacks areo2cb,pcmkandcman.Nonemeans it's a local mount or a non-clustered volume (so, not slaying in a cluster, just vibing solo). and aGcluster flag means global-heartbeat for theo2cbcluster stack π-fβ lists the OCFS2 volumes along with the list of nodes that have mounted the volume. it's giving "who's at the function" π
β οΈ NOTES β οΈ
ngl, this part matters. because this utility gathers information without taking any cluster locks, the info listed in the full detect mode could be stale π.
and that's only actually a problem for volumes that were not cleanly umounted by the last node. those volumes will show up mounted (as per this utility) on one or more nodes but are in fact not mounted on any node. lowkey a liar, but it's not the tool's fault fr fr.
such volumes are awaiting slot-recovery, which is auto-performed on the next mount (or file system check). so like, it fixes itself, bestie π
π EXAMPLES π
to view the list of OCFS2 volumes, do:
# 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
to view the list of nodes that have potentially (see notes π) mounted the OCFS2 volumes, do:
# 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
see that Not mounted? yeah. icon behavior actually π
π SEE ALSO π
go read these too, they're all in the friend group:
debugfs.ocfs2(8) fsck.ocfs2(8) mkfs.ocfs2(8) mount.ocfs2(8) o2cluster(8) o2image(8) o2info(1) tunefs.ocfs2(8)
π AUTHORS π
Oracle Corporation
π COPYRIGHT π
Copyright Β© 2004, 2012 Oracle. All rights reserved.
and that's the whole page, bestie β¨ this was Version 1.8.9, dated January 2012, from the OCFS2 Manual Pages, and it lives at mounted.ocfs2(8) π¦ mwah, go detect some volumes π
πΈ
π¦ where this page comes from
- fedora 44: ocfs2-tools 1.8.9-2.fc44 Β· GPL-2.0-only
- fedora 44: ocfs2-tools 1.8.9-2.fc44 Β· GPL-2.0-only
- ubuntu resolute: ocfs2-tools 1.8.9-1 Β· GPL-2.0-or-later
- ubuntu stonking: ocfs2-tools 1.8.9-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms