Re: MD device id change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Hi Neil,

> On Thursday April 3, kisselev@mail.desy.de wrote:
> >
> >   Here is the question: is there an easy way to change RAID device ID?
> > If not, is the following sequence correct in my case (1-disk RAID linear):
> >
> >   - stop device;
> >   - 'dd' 4k RAID superblock from /dev/sda2 at offset 292021440;
> >   - change 4-byte field at offset 11 (md_minor) to the desired number
> >     (say '5' for md5);
> >   - copy superblock back;
> >   - reboot;
>
> Sort of, but it is much easier to get mdadm to do this.
> Get mdadm 1.2.0 and check out
>    --assemble --update=super-minor
>
> in the documentation.

  thank you, worked fine.

  Cheers,
    Alexander.

-
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

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux