Being new to he NetApp arena, I'm unsure of the methods to accomplish what would seem to be simple tasks. I was hoping to get some valid information from the community!
I am trying to resize a LUN on a WIN2K8 virtual in Hyper-V. When I look at SnapDrive on the local box to resize, the LUN is listed at max size. So I thought I could go to the System Manager and resize the LUN from there. After verifying the volume had enough space for the growth, I procedeed to resize the LUN. However, prior to making the change, the application asked for comfirmation and warned that I should first perform recommended steps on the host side. What are these steps? I could not find any NetApp documentation describing this process.
Did SnapDrive give you any errors? Typically, when resizing a NTFS volume on a LUN we recommend using SnapDrive as it will use the native APIs from Microsoft to resize the partition and filesystem automatically.
When using FilerView or SystemManager to resize a LUN, all you have done is increase the container size (read: LUN) but not the important host-side tasks like resize the partition and filesystem. Remember, ONTAP cannot "see" inside the LUN, and since the host owns the partition and filesystem info within that LUN, you will need to extend those via the host in order to take advantage of the resize.
In Windows, typically you will run DISKPART to extend the partition and filesystem, I'm not sure if there is an additional steps for a HyperV CSV, which is why I typically recommend using SnapDrive.
I couldn't see anything to do within SnapDrive. When I go to resize the drive from there, it tshows me it is already at it's max size. The only place I could find to expand it further was threough the System Manager. I could tell form other posts that diskpart was used to extend partitions on WIN2K3, but I didn't know if WIN2K8 was smart enough now to expand onthe fly through the Manager.
Is there another location in SnapDrive where I should be looking to increase the max size of the disk? Or do I disconnect the drive, expand it through System Manager, run diskpart on the WIN2K8 virtual, then connect the drive again?
If everything is set up correctly, then SnapDrive should give you a 'slider' bar in the resize disk window. Which is why I'm wondering if you got any errors. I'd check the Application event log for something like "Access Denied" or "RPC Server Unavailable" from SnapDrive.
I've got the slider bar. However, the slider is all the way to the right, and I can't add anymore space cause I'm at the max size of the current LUN. I need to be able to increase the size so I can 'slide the bar' more to the right. I have plenty of available space on the volume.
The good news is that if SnapDrive created the LUN, the n the space reserved bit on that LUN should be on, that way, snapshots will fail as opposed to the LUN being taken off-line due to a full volume.
Assuming that the guarantee is set to volume (which is the default) then there should be nothing to worry about ... except for not having enough space to take snapshots
LUN space reservation only cares about space in Active File System. If FR is set to 0, then nothing is additionally reserved when snapshot is created. So you can have 100G volume with 100G LUN completely full and still create snapshot. Any attempt to write to LUN fails at this point.
Thanks for the exrta info! I overspoke when I said 'allocate the remaining free space'. I still have ~120GB free space on the volume and my snaps are taking up about 28GB. I will be setting them to autodelete, thought it seems like right now SnapDrive is doing them from the local box and not the System Manager. I will definately be reading over those documents on FR and make sure that they system was setup with best practice in mind.