Re: The "uniqueness" of UUIDs

2024-11-27 Thread Michael Stone
On Tue, Nov 26, 2024 at 04:35:13PM +0100, Roger Price wrote: My understanding is that a Linux file system is a hierachical structure starting with the root directory (/) which organises the directories and files. The files are stored on various devices which have identities such as /dev/sdxn,

Re: The "uniqueness" of UUIDs

2024-11-26 Thread tomas
On Tue, Nov 26, 2024 at 04:35:13PM +0100, Roger Price wrote: > On Tue, 26 Nov 2024, to...@tuxteam.de wrote: > > > On Tue, Nov 26, 2024 at 03:53:28PM +0100, Roger Price wrote: > > > "except via mdadm" : exactly the point I would like to make. mdadm needs > > > to > > > be able to address the indi

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Roger Price
On Tue, 26 Nov 2024, to...@tuxteam.de wrote: On Tue, Nov 26, 2024 at 03:53:28PM +0100, Roger Price wrote: "except via mdadm" : exactly the point I would like to make. mdadm needs to be able to address the individual underlying devices. Only /dev/sdxn style addressing can do this, not duplicat

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Andy Smith
Hi, On Tue, Nov 26, 2024 at 09:11:58AM +0100, Roger Price wrote: > 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. I attach a small > text file which shows what I saw. UUID sdg6 = UUID sdh6

Re: The "uniqueness" of UUIDs

2024-11-26 Thread tomas
On Tue, Nov 26, 2024 at 03:53:28PM +0100, Roger Price wrote: > On Tue, 26 Nov 2024, Felix Miata wrote: > > > > The use of LABELs is attractive, but I notice you have the same label for > > > sda5 > > > and sdb5. This means you cannot intervene on "msi85:0tmp". You have to > > > specify > > > s

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Roger Price
On Tue, 26 Nov 2024, Felix Miata wrote: The use of LABELs is attractive, but I notice you have the same label for sda5 and sdb5. This means you cannot intervene on "msi85:0tmp". You have to specify sda5 or sdb5. Not at all. hr18md0tmp is an ext4 filesystem LABEL. I wouldn't want to disturb

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Felix Miata
Roger Price composed on 2024-11-26 03:57 (UTC-0500): > Felix Miata wrote: >> 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

Re: The "uniqueness" of UUIDs

2024-11-26 Thread pocket
> Sent: Tuesday, November 26, 2024 at 2:51 AM > From: "Roger Price" > To: "debian-user Mailing List" > Subject: The "uniqueness" of UUIDs > > On Tue, 26 Nov 2024, George at Clug wrote: > > > "$ lsblk -f" output is very nic

Re: The "uniqueness" of UUIDs

2024-11-26 Thread tomas
On Tue, Nov 26, 2024 at 12:16:59PM +0100, Roger Price wrote: > On Tue, 26 Nov 2024, Nicolas George wrote: > > > Roger Price (12024-11-26): > > > You have to specify sda5 or sdb5. > > There is nothing wrong with having to specify sda5 or sdb5. > > Indeed, and it's the only way for Raid specificati

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Nicolas George
Roger Price (12024-11-26): > I'm guessing that this feature is something systemd has given us. Your hate is making you guess wrong. -- Nicolas George

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Roger Price
On Tue, 26 Nov 2024, Nicolas George wrote: Roger Price (12024-11-26): You have to specify sda5 or sdb5. There is nothing wrong with having to specify sda5 or sdb5. Indeed, and it's the only way for Raid specification. For example /proc/mdstat contains no mention of device UUIDs. It is o

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Nicolas George
to...@tuxteam.de (12024-11-26): > The UUID is in a slot of the /file system/. Not only. There is an UUID in the header of swap partitions (and files). Swap is not a file system. There is an UUID in the header of LVM physical volumes. PVs are not filesystems. > Of course, if the RAID system allo

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Arno Lehmann
Hi again, Am 26.11.2024 um 09:24 schrieb Arno Lehmann: 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: ...

Re: The "uniqueness" of UUIDs

2024-11-26 Thread George at Clug
On Tuesday, 26-11-2024 at 20:08 Roger Price wrote: > On Tue, 26 Nov 2024, Hans wrote: > > > What about juste enter blkid as root? > > Will also give UUID and Label. > > # blkid /dev/sdg6 > /dev/sdg6: UUID="f5e37a29-357a-e3f2-c731-e29eddce5e91" > UUID_SUB="8ae02b9d-d818-1d8a-88f6-5c

Re: The "uniqueness" of UUIDs

2024-11-26 Thread tomas
On Tue, Nov 26, 2024 at 09:57:59AM +0100, Roger Price wrote: > On Tue, 26 Nov 2024, Felix Miata wrote: > > > 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 'r

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Roger Price
On Tue, 26 Nov 2024, Hans wrote: What about juste enter blkid as root? Will also give UUID and Label. # blkid /dev/sdg6 /dev/sdg6: UUID="f5e37a29-357a-e3f2-c731-e29eddce5e91" UUID_SUB="8ae02b9d-d818-1d8a-88f6-5cb77b15d0eb" LABEL="10.218.0.100:3" TYPE="linux_raid_member"

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Nicolas George
Roger Price (12024-11-26): > You have > to specify sda5 or sdb5. There is nothing wrong with having to specify sda5 or sdb5. It is only a problem if you want to specify now and expect it to be still valid after the next reboot. Re

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Roger Price
On Tue, 26 Nov 2024, Felix Miata wrote: 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 FSTYPEFSVER LABEL UUID FSAVAIL FSUSE%

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Hans
Am Dienstag, 26. November 2024, 09:11:58 CET schrieb Roger Price: What about juste enter blkid as root? Will also give UUID and Label. Best Hans > Sorry, the formatting was messed up and the message unreadable. > > On Tue, 26 Nov 2024, George at Clug wrote: > > "$ lsblk -f" output is ver

Re: The "uniqueness" of UUIDs

2024-11-26 Thread tomas
On Tue, Nov 26, 2024 at 08:51:21AM +0100, Roger Price wrote: [...] > Aren't UUIDs supposed to be unique? Roger Not if someone copies them, not. They are numbers. There's no magic. Cheers -- t signature.asc Description: PGP signature

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Roger Price
On Tue, 26 Nov 2024, Nicolas George wrote: Roger Price (12024-11-26): UUID sdg6 = UUID sdh6 ! Aren't UUIDs supposed to be unique? Yes, they are: somebody did something wrong on your suystem. Odds it was you. It sure was not me :-Þ When did you add the most recent of these drives? How did you

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Nicolas George
Nicolas George (12024-11-26): > Yes, they are: somebody did something wrong on your suystem. Odds it was > you. It sure was not me :-Þ > > When did you add the most recent of these drives? How did you add it? My bad, I read the output on my system incorrectly. Forget these two paragraphs please.

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Arno Lehmann
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 

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Felix Miata
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: > NAMEFSTYPEFSVER LABEL UUI

The "uniqueness" of UUIDs

2024-11-26 Thread Roger Price
Sorry, the formatting was messed up and the message unreadable. 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. I attach a small text file which shows what I saw. UUID sdg6 = UUID sdh6 ! NAME

Re: The "uniqueness" of UUIDs

2024-11-26 Thread Nicolas George
Roger Price (12024-11-26): > 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. UUIDs are important if you want the system to choose the right drive with nu human supervision. Do you often retire drives from a

The "uniqueness" of UUIDs

2024-11-25 Thread 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: NAMEFSTYPEFSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT ... sd