linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sebastian Kuzminsky <seb@highlab.com>
To: linux-raid@vger.kernel.org
Subject: Re: raid1: All my data completely vanished into the void
Date: Tue, 27 Dec 2005 22:59:54 -0700	[thread overview]
Message-ID: <E1ErULq-0007Nu-5l@highlab.com> (raw)
In-Reply-To: <200512280030.51387.mlaks@verizon.net>

Mitchell Laks <mlaks@verizon.net> wrote:
> What does doing
> 
> mdadm -Cv -n2 -l1 /dev/md0 /dev/sda /dev/sdb
> 
> do to the partition tables??? 
> (And why can I still access the data if I messed up the partitions??? very 
> odd).
> Can you point me at an explanation of the effects of what I did?

I'd expect that command to overwrite the partition table with the
MD metadata, or at least put the partition table at risk of being
overwritten later.

No problem, as long as you're aware of it.  That's how I usually set
my RAID disks up - no partition table, just use the whole disk raw.
LVM is a better solution to the partitioning problem.


-- 
Sebastian Kuzminsky

  reply	other threads:[~2005-12-28  5:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-28  5:30 raid1: All my data completely vanished into the void Mitchell Laks
2005-12-28  5:59 ` Sebastian Kuzminsky [this message]
2005-12-28  6:44   ` Daniel Pittman
2005-12-28  8:23     ` Max Waterman
2005-12-28 10:34       ` Daniel Pittman
2005-12-28 21:52 ` Mark Hahn
  -- strict thread matches above, loose matches on Subject: below --
2005-12-28  4:40 Mitchell Laks
2005-12-28  4:33 ` Mike Hardy
2005-12-28  5:17   ` Mitchell Laks
2005-12-28  4:50 ` Ross Vandegrift

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=E1ErULq-0007Nu-5l@highlab.com \
    --to=seb@highlab.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 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).