All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Francois Barre" <francois.barre@gmail.com>
To: linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Bigendian issue with mdadm
Date: Tue, 21 Feb 2006 09:37:33 +0100	[thread overview]
Message-ID: <fd8d0180602210037q6537edcdu@mail.gmail.com> (raw)
In-Reply-To: <17402.21590.564710.372935@cse.unsw.edu.au>

2006/2/21, Neil Brown <neilb@suse.de>:
> On Monday February 20, francois.barre@gmail.com wrote:
> > Hi All,
> >
> > Please, Help !
> >
[...]
> > And it seams like md superblock disk format is hostendian, so how
> > should I say mdadm to use a endianness ?
> >
>
> Read the man page several times?
>
> Look for "--update=byteorder"
>
> You need mdadm-2.0 or later.
>
> NeilBrown
>

Ooops... You know what it is : the more you focus on a problem, the
less you can see solutions floating around...
I had mdadm-1.2 installed, and of course did not think about
upgrading... I will test this asap.
This will avoid me to code a byte reordering program... Thanks Neil !
BTW : I did not see this feature in the kernel code, and after a quick
look at mdadm source, seems to be implemented in
super0.c:super0_swap_endian(). Is there any prerequisite regarding the
kernel version for this to work ?

Thanks again Neil, I am really impressed by your patience answering
dummy questions...

Regards,

      parent reply	other threads:[~2006-02-21  8:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-20 21:38 Bigendian issue with mdadm Francois Barre
2006-02-20 23:44 ` Neil Brown
2006-02-21  6:17   ` Luca Berra
2006-02-21  6:38     ` Neil Brown
2006-02-21  8:37   ` Francois Barre [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=fd8d0180602210037q6537edcdu@mail.gmail.com \
    --to=francois.barre@gmail.com \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.