From: Aaron Gee <cluge1669@netscape.net>
To: linux-raid@vger.kernel.org
Subject: Re: changing MD device
Date: Thu, 15 Jan 2004 14:36:45 -0500 [thread overview]
Message-ID: <4006EBCD.50907@netscape.net> (raw)
In-Reply-To: <20040114220159.GM26406@percy.comedia.it>
Thanks for the advice, worked like a charm. I'm including the full
procedure below for those that may need it in the future.
> bluca@comedia.it wrote:
> if your rescue disk contains mdadm you can use the
> mdadm -A -U super-minor /dev/md1 /dev/hd?? once
> and the array will be started and the minor updated
How to change software raid minor number with RH installs.
1. On your running system get and install mdadm
2. mount a blank floppy, copy /sbin/mdadm to floppy
3. On your running system tar up /dev/md* (tar -cvf /mnt/floppy/dev.tar
/dev/md*)
4. Boot from rescue disk - do NOT mount your linux install
5. At sh prompt, switch disks, mount the floppy that contains the tar
file and mdadm
6. untar the devices (RH rescue disks only create /dev entries for
arrays that it finds)
you should now have several /dev/md* entries.
7. Copy mdadm to /sbin annd run it using the command line above
example: mdadm -A -U super-minor /dev/md[new number here] /dev/1stdev
/dev/2nd /dev/etc
8. cat /proc/mdstat - is the array running and synched now? Should be.
9. Mount your system useing the new device number where appropriate and
modify /etc/fstab, /etc/raidtab and /etc/grub.conf to match your new
raid settings
10.unmount all your system partitions and reboot
cluge
prev parent reply other threads:[~2004-01-15 19:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-14 21:44 changing MD device Aaron Gee
2004-01-14 22:02 ` Luca Berra
2004-01-15 19:36 ` Aaron Gee [this message]
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=4006EBCD.50907@netscape.net \
--to=cluge1669@netscape.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 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).