Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #188909

Re: Talking about RAID - disks with same id

From Pascal Hambourg <pascal@plouf.fr.eu.org>
Newsgroups linux.debian.user
Subject Re: Talking about RAID - disks with same id
Date 2017-11-12 17:00 +0100
Message-ID <uL2PT-27l-1@gated-at.bofh.it> (permalink)
References <uJGop-4j2-5@gated-at.bofh.it> <uK3XH-2Vo-1@gated-at.bofh.it> <uKcHD-J9-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Le 10/11/2017 à 09:12, deloptes a écrit :
> 
> Joe Pfeiffer wrote:
>>
>> Here's what I see when I look at my RAID disks:
>>
>> /dev/sda2: UUID="67d3c233-96a0-737c-5f88-ed9b936ea3ae"
>> UUID_SUB="48b56869-6f19-21b9-283f-3eee3ac90cf8" LABEL="snowball:1"
>> TYPE="linux_raid_member" PARTUUID="3bb3729a-528b-4384-b6a5-b6d9e148ed2a"
>> /dev/sdb2: UUID="67d3c233-96a0-737c-5f88-ed9b936ea3ae"
>> UUID_SUB="1f48f805-4173-78cd-1f52-957920f66335" LABEL="snowball:1"
>> TYPE="linux_raid_member" PARTUUID="1bdd3893-9346-49d2-8292-a61075ad0c5e"
> 
> you see in your case PARTUUID is different for both members. In my case it
> is identical and this is what is bothering me
> 
>> and here's the relevant line in my /etc/mdadm/mdadm.conf
>> ARRAY /dev/md/1  metadata=1.2 UUID=67d3c233:96a0737c:5f88ed9b:936ea3ae
>> name=snowball:1
> 
> It looks like the new style raid

Indeed, superblock format 1.x. In addition to the "array UUID" which is 
common to all members of the array, it adds a specific "device UUID" for 
each member. blkid labels it "UUID_SUB".

> However this raid was created ~12y ago without metadata.

I don't think so. If the array was created without metadata, blkid would 
not report the members as TYPE="linux_raid_member". It was rather 
probably created with the old metadata format 0.90. You can check with

mdadm --examine /dev/sd[fg]1

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-08 22:50 +0100
  Re: Talking about RAID - disks with same id David Christensen <dpchrist@holgerdanske.com> - 2017-11-08 23:40 +0100
    Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-09 08:20 +0100
      Re: Talking about RAID - disks with same id David Christensen <dpchrist@holgerdanske.com> - 2017-11-09 19:20 +0100
        Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-09 22:10 +0100
          Re: Talking about RAID - disks with same id David Christensen <dpchrist@holgerdanske.com> - 2017-11-09 23:50 +0100
  Re: Talking about RAID - disks with same id Tobx <net@tobx.de> - 2017-11-09 10:40 +0100
    Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-09 22:20 +0100
  Re: Talking about RAID - disks with same id Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2017-11-10 00:00 +0100
    Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-10 09:20 +0100
      Re: Talking about RAID - disks with same id Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2017-11-10 18:10 +0100
        Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-10 20:50 +0100
        Re: Talking about RAID - disks with same id Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-11-12 17:20 +0100
      Re: Talking about RAID - disks with same id David Christensen <dpchrist@holgerdanske.com> - 2017-11-10 21:10 +0100
        Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-10 23:30 +0100
      Re: Talking about RAID - disks with same id Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-11-12 17:00 +0100
        Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-12 18:00 +0100
          Re: Talking about RAID - disks with same id Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-11-12 19:50 +0100
            Re: Talking about RAID - disks with same id deloptes <deloptes@gmail.com> - 2017-11-12 20:20 +0100

csiph-web