On Sat, 27 Feb 2016, Andrew McGlashan wrote: > Yes, but can you define RAID devices by UUID or Label?
mdadm RAID devices have their own UUID as well as the UUID of the array that they are part of. > Those drives are not showing via UUID or label here... % sudo mdadm --examine /dev/sda1 /dev/sda1: Magic : a92b4efc Version : 1.2 Feature Map : 0x0 Array UUID : 3e7a6596:51993940:33a49f10:681fdf84 Name : gorgon:0 Creation Time : Fri Aug 12 15:38:29 2011 Raid Level : raid1 Raid Devices : 3 Avail Dev Size : 974824 (476.07 MiB 499.11 MB) Array Size : 487412 (476.07 MiB 499.11 MB) Data Offset : 24 sectors Super Offset : 8 sectors State : clean Device UUID : df717760:f75510d7:a397cbe0:8f516735 Update Time : Sun Feb 7 00:57:11 2016 Checksum : 9f11296b - correct Events : 353 Device Role : Active device 0 Array State : AAA ('A' == active, '.' == missing, 'R' == replacing) For example. mdadm is fully capable of scanning available devices to find the ones with the right Array UUID and Device UUIDs. -- Don Armstrong http://www.donarmstrong.com Junkies were all knitted together in a loose global macrame, the intercontinental freemasonry of narcotics. -- Bruce Sterling, _Holy Fire_ p257