Solved UUID

Use gpart(8), for example gpart show -r.
I notice that these IDs are the same for each drive. :(
And then man gpart shows that these are not UUIDs:

Code:
     show          Show current partition information for the specified geoms,
                   or all geoms if none are specified.  The default output
                   includes the logical starting block of each partition, the
                   partition size in blocks, the partition index number, the
                   partition type, and a human readable partition size.  Block
                   sizes and locations are based on the device's Sectorsize as
                   shown by gpart list.  Additional options include:

                   -l          For partitioning schemes that support partition
                               labels, print them instead of partition type.

                   -p          Show provider names instead of partition
                               indexes.

                   -r          Show raw partition type instead of symbolic
                               name.
 
The disks can be explicitly labeled using easy to read labels or uuids.
Try geom list (look at Name). Also, the paths /dev/gpt and /dev/gptid might be of interest.
 
The disks can be explicitly labeled using easy to read labels or uuids.
Try geom list (look at Name). Also, the paths /dev/gpt and /dev/gptid might be of interest.
I don't find /dev/gptid.
And /dev/gpt shows less information than gpart show -l, as the currently imported ZFS devices are not shown there.
Furthermore, it looks to me as if the devices listed there are consecutively numbered, so that swapping them between different ports of the controller probably will also change their numbers.
This still does not help much. One would have to religiously name each and every item by hand (don't know whether this is possible at all, especially post-install), instead of having done that automatically like on other OSes.
Imho this is a clear shortcoming of FreeBSD (but far not relevant enough to switch to other OSes).
 
Back
Top