Re: Why does md3 persist after deleting and recreating the partitions?

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

 



On 31 December 2010 00:14, Mark Knecht <markknecht@xxxxxxxxx> wrote:
> On Thu, Dec 30, 2010 at 4:12 PM, Mathias BurÃn <mathias.buren@xxxxxxxxx> wrote:
>> On 31 December 2010 00:10, Mark Knecht <markknecht@xxxxxxxxx> wrote:
>>> Hi,
>>> Â What am I forgetting to do? I had a RAID1 using sd{a,b,c}3. I
>>> stopped md3, removed the md3 line in /etc/mdadm.conf, deleted the
>>> partitions using fdisk, and then created 5 new partitions using
>>> sd{a,b,c,d,e}3 to get ready to do a 5 disk RAID6. The new partitions
>>> are the same size as the old ones and located at the same sector
>>> addresses.
>>>
>>> Â After rebooting, but before creating the new RAID6, I still see md3:
>>>
>>> mark@c2stable ~ $ cat /proc/mdstat
>>> Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4]
>>> md6 : active raid1 sdb6[1] sdc6[2] sda6[0]
>>> Â Â Â247416933 blocks super 1.1 [3/3] [UUU]
>>>
>>> md3 : active raid1 sdc3[2] sdb3[1] sda3[0]
>>> Â Â Â52436096 blocks [3/3] [UUU]
>>>
>>> md5 : active raid1 sdc5[2] sdb5[1] sda5[0]
>>> Â Â Â52436032 blocks [3/3] [UUU]
>>>
>>> unused devices: <none>
>>> mark@c2stable ~ $
>>>
>>>
>>> Â What am I doing wrong or forgetting? I would like md3 to be totally
>>> gone before I create a new md3 in it's place.
>>>
>>> Thanks,
>>> Mark
>>> --
>>> 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
>>>
>>
>> Erase the superblocks? Recreating partitions doesn't (usually) affect
>> the data on the HDDs.
>>
>> // M
>>
>
> Is erasing the superblocks a mdadm operation? I've not heard of that one before.
>
> Thanks,
> Mark
>

Yes, see mdadm --misc. Like:

mdadm --zero-superblock <device>

// M
--
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