[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1783
  • Last Modified:

Netapp - recovering from out of space situation

Supposed that you had a 100GB LUN in a 200GB Volume on a 1TB aggregate.  Neither the LUN nor the volume are set to auto-grow.  The LUN has been sitting at around 70GB for months and then one night someone tried to copy a 50GB dump file to the LUN.  What is the impact of this to say a Windows VM that is using the LUN for storage?  Would the drive just disappear from Windows' perspective?  And if this happened in real life ( it hasn't I'm just trying to understand Netapp storage better - phew) how would one go about recovering from this faux-pas?  Just go in and resize the LUN and re-boot the VM?
0
amigan_99
Asked:
amigan_99
2 Solutions
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
LUN may go Offline, the datastore would not be available to the ESX/ESXi host server, and VM would likely still run, until it needed to write to the virtual disk, and at this point the VM would fail.

Solution:- Increase the LUN size, Online the LUN, Rescan the HBA, Turn Off and Turn in the VM.
0
 
robocatCommented:
If the LUN is being used as a VMware datastore, you don't want it to fill up. If this happens,  VMs will continue running, but operations like taking snapshots will fail.

If the LUN is directly mounted inside the VM as a volume, copying a large file to the volume will simply fill it up, exactly like a hard disk that is full. Free up space from within the VM.

Things get a bit more complicated if you use snapshots on the netapp volume. Each snapshot keeps modified blocks and eventually the netapp volume will fill up. If this happens, you could get write errors on the LUN or the LUN could go offline. Data will be lost!

In that case, delete snapshots from the netapp volume or increase the volume size. From within the VM, mount the LUN again and perform a volume check to make sure everything is ok. The volume or data within may be corrupted!

Netapp does have something called LUN space reservation to prevent this from happening. If your LUN occupies 70GB, it will reserve another 70GB to keep the LUN functioning correctly, even if the Netapp volume is full. If you disable space reservation, you should use a monitoring tool that alerts you that the volume is filling up.
0
 
amigan_99Author Commented:
Both really outstanding replies.  Thank you guys so much.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now