from ZFS Array cli how to get the latest snapshot for share.
my share name is "test_share" for this share want to check the latest snapshot.
Test-ae0101zfs201:shares test_proj_test/test_share_test snapshots>
from ZFS Array cli how to get the latest snapshot for share.
my share name is "test_share" for this share want to check the latest snapshot.
Test-ae0101zfs201:shares test_proj_test/test_share_test snapshots>
I'm not totally sure what you're asking or the full context, but zfs list -t snap
shows snapshots. They're listed in chronological order, so you can use tail to get the latest one.
zfs list -t snap | grep test_proj/test_share | tail -1