ONTAP Discussions

lun snap usage -s produces no output

Dry_Den
2,289 Views

Hi All,

 

I'm sure I'm missing something but I'm trying to clear down some old snapshot and find out what's using them. When I enter the lun snap usage command it seems to think for a bit the just prduces a new cursor line without showing me any output. I've used this command before, but we've upgraded to 8.2.3P6 since then; has something changed in the command?

 

Thanks,

 

D

1 REPLY 1

Anoop
2,223 Views

Hi,

 

The lun snap usage -s is still valid.

 

lun snap usage [ -s ] vol_name snap_name

Displays information about all LUNs in active file system and snapshots that are backed by the given snapshot

This command displays all the LUNs in all the existing snapshots which are currently backed by data in the given snapshot snap_name. If you wish to delete the given snapshot snap_name then you must first destroy all those LUNs in the active file system, which are listed in the output. Thereafter, if vol options snapshot_clone_dependency is not set, you need to delete all the snapshots listed in the output starting from the one listed at the top. Once this is done, you can delete the snapshot snap_name. The -s option provides a summary view of the information.

 

https://library.netapp.com/ecmdocs/ECMP1511537/html/man1/na_lun.1.html

 

Regards,

Anoop

If this post resolved your issue, help others by selecting ACCEPT AS SOLUTION or adding a KUDO.
Public