I have a networked drive being served over SMB which is regularly accessed from my Macbook Air. The problem is that it spins up even after my Macbook Air has had its lid closed and has been sleeping for 10 hours, with no other networked devices accessing it. My goal is to not have the networked drive spin up unnecessarily.
sudo lsof | grep " /media" on the server tells me that the only process using the drive is
smbd, i.e. the Samba SMB daemon. As soon as I properly power the Macbook off, there are no longer any open file handles for the drive.
Powernap is disabled both with and without power plugged in, so that didn't solve it.
Is there a straightforward way of making macOS leave networked shares alone when it's sleeping?