reassigning md devices

From: chris berg (cberg2_at_spaceball1.wharton.upenn.edu)
Date: 09/29/04


Date: Tue, 28 Sep 2004 23:47:24 +0000 (UTC)

Hello.
if I have two software raid1 partitions, for example, md1 made from sda1
and sdb1 and md2 made from sda2 and sdb2, how would i go about changing
the assignment so that md2 is actually comprised of sda1 and sdb1 and
md1 comprised of sda2 and sda2? I want to keep the data.

switching all references in the filesystem (raidtab, fstab, grub.conf)
did not yield the results I am looking for, which leads me to believe
that this information is written directly onto the disks somewhere.

is there any way to accomplish this?
thank you.

# cat /proc/version
Linux version 2.4.21-4.ELsmp (bhcompile@daffy.perf.redhat.com) (gcc
version 3.2.3 20030502 (Red Hat Linux 3.2.3-20)) #1 SMP Fri Oct 3
17:52:56 EDT 2003



Relevant Pages

  • Re: vista clone - autochk
    ... on sda1 i install vista with basic tools like java, pdf-creator, ... with partition image i take an image from sda1 and restore it to sda2 ... over grub i can start vista-office and opnesuse ... Vista on partition 1 and Linux on one of the logical drives ...
    (microsoft.public.windows.vista.general)
  • thanks and sorry
    ... with partition image i take an image from sda1 and restore it to sda2 ... over grub i can start vista-office and opnesuse ... if i try to boot vista-games i get the message autochk not found ...
    (microsoft.public.windows.vista.general)
  • Re: USB Memory Key problem
    ... Robert wrote: ... i might have missed something, but you've got sda1 in ... the first instance and sda2 in the second. ...
    (alt.os.linux)
  • Re: re-reading the partition table on a "busy" drive
    ... But there were days, when grub used to install itself on XFS partition *silently*, but nothing was wrong to me: ... have sda1 and sda2, sda1 is open/mounted, and new partition ... table does not have sda2, but sda1 is unchanged - it's pretty ... Yes, a line should be drawn somewhere - say, if sda3 was ...
    (Linux-Kernel)