summaryrefslogtreecommitdiffstats
path: root/mdadm.8
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2005-08-09 04:25:27 +0000
committerNeil Brown <neilb@suse.de>2005-08-09 04:25:27 +0000
commit586ed40547a380b9f8bd58aa87c12fbaf6eabf65 (patch)
treee075277fb987eeba9e18ca0ed1e21aee4cd61a46 /mdadm.8
parent8068890f1116c6fc5ae87596bb6b8272f79d2d1c (diff)
downloadmdadm-586ed40547a380b9f8bd58aa87c12fbaf6eabf65.tar.gz
mdadm-586ed40547a380b9f8bd58aa87c12fbaf6eabf65.tar.xz
mdadm-586ed40547a380b9f8bd58aa87c12fbaf6eabf65.zip
Support fixing of byte-swapped superblocks.
Good for moving between little-endian and big-endian. Still needs documentation. Signed-off-by: Neil Brown <neilb@cse.unsw.edu.au>
Diffstat (limited to 'mdadm.8')
-rw-r--r--mdadm.813
1 files changed, 13 insertions, 0 deletions
diff --git a/mdadm.8 b/mdadm.8
index b0ac74a..1ecdac2 100644
--- a/mdadm.8
+++ b/mdadm.8
@@ -525,6 +525,7 @@ argument given to this flag can be one of
.BR sparc2.2 ,
.BR summaries ,
.BR resync ,
+.BR byteorder ,
or
.BR super-minor .
@@ -556,6 +557,18 @@ to perform a "resync" pass to make sure that all redundant information
is correct.
The
+.B byteorder
+option allows arrays to be moved between machines with different
+byte-order.
+When assembling such an array for the first time after a move, giving
+.B "--update=byteorder"
+will cause
+.I mdadm
+to expect superblocks to have their byteorder reversed, and will
+correct that order before assembling the array. This is only valid
+with original (Verion 0.90) superblocks.
+
+The
.B summaries
option will correct the summaries in the superblock. That is the
counts of total, working, active, failed, and spare devices.