45Drives / cockpit-zfs-manager

Cockpit ZFS Manager is an interactive ZFS on Linux admin package for Cockpit.
GNU Lesser General Public License v3.0
314 stars 26 forks source link

Unable to add dev by ata-label - problem for SATA SSDs #26

Open danielwdlh opened 1 year ago

danielwdlh commented 1 year ago

Most SATA SSDs have either bad or no WWN to add. Adding by /dev/sdX can result in a massive problem if the linux drive lettering changes on reboot Additionally, if a device fails enough to be "removed" it is no longer possible to look up the dev SN from the pool/by correlating WWN to SN

Cockpit doesn't offer devices by the "ata label" even though they are (at least under linux) in the same /dev/disk/by-id/ folder as the WWN IDs.