Skip to main content
NetApp Knowledge Base

Can a snapshot be taken on a specified directory when the volume disabled the snapshot?

Views:
19
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:
3/12/2025, 5:38:55 AM

Applies to

  • ONTAP 9
  • Snapshot

Answer

  • No, snapshots are taken at the volume level. 
  • However, there has an alternative method to make it appear as if a snapshot is taken on a specified volume.
  1. Assume the specified directory is /vol1/test1/, the volume was mounted with a junction path /vol1.
  2. Create a new volume in same Vserver and specify the snapshot policy if needed.
  3. Copy the data from the specified directory to this new volume.
  4. Modify the original path from /vol1/test1 to vol1/test2 on the host side.
  5. Mount the new volume with a junction-path /vol1/test1.

Additional Information

N/A

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.