script to identify physical disks not part of a pool?

Hi,
Looks like I need a script that identifies a physical disk that is not part of any currently mounted pool...

Cheers,
Looks like I need a script that identifies a physical disk that is not part of any currently mounted pool...

- Code: Select all
diskutil list | grep ZFS
Cheers,