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


Groups > linux.debian.user > #274885

Re: The "uniqueness" of UUIDs

From Arno Lehmann <al@its-lehmann.de>
Newsgroups linux.debian.user
Subject Re: The "uniqueness" of UUIDs
Date 2024-11-26 09:30 +0100
Message-ID <JMZ7j-bIp0-7@gated-at.bofh.it> (permalink)
References <JMJlT-buwd-3@gated-at.bofh.it> <JMRW9-bAG5-1@gated-at.bofh.it> <JMYEh-bHZp-9@gated-at.bofh.it>
Organization IT-Service Arno Lehmann

Show all headers | View raw


Hi Roger,

Am 26.11.2024 um 08:51 schrieb Roger Price:
> On Tue, 26 Nov 2024, George at Clug wrote:
> 
>> "$ lsblk -f" output is very nice !   Thanks.
> 
> I tried this and noticed UUID duplication in the output.  Here is part 
> of what I saw:
> 
> NAME    FSTYPE            FSVER LABEL          
> UUID                                 FSAVAIL FSUSE% MOUNTPOINT
> ...
> sdg
> ... ├─sdg6  linux_raid_member 1.0   10.218.0.100:3 
> f5e37a29-357a-e3f2-c731-e29eddce5e91 │ └─md3 ext4              
> 1.0                  39c24711-ab43-497c-bf3e-12b4032575ac  758.4G     7% 
> /mnt/home
> ...
> sdh
> ... ├─sdh6  linux_raid_member 1.0   10.218.0.100:3 
> f5e37a29-357a-e3f2-c731-e29eddce5e91 │ └─md3 ext4              
> 1.0                  39c24711-ab43-497c-bf3e-12b4032575ac  758.4G     7% 
> /mnt/home
> 
> UUID sdg6 = UUID sdh6 !  If I wanted to retire /dev/sdg6 from the Raid 
> array, I would not be able to use the UUID, only the unique SDxn.
> 
> Aren't UUIDs supposed to be unique?  Roger

The UUID reported might be the one of the file system. As the lsblk 
output is truncated I can not really guess the context of those lines; 
in all cases I checked here, non-unique UUIDs show up on components that 
are reported several times (i.e., file systems backed by several backed 
by several partitions that are members of one RAID array). If you want 
to have a list of all things with their UUIDs in a less ambigous view, 
try blkid.

Cheers,

Arno

-- 
Arno Lehmann

IT-Service Lehmann
Sandstr. 6, 49080 Osnabrück

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


Thread

Re: Adding a new boot disk while keeping old disk George at Clug <Clug@goproject.info> - 2024-11-25 08:30 +0100
  Re: Adding a new boot disk while keeping old disk eben@gmx.us - 2024-11-25 16:10 +0100
    Re: Adding a new boot disk while keeping old disk David Wright <deblis@lionunicorn.co.uk> - 2024-11-25 16:30 +0100
      Re: Adding a new boot disk while keeping old disk Felix Miata <mrmazda@stanis.net> - 2024-11-25 16:40 +0100
        Re: Adding a new boot disk while keeping old disk George at Clug <Clug@goproject.info> - 2024-11-26 01:50 +0100
          The "uniqueness" of UUIDs Roger Price <debian@rogerprice.org> - 2024-11-26 09:00 +0100
            Re: The "uniqueness" of UUIDs Nicolas George <george@nsup.org> - 2024-11-26 09:10 +0100
              Re: The "uniqueness" of UUIDs Nicolas George <george@nsup.org> - 2024-11-26 09:40 +0100
              Re: The "uniqueness" of UUIDs Roger Price <debian@rogerprice.org> - 2024-11-26 09:50 +0100
            Re: The "uniqueness" of UUIDs Felix Miata <mrmazda@stanis.net> - 2024-11-26 09:30 +0100
              Re: The "uniqueness" of UUIDs Roger Price <debian@rogerprice.org> - 2024-11-26 10:00 +0100
                Re: The "uniqueness" of UUIDs Nicolas George <george@nsup.org> - 2024-11-26 10:10 +0100
                Re: The "uniqueness" of UUIDs Roger Price <debian@rogerprice.org> - 2024-11-26 12:20 +0100
                Re: The "uniqueness" of UUIDs <tomas@tuxteam.de> - 2024-11-26 12:40 +0100
                Re: The "uniqueness" of UUIDs Nicolas George <george@nsup.org> - 2024-11-26 12:40 +0100
                Re: The "uniqueness" of UUIDs <tomas@tuxteam.de> - 2024-11-26 10:30 +0100
                Re: The "uniqueness" of UUIDs Nicolas George <george@nsup.org> - 2024-11-26 11:00 +0100
                Re: The "uniqueness" of UUIDs Felix Miata <mrmazda@stanis.net> - 2024-11-26 15:00 +0100
                Re: The "uniqueness" of UUIDs <tomas@tuxteam.de> - 2024-11-26 16:00 +0100
                Re: The "uniqueness" of UUIDs Roger Price <debian@rogerprice.org> - 2024-11-26 16:40 +0100
                Re: The "uniqueness" of UUIDs <tomas@tuxteam.de> - 2024-11-26 18:50 +0100
                Re: The "uniqueness" of UUIDs Michael Stone <mstone@debian.org> - 2024-11-27 18:00 +0100
                Re: The "uniqueness" of UUIDs Roger Price <debian@rogerprice.org> - 2024-11-26 16:00 +0100
            Re: The "uniqueness" of UUIDs Arno Lehmann <al@its-lehmann.de> - 2024-11-26 09:30 +0100
              Re: The "uniqueness" of UUIDs Arno Lehmann <al@its-lehmann.de> - 2024-11-26 10:50 +0100
            Re: The "uniqueness" of UUIDs <tomas@tuxteam.de> - 2024-11-26 09:50 +0100
            Re: The "uniqueness" of UUIDs pocket@homemail.com - 2024-11-26 13:20 +0100
      Re: Adding a new boot disk while keeping old disk eben@gmx.us - 2024-11-25 18:30 +0100
        Re: Adding a new boot disk while keeping old disk Hans <hans.ullrich@loop.de> - 2024-11-25 21:00 +0100
    Re: Adding a new boot disk while keeping old disk <tomas@tuxteam.de> - 2024-11-25 18:00 +0100
      Re: Adding a new boot disk while keeping old disk Default User <hunguponcontent@gmail.com> - 2024-11-25 18:40 +0100
        Re: Adding a new boot disk while keeping old disk <tomas@tuxteam.de> - 2024-11-25 19:00 +0100
          Re: Adding a new boot disk while keeping old disk Default User <hunguponcontent@gmail.com> - 2024-11-25 20:10 +0100
        Re: Adding a new boot disk while keeping old disk eben@gmx.us - 2024-11-25 23:40 +0100
          Re: Adding a new boot disk while keeping old disk Greg Wooledge <greg@wooledge.org> - 2024-11-26 00:00 +0100
            Re: Adding a new boot disk while keeping old disk Felix Miata <mrmazda@stanis.net> - 2024-11-26 00:30 +0100
      Re: Adding a new boot disk while keeping old disk Max Nikulin <manikulin@gmail.com> - 2024-11-26 03:40 +0100

csiph-web