#Volume Create Time

1 messages · Page 1 of 1 (latest)

urban totem
#

Hi All,
Is there a way I can find the list of volume created after certain date , lets suppose I need to collect the volume created after May 1 2025.
Explored the 'vol show -field create-time' but could n't find it"
Thanks

empty charm
#

volume show -create-time >"08/20/2025 00:00:00"

#

important: you need to specify the full date+time and there must not be a space between the > and the date/time

#

for relative dates (e.g. "all volumes from the last 60 days") you can use volume show -create-time >60d (d=days, h= hours, m=minutes)

primal sand
#

You will need to be in advanced mode to expose the '''create time''' option.

set adv -c of;vol show -create-time >60d;set adm -c on
empty charm
#

not really. it works fine in admin mode

#
cl1::> set admin

cl1::> volume show -create-time >1d
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
demosvm   demosvm_root n2_aggrSATA4T
                                    online     RW          1GB    971.0MB    0%
...
primal sand
#

Interesting... Does not work for me in admin mode. I'm on 9.15.1p3. What's your version?

empty charm
#

that was 9.16.1... but I can also use it in admin mode in 9.151P10

#
cl2::> version
NetApp Release 9.15.1P10: Thu Apr 17 14:04:43 UTC 2025

cl2::> set admin

cl2::> volume show -create-time >60d
Vserver   Volume       Aggregate    State      Type       Size  Available Used%
--------- ------------ ------------ ---------- ---- ---------- ---------- -----
SVM_LP1_LABDAYS_MIRROR
          CIFS_backup  n1_aggrSSD   online     DP      10.53GB    10.23GB    2%
SVM_LP1_LABDAYS_MIRROR
          SVM_LP1_LABDAYS_MIRROR_root
                       n1_aggrSSD   online     RW          1GB    968.8MB    0%
2 entries were displayed.
#

it even works on our 9.14.1P8 cluster