Completely discontinuing an array

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

 



Since I have been doing a lot of array creation related to the RAID-5 performance thread, I want to make the array "go away" so nothing tries to start, stop, or otherwise use the array. I tried setting the superblock to zero, but that results in boot warnings for every partition. I can change the partition type to something other than RAID, but that rapidly gets ugly since I really want some partitions around for ad-hoc testing.

Is there something which will stop an array and dismember it? Like:
 mdadm -S --nuke /dev/md5
or similar, to stop the array and mark it as not in use so boot won't try doing anything with it.

If there isn't such a feature, or an easy way to get the desired end result, could you consider that a minor feature request? Preferably an option to stopping the array, perhaps a magic superblock other than zero, to tell the boot "I know it's dead, deal with it."

--
bill davidsen <davidsen@xxxxxxx>
 CTO TMR Associates, Inc
 Doing interesting things with small computers since 1979

-
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