Array Performance and Data Protection
1755747 Members
3919 Online
108837 Solutions
New Discussion

SnapShots

 
rsprott
Frequent Visitor

SnapShots

Hi all...

I'm new to my Nimble and want to make sure I'm not deleting something I shouldn't. I had a case on snapshot retention and I have many snapshots that fall outside of my retention period. The tech explained many ways how this can happen... Resizing a volume, manual snapshots, 3rd party software snapshots... etc. So, I'm looking in the cli  and the GUI to confirm a few things before I delete the SS... Is it outside my retention period, is it online and/or is it connected to anything. The tech said something about being "managed" but so far every snapshot I've looked as in the cli shows "Is managed: NO" So, I'm not sure what I'm seeing there. 

So, here's an example and what I'm looking for before I delete... Should I be looking at anything else?

My steps.

1. Look in GUI under the Volume and Protection and find a snapshot that falls outside my retention period. 1 year... Make sure there's no online indicator.

2. Run the following in cli: snap --info Projects-files-projects-1-hr-2019-01-23::16:05:00.000 --vol Projects2

Output:

Nimble OS $ snap --info Projects-files-projects-1-hr-2019-01-23::16:05:00.000 --vol Projects2
Name: Projects-files-projects-1-hr-2019-01-23::16:05:00.000
Volume name: Projects2
Serial number: 4a9fb48e201522b86c9ce900703c8a7f
iSCSI target: iqn.2007-11.com.nimblestorage:projects2-projects-files-projects-1-hr-2019-01-23::16:05:00.000-v7e6b949901e1a8e9.00000080.7f8a3c70.s7e6b949901e1a8e9.00000081.00097fea
Description: Created by protection policy Projects-files schedule projects-1-hr
Size (MiB): 25165824
Status: Okay
Allow writes: No
Online: No
Offline reason: User
New data (MiB): 18558464
New data compression: 1.04X
Number of connections: 0
iSCSI: 0
FC: 0
Schedule: projects-1-hr
Origination group name/ID: BNCSAN
Is replica: No
Replication status: Complete
Is unmanaged: No
Created: Jan 23 2019 16:05:00
Last configuration change: Jan 30 2019 08:19:58
Access Control List:
Apply to: volume & snapshot
Initiator Group: bncfs06
Access Protocol: iscsi
CHAP user: *
Initiators connected:
Agent Type: none
Application identifier:

I look at "Online" and "Initiators connected"  In this case I see "No" and nothing so I'm good to delete the snapshot... I do that from the GUI.

Should I be looking at anything else? What exactly does "Is unmanaged" mean? I would think if "Is unmanaged" is NO than it is managed and should have been purged on the retention schedule... 

Thanks for your assistance...

1 REPLY 1
Cali
Honored Contributor

Re: SnapShots

Hi,

I use this command to find and then delete these unmanaged (orphaned) Snaps:

snap --list --unmanaged --all

Cali

ACP IT Solutions AGI'm not an HPE employee, so I can be wrong.