summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2016-04-20 10:17:01 -0700
committerBrian Behlendorf <[email protected]>2016-04-25 11:13:26 -0700
commit325414e483a7858c1d10fb30cefe5749207098f4 (patch)
tree2a89b9bf55595010ce8c1742644bf3f0b38848c5 /cmd
parentb8faf0cba87f90126e591d354945c79e7e7e3c6e (diff)
Fix 'zpool import' blkid device names
When importing a pool using the blkid cache only the device node path was added to the list of known paths for a device. This results in 'zpool import' always using the sdX names in preference to the 'path' name stored in the label. To fix the issue the blkid import path has been updated to add both the 'path', 'devid', and 'devname' names from the label to the known paths. A sanity check is done to ensure these paths do refer to the same device identified by blkid. Signed-off-by: Brian Behlendorf <[email protected]> Signed-off-by: Tony Hutter <[email protected]> Closes #4523 Closes #3043
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions