[LU-8694] ZFS format fails when /etc/hostid is set or unset. Created: 11/Oct/16 Updated: 13/Jul/17 Resolved: 25/Oct/16 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.9.0 |
| Fix Version/s: | Lustre 2.9.0 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Cliff White (Inactive) | Assignee: | Nathaniel Clark |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||
| Severity: | 3 | ||||||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||||||
| Description |
|
Attempting to format ZFS OSTs we see the following error: We attempt to set hostid by using /sbin/genhostid, we confirm the ID exists, same failure. We attempt to set hostid by /usr/bin/hostid, confirm the ID exists, same failure |
| Comments |
| Comment by Peter Jones [ 11/Oct/16 ] |
|
Nathaniel Can you please help improve the docs here? Peter |
| Comment by Cliff White (Inactive) [ 11/Oct/16 ] |
|
The fix is simple - reload the SPL module after creating /etc/hostid. Nathaniel will be updating the documents. We are able to format now. |
| Comment by Andreas Dilger [ 11/Oct/16 ] |
|
This mostly means that we should change the mkfs.lustre message to indicate the spl.ko module needs to be reloaded (or better yet, try to unload it and reload it internally once), and improve the mkfs.lustre.8 man page to prefer running genhostid over spl.ko module parameters, and indicate that the spl.ko module needs to be reloaded after generating a new hostid. |
| Comment by Gerrit Updater [ 12/Oct/16 ] |
|
Nathaniel Clark (nathaniel.l.clark@intel.com) uploaded a new patch: http://review.whamcloud.com/23118 |
| Comment by Gerrit Updater [ 25/Oct/16 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/23118/ |
| Comment by Peter Jones [ 25/Oct/16 ] |
|
Landed for 2.9 |
| Comment by Abe [ 07/Jul/17 ] |
|
Hi All, mkfs.lustre --reformat --mdt --mgs --servicenode= 211@o2ib --backfstype=zfs --fsname=tempAA --index=0 mgs/mdt Permanent disk data: mkfs.lustre FATAL: spl_hostid not set. See mkfs.lustre(8) can someone share the detail workaround for this ? thanks, |
| Comment by Andreas Dilger [ 13/Jul/17 ] |
|
Abe, I think there was another update in this area: http://review.whamcloud.com/23804 " |