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


Groups > linux.debian.user > #188833

Re: Talking about RAID - disks with same id

From Joe Pfeiffer <pfeiffer@cs.nmsu.edu>
Newsgroups linux.debian.user
Subject Re: Talking about RAID - disks with same id
Date 2017-11-10 00:00 +0100
Message-ID <uK3XH-2Vo-1@gated-at.bofh.it> (permalink)
References <uJGop-4j2-5@gated-at.bofh.it>
Organization A noiseless patient Spider

Show all headers | View raw


deloptes <deloptes@gmail.com> writes:

> Hi,
> I noticed recently by accident that when I read/write from the oldest raid
> disks I have - only one of the tray leds blinks. Of course the led could be
> damaged, but rather not, so looking into it I found that both disks in
> question return same UUID. So I am concerned now that I don't have any true
> RAID there and that there is very important data on those disks.
>
> How is this possible and how to solve it - I would simply add 3rd 500MB disk
> to the raid and remove one of the others, but still what is the impact of
> this (stupid) coincidence ...
>
> # blkid /dev/sdf
> /dev/sdf: PTUUID="13e17ac7" PTTYPE="dos"
>                   ^^^^^^^^
> # blkid /dev/sdg
> /dev/sdg: PTUUID="13e17ac7" PTTYPE="dos"
>                   ^^^^^^^^
> # blkid /dev/sda
> /dev/sda: PTUUID="4184002e" PTTYPE="dos"
> # blkid /dev/sdb
> /dev/sdb: PTUUID="9570a766" PTTYPE="dos"
> # blkid /dev/sdd
> /dev/sdd: PTUUID="d898a14c" PTTYPE="dos"
> # blkid /dev/sde
> /dev/sde: PTUUID="b6346d5e" PTTYPE="dos"
>
>
> # 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"

This is normal.  It's the identical UUIDs that tell the system that the
partitions go into the same RAID array.

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"

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

But...  if this data is that important, you should be running backups.
RAID is to keep you running if a disk fails, it isn't to keep you from
losing data.

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