ONTAP Discussions

Clone a Volume from a Snapshot?

General
1,963 Views

Hello All,

 

Quick question. How do you clone a Volume from a Snapshot?

 

I know the command for cloning a LUN from a snapshot but is there not a way to clone an entire Volume by using a Snapshot.

 

The problem that throws me off is the "LUN" part, since I'm not trying to create a clone of a LUN. I want a clone of the entire Volume by way of using a Snapshot.

 

Can this be done?

 

volume snapshot create -vserver vs1 -volume vol1 -snapshot vol1_snapshot

file clone create -vserver vs1 -volume vol1 -source-path lun1 -snapshot-name vol1_snapshot -destination-path lun1_snap_clone

 

 

1 REPLY 1

aborzenkov
1,931 Views

Use “volume clone”.

Public