From: "Simon Matthews" <simon.d.matthews@gmail.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: Changing partition types safe? raidtools to mdadm migration
Date: Thu, 8 Mar 2007 23:20:02 -0800 [thread overview]
Message-ID: <40b437200703082320t8daee7bp3ae3883b978e9cc9@mail.gmail.com> (raw)
In-Reply-To: <17905.1664.655065.164818@notabene.brown>
Neil,
On 3/8/07, Neil Brown <neilb@suse.de> wrote:
> On Thursday March 8, simon.d.matthews@gmail.com wrote:
> > I have a working RAID1 set. This is in a Gentoo system and I
> > configured the RAID set using raidtools. I see that Raidtools are now
> > deprecated in favor of mdadm.
> >
> > I installed mdadm, but it does not recognize my raid set. I tried the
> > following command (note that my RAID set is active while I do this):
> > $ mdadm /dev/md0 --query --detail
>
> Try
> mdadm --detail /dev/md0
Looks good:
# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Sat Oct 15 16:20:52 2005
Raid Level : raid1
Array Size : 198153664 (188.97 GiB 202.91 GB)
Used Dev Size : 198153664 (188.97 GiB 202.91 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Thu Mar 8 23:15:38 2007
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
UUID : de2ca4d0:7a3f6d57:d6751dc4:a51265e3
Events : 0.12491522
Number Major Minor RaidDevice State
0 8 18 0 active sync /dev/sdb2
>
> If that doesn't work, what about
> cat /proc/mdadm
>
> >
> > This results in no output. I believe this is because I forgot to
> > change the partition types on the partitions that make up the RAID set
> > (/dev/sda1 and /dev/sdb1) to type fd (they are the default type 82).
>
> It has nothing to do with partition types.
>
> >
> > Can I safely change the partition types to fd on the partions that
> > make up my RAID set?
>
> It is perfectly safe to change partition type.
So I should be safe in just removing the raidtools package and
installing mdadm?
Regards,
Simon
next prev parent reply other threads:[~2007-03-09 7:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-09 6:39 Changing partition types safe? raidtools to mdadm migration Simon Matthews
2007-03-09 7:02 ` Neil Brown
2007-03-09 7:20 ` Simon Matthews [this message]
2007-03-09 7:22 ` Simon Matthews
2007-03-09 8:20 ` Neil Brown
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=40b437200703082320t8daee7bp3ae3883b978e9cc9@mail.gmail.com \
--to=simon.d.matthews@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
/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).