This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:ocfs2 [2012/03/20 21:46] – [OCFS2] tmade | linux:ocfs2 [2014/06/13 10:01] – tmade | ||
---|---|---|---|
Line 1: | Line 1: | ||
[[http:// | [[http:// | ||
- | [[http:// | + | [[http://wiki.tmade.de|Home Wiki]] |
===== OCFS2 ===== | ===== OCFS2 ===== | ||
Line 34: | Line 34: | ||
tunefs.ocfs2 -S /dev/XXX | tunefs.ocfs2 -S /dev/XXX | ||
+ | | ||
+ | === Check amount of node slots === | ||
+ | |||
+ | tunefs.ocfs2 -Q "UUID = %U\nNumSlots = %N\n" /dev/sdxx | ||
=== Change Node Slot Count === | === Change Node Slot Count === | ||
Line 54: | Line 58: | ||
mount -at ocfs2 | mount -at ocfs2 | ||
+ | | ||
+ | === Test === | ||
+ | |||
+ | < | ||
+ | |||
+ | #!/bin/bash | ||
+ | |||
+ | if ! cat / | ||
+ | mount -t debugfs none / | ||
+ | | ||
+ | fi | ||
+ | |||
+ | echo " | ||
+ | for vol in / | ||
+ | do | ||
+ | | ||
+ | echo " | ||
+ | done; | ||
+ | |||
+ | echo " | ||
+ | for vol in / | ||
+ | do | ||
+ | | ||
+ | echo " | ||
+ | done; | ||
+ | |||
+ | if [ -n " | ||
+ | | ||
+ | fi | ||
+ | </ | ||
+ | |||
| | ||
=== Links === | === Links === |