Don Brady
39fc0cb557
Add support for devid and phys_path keys in vdev disk labels
...
This is foundational work for ZED.
Updates a leaf vdev's persistent device strings on Linux platform
* only applies for a dedicated leaf vdev (aka whole disk)
* updated during pool create|add|attach|import
* used for matching device matching during auto-{online,expand,replace}
* stored in a leaf disk config label (i.e. alongside 'path' NVP)
* can opt-out using env var ZFS_VDEV_DEVID_OPT_OUT=YES
Some examples:
path: '/dev/sdb1'
devid: 'scsi-350000394a8ca4fbc-part1'
phys_path: 'pci-0000:04:00.0-sas-0x50000394a8ca4fbf-lun-0'
path: '/dev/mapper/mpatha'
devid: 'dm-uuid-mpath-35000c5006304de3f'
Signed-off-by: Don Brady <don.brady@intel.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2856
Closes #3978
Closes #4416
2016-03-31 13:45:53 -07:00
..
2014-10-31 16:25:34 -07:00
2015-07-13 12:55:26 -07:00
2014-03-20 12:11:57 -07:00
2010-08-31 13:41:27 -07:00
2015-07-24 15:05:33 -07:00
2014-10-17 14:58:38 -07:00
2012-08-24 08:56:38 -07:00
2013-07-08 15:41:57 -07:00
2013-01-10 16:09:39 -08:00
2013-01-10 16:09:39 -08:00
2015-08-18 16:43:04 -07:00
2014-04-10 14:28:38 -07:00
2015-09-25 12:44:54 -07:00
2015-05-11 15:07:00 -07:00
2015-09-04 15:30:24 -04:00
2015-09-04 15:30:24 -04:00
2014-10-17 14:58:38 -07:00
2013-01-10 16:09:39 -08:00
2013-01-10 16:09:39 -08:00
2012-07-26 13:42:57 -07:00
2012-07-17 09:17:31 -07:00
2013-07-08 15:41:57 -07:00
2012-07-26 13:42:57 -07:00
2012-10-03 10:49:45 -07:00
2015-07-17 09:18:16 -07:00
2015-09-04 15:30:24 -04:00
2012-07-26 13:42:57 -07:00
2012-07-26 13:42:57 -07:00
2015-06-22 10:22:49 -07:00
2014-11-17 11:13:55 -08:00
2013-03-04 08:49:17 -08:00
2013-03-04 08:49:17 -08:00
2012-08-07 14:55:31 -07:00
2013-01-10 16:09:39 -08:00
2012-07-23 12:29:23 -07:00
2012-07-17 09:22:43 -07:00
2013-03-04 08:49:17 -08:00
2015-02-10 11:24:51 -08:00
2011-04-19 10:10:47 -07:00
2015-08-31 13:54:39 -07:00
2016-03-21 09:24:34 -07:00
2013-03-04 08:49:17 -08:00
2015-09-09 09:29:24 -07:00
2013-01-10 16:09:39 -08:00
2012-07-26 13:42:57 -07:00
2016-01-20 11:36:00 -08:00
2012-07-26 13:42:57 -07:00
2011-04-19 10:10:47 -07:00
2014-05-01 10:06:49 -07:00
2015-08-24 10:13:25 -07:00
2011-04-19 10:10:47 -07:00
2013-01-28 15:35:00 -08:00
2015-07-17 09:18:16 -07:00
2013-07-02 09:24:43 -07:00
2015-12-01 16:48:08 -08:00
2013-03-04 08:49:17 -08:00
2012-07-26 13:42:57 -07:00
2012-07-26 13:42:57 -07:00
2016-01-20 11:36:00 -08:00
2013-02-24 10:20:28 -08:00
2011-12-16 20:02:52 -08:00
2012-10-14 13:06:48 -07:00
2012-07-20 12:31:45 -07:00
2015-06-17 10:43:13 -07:00
2012-07-23 12:29:32 -07:00
2012-07-26 13:42:57 -07:00
2013-08-15 16:19:07 -07:00
2015-06-18 12:06:59 -07:00
2016-01-20 11:36:56 -08:00
2016-03-21 09:24:34 -07:00
2015-05-18 16:54:36 -07:00
2015-07-17 13:42:51 -07:00
2015-12-07 12:20:43 -08:00
2011-11-08 11:32:04 -08:00
2013-03-18 15:33:17 -07:00
2016-03-21 09:24:34 -07:00
2010-08-31 13:41:27 -07:00
2016-03-16 13:46:16 -07:00
2014-06-11 16:32:57 -07:00
2014-03-20 12:11:57 -07:00
2016-03-16 13:46:16 -07:00
2016-03-09 10:39:22 -08:00
2016-03-31 13:45:53 -07:00
2016-03-18 13:31:11 -07:00
2014-03-31 16:11:13 -07:00
2014-10-28 09:41:14 -07:00
2014-02-05 12:25:30 -08:00
2014-06-11 16:32:57 -07:00
2016-03-18 13:31:11 -07:00
2016-03-31 13:45:53 -07:00
2016-03-21 09:24:34 -07:00
2014-05-29 19:31:50 -07:00