From: Neil Brown <neilb@suse.de>
To: Mike Myers <mikesm559@yahoo.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Chnaging partition types of RAID array members
Date: Fri, 16 Nov 2007 15:28:07 +1100 [thread overview]
Message-ID: <18237.7255.655518.23158@notabene.brown> (raw)
In-Reply-To: message from Mike Myers on Thursday November 15
On Thursday November 15, mikesm559@yahoo.com wrote:
>
> Hi. I have two RAID5 arrays on an opensuse 10.3 system. They are used
> together in a large LVM volume that contains a lot of data I'd rather
> not have to try and backup/recreate.
>
> md1 comes up fine and is detected by the OS on boot and assembled
> automatically. md0 however, doesn't, and needs to be brought up manually,
> followed by a manual start of lvm. This is a real pain of course. The
> issue I think is that md0 was created through EVMS, which I have
> stopped using some time ago since it's support seems to have been deprecated.
> EVMS created the array fine, but using partitions that were not 0xFD
> (Linux RAID), but rather 0x83 (linux native). Since stopping the use
> of EVMS on boot, the array has not come up automatically.
>
> I have tried failing one of the array members, recreating the partition
> as linux RAID though the yast partition manager, and then trying to
> add it, but I get a "mdadm: Cannot open /dev/sdb1: Device or resource
> busy" error. If the partition is type 0x83 (linux native) and formatted
> with a filesystem first, then re-adding it is no problem at all, and the array rebuilds
> fine.
You don't need to fail a device just to change the partition type.
Just use "cfdisk" to change all the partition types to 'fd', then
reboot and see what happens.
NeilBrown
>
> In googling the topic I can't seem to find out why I get the error
> message, and how to fix this. I'd really like to get this problem
> resolved. Does anyone out there know how to fix this, so I can get partitions
> correctly flagged as Linux RAID and the array autodetected at start?
>
> Sorry if I missed something obvious.
>
> Thanks,
> Mike
>
>
>
>
>
>
> ____________________________________________________________________________________
> Never miss a thing. Make Yahoo your home page.
> http://www.yahoo.com/r/hs
> -
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2007-11-16 4:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-15 18:40 Chnaging partition types of RAID array members Mike Myers
2007-11-16 4:28 ` Neil Brown [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-11-21 3:09 Mike Myers
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=18237.7255.655518.23158@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=mikesm559@yahoo.com \
/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).