[OpenIndiana-discuss] How to let find 'see' .zfs directories
reader at newsguy.com
Thu Mar 20 03:02:38 UTC 2014
Probably some obvious thing going on here but I'm not see how find all
'.zfs' directories under a zfs system hierarchy.
Just running something like
cd /rmh/ (that is 'p2/rmh' in zpool talk)
find . -type d -name 'snapshot'
No hits whatsoever, when I know there are 4-5 under there.
I wanted to setup some homeboy snapshot destroys on the basis of mving
to all .zfs/snapshot directories and using ls -t, sed, zfs snapshot destroy to
get rid of snaps beyond the most recent 8 in the directory
So is something like 'zfs -H -t snapshot -o name' the only way to
ferret out actual addresses of the snaps?
I'd sooner use basic oldschool unix tools if possible
More information about the OpenIndiana-discuss