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


Groups > linux.debian.user > #188859

Re: Talking about RAID - disks with same id

From deloptes <deloptes@gmail.com>
Newsgroups linux.debian.user
Subject Re: Talking about RAID - disks with same id
Date 2017-11-10 20:50 +0100
Message-ID <uKntn-7Bp-5@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> <uKkYy-6dO-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Joe Pfeiffer wrote:

> It's my understanding that PTUUID on a disk using an MBR corresponds to
> the UUID on a disk using a GPT, not to PARTUUID (I don't know what on an
> MBR-based disk would correspond to PARTUUID, if anything).

# blkid /dev/sdf1
/dev/sdf1: UUID="5427071b-25c8-fff8-476d-ff8c9852b714"
TYPE="linux_raid_member" PARTUUID="13e17ac7-01"
# blkid /dev/sdg1
/dev/sdg1: UUID="5427071b-25c8-fff8-476d-ff8c9852b714"
TYPE="linux_raid_member" PARTUUID="13e17ac7-01"

# blkid /dev/sdf
/dev/sdf: PTUUID="13e17ac7" PTTYPE="dos"
                  ^^^^^^^^
# blkid /dev/sdg
/dev/sdg: PTUUID="13e17ac7" PTTYPE="dos"
                  ^^^^^^^^

Correct and exactly this is the subject of my concern. What blkid is
reporting for the disk matches (correctly) to the PARTUUID - which as it
looks like tells us which partition it is.

I can't believe that this blkid library might be used in raid as if you read
the description it can easily report identical IDs.

Might be really worth examining the code - the last thing I wanted to do
now. Perhaps I ask on the kernel list.

thanks and regards

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