mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
abcdc1b9ae
Notable upstream pull request merges: #15243b53077a9e
Add zfs_prepare_disk script for disk firmware install #152982e2a46e0a
Invoke zdb by guid to avoid import errors #15301e5d70f467
ZIL: Avoid dbuf_read() in ztest_get_data() Obtained from: OpenZFS OpenZFS commit:2e2a46e0a5
18 lines
611 B
Bash
Executable file
18 lines
611 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# This is an optional helper script that is automatically called by libzfs
|
|
# before a disk is about to be added into the pool. It can be modified by
|
|
# the user to run whatever commands are necessary to prepare a disk for
|
|
# inclusion into the pool. For example, users can add lines to this
|
|
# script to do things like update the drive's firmware or check the drive's
|
|
# health. The script is optional and can be removed if it is not needed.
|
|
#
|
|
# See the zfs_prepare_disk(8) man page for details.
|
|
#
|
|
# Example:
|
|
#
|
|
# echo "Prepare disk $VDEV_PATH ($VDEV_UPATH) for $VDEV_PREPARE in $POOL_NAME"
|
|
#
|
|
|
|
exit 0
|