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" 
PARTUUID="000871f1-06"

# blkid /dev/sdh6
/dev/sdh6: UUID="f5e37a29-357a-e3f2-c731-e29eddce5e91"
           UUID_SUB="7821cc06-e7f5-358b-cf95-fb0ec2f34585"
           LABEL="10.218.0.100:3" TYPE="linux_raid_member" 
PARTUUID="0000b24f-06"

# blkid /dev/md0
/dev/md0: UUID="8a31b513-cd62-4639-b5e5-3a8f8879164f" BLOCK_SIZE="4096"
          TYPE="ext4"

The UUIDs are the same for sdg6 and sdh6 but there is a UUID_SUB to distinguish them. blkid sees a new value for md0's UUID, not the same as lsblk.

Roger

Reply via email to