OtherJohnGray / reflectron

A configuration management tool for building Root-on-ZFS test systems and mirroring them to production
GNU Affero General Public License v3.0
0 stars 0 forks source link

DiskId should fall back to wwn if vendor/serial unavailable #11

Open OtherJohnGray opened 3 weeks ago

OtherJohnGray commented 3 weeks ago

If ID_SERIAL is unavailable or doesn't match DEVPATHS then attempt to generate id using wwn instead. Perhaps in extremis use sdN or pci path?

OtherJohnGray commented 2 weeks ago

Actually it doesn't need to match, since vdevs will be specified by part label. Just fall back to generating from vendor/model/serial