3 # This is an optional helper script that is automatically called by libzfs
4 # before a disk is about to be added into the pool. It can be modified by
5 # the user to run whatever commands are necessary to prepare a disk for
6 # inclusion into the pool. For example, users can add lines to this
7 # script to do things like update the drive's firmware or check the drive's
8 # health. The script is optional and can be removed if it is not needed.
10 # See the zfs_prepare_disk(8) man page for details.
14 # echo "Prepare disk $VDEV_PATH ($VDEV_UPATH) for $VDEV_PREPARE in $POOL_NAME"