Hi all,
I’m operating truenas scale in version 25.04.2.4.
The storage consists of two pools with 2 disks each (mirrored).
I started expanding one of the pools with larger disks.
First I identified physically one of the disks which I
wanted to replace, set the disk offline via UI, replaced
the disk phyically and choosed replace via UI. Afterwards
I selected the new disk on UI and the resilvering process
started. Everything worked fine. After resilvering the pool
was healthy and I could see the larger disk part of the pool.
Next I tried the same with the second disk. I set the disk
offline, replaced the disk phyically and choosed replace via UI.
When I wanted to select the new disk a warning concerning
non-unique UUID was displayed. At this point I revoked the
last step, changed to the original, smaller disk and select
replace again. Resilvering started and at the end the pool was healthy
agein.
Unfortunately the UI does not display any details regarding the
new larger disk. Based on my analysis the reason is a duplicated UUI.
Output of blkid shows sdb1 and sdc1 with same UUID:
/dev/nvme0n1p1: UUID=“40f61bcd-a02d-2228-45a9-686b522947ca” UUID_SUB=“39d38ada-c514-6dee-3ca5-9a256c8267ca” LABEL=“swap0” TYPE=“linux_raid_member” PARTUUID=“1ed1519a-c720-11ee-93b3-88aedd62586a”
/dev/nvme0n1p2: LABEL=“trinity” UUID=“11643818934709794297” UUID_SUB=“11451933904279219078” BLOCK_SIZE=“4096” TYPE=“zfs_member” PARTUUID=“1ed360dd-c720-11ee-93b3-88aedd62586a”
/dev/sdd2: LABEL=“trinity” UUID=“11643818934709794297” UUID_SUB=“2182835241038982062” BLOCK_SIZE=“4096” TYPE=“zfs_member” PARTUUID=“1ef83b64-c720-11ee-93b3-88aedd62586a”
/dev/sdd1: UUID=“40f61bcd-a02d-2228-45a9-686b522947ca” UUID_SUB=“12ffbd28-b2bf-50af-b2c7-5a74ab249419” LABEL=“swap0” TYPE=“linux_raid_member” PARTUUID=“1eee1262-c720-11ee-93b3-88aedd62586a”
/dev/sdb1: LABEL=“tank” UUID=“7761288668386995723” UUID_SUB=“2715332628864299639” BLOCK_SIZE=“4096” TYPE=“zfs_member” PARTUUID=“779d6600-9dea-4620-b040-79483ba3410c”
/dev/sde2: LABEL=“boot-pool” UUID=“12807414265011617825” UUID_SUB=“12652929424197985790” BLOCK_SIZE=“4096” TYPE=“zfs_member” PARTUUID=“cb03ca45-c20d-11ee-9728-88aedd62586a”
/dev/sde1: SEC_TYPE=“msdos” UUID=“55B0-1C22” BLOCK_SIZE=“512” TYPE=“vfat” PARTUUID=“c9436136-c20d-11ee-9728-88aedd62586a”
/dev/sdc1: LABEL=“tank” UUID=“7761288668386995723” UUID_SUB=“10686244524266483011” BLOCK_SIZE=“4096” TYPE=“zfs_member” PARTUUID=“332b2d01-9142-4c04-be43-96d85d5da447”
ls -al /dev/disk/by-uuid/ shows that sdc1 is hidden:
total 0
drwxr-xr-x 2 root root 120 Mar 23 13:17 .
drwxr-xr-x 8 root root 160 Mar 23 13:16 ..
lrwxrwxrwx 1 root root 10 Mar 23 13:17 11643818934709794297 → ../../sdd2
lrwxrwxrwx 1 root root 10 Mar 23 13:16 12807414265011617825 → ../../sde2
lrwxrwxrwx 1 root root 10 Mar 23 13:16 55B0-1C22 → ../../sde1
lrwxrwxrwx 1 root root 10 Mar 23 13:17 7761288668386995723 → ../../sdb1
Does anybody have a recommendation for me what could be done in order to get disk sdb1 and sdc1 with different UUIDs?