HomeFreeBSD

5997 FRU field not set during pool creation and never updated

Description

5997 FRU field not set during pool creation and never updated

illumos/illumos-gate@1437283407f89cab03860accf49408f94559bc34

https://www.illumos.org/issues/5997

ZFS already supports storing the vdev FRU in a vdev property. There is code in
libzfs to work with this property, and there is code in the zfs-retire FMA
module that looks for that information. But there is no code actually setting
or updating the FRU.
To address this, ZFS is changed to send a handful of new events whenever a vdev
is added, attached, cleared, or onlined, as well as when a pool is created or
imported. The syseventd zfs module will handle these and update the FRU field
when necessary.

Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Josef Sipek <josef.sipek@nexenta.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>
Author: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
Porting notes: only the kernel bits for the new events are imported

Details

Provenance
avgAuthored on
Parents
rS287622: Added comment about problems found.
Branches
Unknown
Tags
Unknown