I have a LUN mounted on a Windows host which holds around 3TB of data, this LUN is inside a volume and the space inside this volume left is around 2TB. I have snapshots on volume level and when I right click the LUN (NETAPP SYS MGR) I can see snapshots for the LUN itself too.
How can I mount one of these snapshots inside a windows host (either same box or a different box) in order to do some data restore / recovery ?
If you can provide a step by step on the Netapp side and then the steps required to access this mounted snapshot onto the same or another host - that will be very helpful,
Also, is this possible that if I had to use the whole data set from the snapshot, can I take that into production and delete the old LUN ?
You can use “lun clone” to create virtual LUN copy based on specific snapshot. It behaves like a normal LUN which you then map to host and mount. Be sure to disable any scheduled snapshots while LUN clone exists to avoid busy snapshots that cannot be deleted.
If you have flexclone license, you could clone the whole volume. It avoids “busy snapshot” issue.
SnapDrive for Windows will use either method depending on Data ONTAP version and available licenses and is preferred way to mount snapshots if you use it.
If you have snaprestore license, you can also revert volume to previous snapshot. This is the fastest method. Be aware that all changes since this snapshots are lost forever.
Thank you for your prompt replies - you both have always been very helpful - really appreciate that !!
Now - by now you both know that I am new to the netapp world and as this box is already into production with a couple of LUNS (in the same VOLUME) already mounted and in production.
I will be grateful if you could provide a step by step (which should be non disruptive and clearly safe) to clone a PRODUCTION LUN in the same Volume and Mount it on the other server (I don't have snapdirve / snapmanager) (I have Netapp system manager 1.1 and the good old CLI).
What I want to achieve is to create a LUN CLONE and mount it on my backup box and then start replicating from my primary windows host to the secondary windows host, that would save me time of copying the entire data on the primary LUN to the new LUN on the backup box ?
Will be most grateful - for a walk through /step by step (Ontap 8.0.2P6 7 Mode)
Thank you for your prompt reply, no I haven't got a vsim configured ;
I have had deduped this volume before but then I had to delete all LUNS and then create new ones, I can run a dedup on the volume though during off-peak hours.
So, I would :
Run Dedupe on the volume, wait till it's finished Then, log-on via SSH on the respective controller type "clone start <original production lun name> <new cloned lun name> (Do I need to specify the full path as well or just the names would do ? )
Is this a disk intensive or cpu intensive operation ? Would it occupy disk space straight away or until I start writing to it ?
Full path. Yes. It takes some CPU for ASIS. But no backing snapshot once completed. It does create a temp snap by default for the dedup creation of the Lun. A Flexclone license is needed for this to work.
You can also use Lun clone with a backing Snap.
You can also Flexclone the entire volume.
All 3 method have no space usage until changes are made
Thank you for your prompt and very helpful replies ; I haven't yet experimented with the commands as I am seeing the following :
From Autosupport page, Notices :
Snapshot usage on this volume exceeds 80% of the allotted capacity. Snapshot capacity should be monitored closely to ensure that enough space is set aside for snapshots. Increase the amount of space reserved for snapshots using the "snap reserve" command.
On this volume, "Space Setting = Volume", I have Fractional Reserve = 0 ; Delete Snapshots automatically is selected ; Snapshot reserve is set to 10%, I have deduped this volume "manually - full scan", volume auto-grow is NOT SELECTED ; this volume holds two Thin Provisioned LUNs, volume is showing ample free space but snapshot over flow is being displayed in NetAPP MMC ; I don't understand why it is not deleting snapshots automatically and complaining ?
Also, the schedule is a bit complicated, what would you recommend for a snapshot schedule ? Hourly = 1 x Daily ?? and Weekly = 1 ?
At this moment, our snapshot schedule is : Weekly = 1, Daily = 2, Hourly = 2
Under Hourly Snapshot schedules via MMC ; I have 02 and 08 then 14 and 20 hours ? so does this mean that it will create a snapshot at 2AM and 8AM ; then it will create a snapshot at 14:00 and 20:00 PM ?
Will be grateful for your support - Thanks so much !!
if dedup is enabled "clone" is a good option also since it doesn't tie up a snapshot and uses the asis engine. Most (including me) don't use it a lot but it is slick to use asis to create the clone with no overhead for a lun/file. 3 ways to clone is all good