linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Nix <nix@esperi.org.uk>
To: Neil Brown <neilb@suse.de>
Cc: Henrik Holst <henrik.holst@idgmail.se>,
	Karl Voit <neww@Karl-Voit.at>,
	linux-raid@vger.kernel.org
Subject: Re: only 4 spares and no access to my data
Date: Wed, 19 Jul 2006 00:44:31 +0100	[thread overview]
Message-ID: <87ac76bhr4.fsf@hades.wkstn.nix> (raw)
In-Reply-To: <17596.17567.790363.193434@cse.unsw.edu.au> (Neil Brown's message of "18 Jul 2006 03:18:07 +0100")

On 18 Jul 2006, Neil Brown moaned:
> The superblock locations for sda and sda1 can only be 'one and the
> same' if sda1 is at an offset in sda which is a multiple of 64K, and
> if sda1 ends near the end of sda.  This certainly can happen, but it
> is by no means certain.
> 
> For this reason, version-1 superblocks record the offset of the
> superblock in the device so that if a superblock is written to sda1
> and then read from sda, it will look wrong (wrong offset) and so will
> be ignored (no valid superblock here).

One case where this can happen is Sun slices (and I think BSD disklabels
too), where /dev/sda and /dev/sda1 start at the *same place*.

(This causes amusing problems with LVM vgscan unless the raw devices
are excluded, too.)

-- 
`We're sysadmins. We deal with the inconceivable so often I can clearly 
 see the need to define levels of inconceivability.' --- Rik Steenwinkel

  reply	other threads:[~2006-07-18 23:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-09 18:59 only 4 spares and no access to my data Karl Voit
2006-07-09 19:23 ` Molle Bestefich
2006-07-10  7:56   ` Karl Voit
2006-07-10  8:46     ` Henrik Holst
2006-07-10  9:27       ` Karl Voit
2006-07-10  9:34       ` Karl Voit
2006-07-10 11:16         ` Molle Bestefich
2006-07-10 11:42           ` Karl Voit
2006-07-10 12:07             ` Molle Bestefich
2006-07-10 12:36               ` Karl Voit
2006-07-10 17:06                 ` Molle Bestefich
2006-07-10 19:26                   ` Karl Voit
2006-07-12 19:35                     ` Molle Bestefich
2006-07-13 12:59                       ` Karl Voit
2006-07-15 10:31                       ` only 4 spares and no access to my data - solved Karl Voit
2006-07-10 11:18       ` only 4 spares and no access to my data Molle Bestefich
2006-07-18  2:17       ` Neil Brown
2006-07-18 23:44         ` Nix [this message]
2006-07-10  8:48   ` Karl Voit

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=87ac76bhr4.fsf@hades.wkstn.nix \
    --to=nix@esperi.org.uk \
    --cc=henrik.holst@idgmail.se \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    --cc=neww@Karl-Voit.at \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).