ONTAP Discussions

Highlighted

Clone a Volume from a Snapshot?

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
Highlighted

Re: Clone a Volume from a Snapshot?

Use “volume clone”.

Check out the KB!
Knowledge Base
All Community Forums