Re: How to rename MD device (e.g. md3 -> md2)?

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

 



On Mon, Apr 7, 2008 at 8:48 AM, Zlatko Calusic <zlatko.calusic@xxxxxxxx> wrote:
> Hello list!
>
>  Does anybody know what would be the fastest way to rename MD device
>  (without recreating/resyncing)? I have md0, md1 and md3 in system (don't
>  ask :)), and obviously it would look slightly nicer if that md3 was
>  called md2 instead, like I have on other machines (with all the same
>  setup, except this small difference). Is it possible?
>

Sure, you should just be able to do:

mdadm --stop /dev/md3
mdadm --assemble /dev/md2 <insert component devices here>

--
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
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