Whamcloud - gitweb
LU-7134 utils: Ensure hostid set for ZFS during mkfs 11/16611/12
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Tue, 15 Sep 2015 19:26:53 +0000 (15:26 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 31 May 2016 04:55:34 +0000 (04:55 +0000)
Ensure import protection in ZFS.  spl_hostid must be set to a
non-zero value for it to work correctly.  Error out during mkfs and
tunefs unless override is passed.  Also print error during mount.

Ensure hostid is set in conf-sanity.sh

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Change-Id: If37318c20e4502a643992e6bc21ac4bc4ad20ed7
Reviewed-on: http://review.whamcloud.com/16611
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>

No differences found