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


Groups > linux.debian.user > #274884

Re: The "uniqueness" of UUIDs

From Felix Miata <mrmazda@stanis.net>
Newsgroups linux.debian.user
Subject Re: The "uniqueness" of UUIDs
Date 2024-11-26 09:30 +0100
Message-ID <JMZ7j-bIp0-1@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 linux.* mail to news gateway

Show all headers | View raw


Roger Price composed on 2024-11-26 08:51 (UTC+0100):

> 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

Members of a raid filesystem have to be seen as an integral part of one filesystem,
a special case. It's another reason I stick to use of LABELs.

# lsblk -f | egrep -A1 'raid|NAME'
NAME         FSTYPE            FSVER LABEL          UUID FSAVAIL FSUSE% MOUNTPOINTS
sda
--
├─sda5       linux_raid_member 1.0   msi85:0tmp     6cb3…
│ └─md0      ext4              1.0   hr18md0tmp     8aea…
├─sda6       linux_raid_member 1.0   msi85:1usrl    f4e4…
│ └─md1      ext4              1.0   hr18md1usrl    c3f3…  934.9M    75% /usr/local
├─sda7       linux_raid_member 1.0   msi85:2srv     b290…
│ └─md2      ext4              1.0   hr18md2srv     7043…    5.9G    23% /srv
├─sda8       linux_raid_member 1.0   msi85:3hom     6594…
│ └─md3      ext4              1.0   hr18md3hom     71bc…   27.8G    59% /home
├─sda9       linux_raid_member 1.0   msi85:4        32c4…
│ └─md4      ext4              1.0   hr18md4        2d7d…   42.7G    79% 
└─sda10      linux_raid_member 1.0   msi85:5iso     7f46…
  └─md5      ext4              1.0   hr18md5iso     05f1…   32.4G    95% /isos
--
├─sdb5       linux_raid_member 1.0   msi85:0tmp     6cb3…
│ └─md0      ext4              1.0   hr18md0tmp     8aea…
├─sdb6       linux_raid_member 1.0   msi85:1usrl    f4e4…
│ └─md1      ext4              1.0   hr18md1usrl    c3f3…  934.9M    75% /usr/local
├─sdb7       linux_raid_member 1.0   msi85:2srv     b290…
│ └─md2      ext4              1.0   hr18md2srv     7043…    5.9G    23% /srv
├─sdb8       linux_raid_member 1.0   msi85:3hom     6594…
│ └─md3      ext4              1.0   hr18md3hom     71bc…   27.8G    59% /home
├─sdb9       linux_raid_member 1.0   msi85:4        32c4…
│ └─md4      ext4              1.0   hr18md4        2d7d…   42.7G    79% 
└─sdb10      linux_raid_member 1.0   msi85:5iso     7f46…
  └─md5      ext4              1.0   hr18md5iso     05f1…   32.4G    95% /isos
#
-- 
Evolution as taught in public schools is, like religion,
	based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

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