From: Mitchell Laks <mlaks@verizon.net>
To: linux-raid@vger.kernel.org
Subject: Re: raid1: All my data completely vanished into the void
Date: Wed, 28 Dec 2005 00:30:51 -0500 [thread overview]
Message-ID: <200512280030.51387.mlaks@verizon.net> (raw)
On Tuesday 27 December 2005 11:50 pm,
Ross Vandegrift wrote:
> Are you 100% sure that you didn't do:
>
> mdadm -Cv -n2 -l1 /dev/md0 /dev/sda /dev/sdb, etc, etc?
> (ie, note lack of subdevice for partition!!!)
> It sounds like you created md devices out of whole disks instead of
> partitions and overwrote the partition information. I don't *think*
> this should be a problem, but I don't 100% know...
>
> Try this to see if it finds your array:
>
> mdadm --assemble /dev/md0 /dev/sda /dev/sdb
That works! In fact that does indeed find all the data! I then mount it as
/home/big2 and the data is still there that I left before.
You are a genius!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
What an idiot I am.
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?
Every way a person can screw up, it will happen...
Mitcehll
next reply other threads:[~2005-12-28 5:30 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-28 5:30 Mitchell Laks [this message]
2005-12-28 5:59 ` raid1: All my data completely vanished into the void Sebastian Kuzminsky
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=200512280030.51387.mlaks@verizon.net \
--to=mlaks@verizon.net \
--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.