I'm familiar with symlinks, but can you apply a quota to one and not the rest of the volume? I searched "symlink quota" and rolled snake eyes.
... View more
I have just relocated some file shares onto our NetApp and after the fact found that one of the 25 or so shares needs to have a quota enforced. My understanding is that quotas can only be applied at the root of the volume/qtree. I haven't been able to find any different or figure out how to do what I'm trying to do. It looks like my only option is to create a new volume and move the data from the one share that needs quotas into that volume and point the CIFS to the new location. Does that sound about right or does anyone have a trick? Thanks in advance. -Adam
... View more
I have the same problem from time to time on one of my servers. Stopping the Volume Shadow Copy service, then restarting the SnapDrive, SnapDrive Management, and SnapManager services resolves the issue for me. I guess technically it's a band-aid, but unable to find a better solution, I have a scheduled task every night at midnight to stop VSS and restart NetApp services. Hopefully you were able to get your issue resolved before now.
... View more
Awesome, adding "| Out-String" was the ticket. It's nothing fancy obviously but here's the complete script. It's handy for me so it might be handy for someone else. Thanks a million for the help Clinton, this will save me a solid 45-60 minutes per day. If you're ever in the Cincinnati area let me know, I owe you a few beers. # Provide controller hostnames, IP's or FQDN's. Add/remove additional as needed. $filer1 = "xxx" $filer2 = "xxx" $filer3 = "xxx" $filer4 = "xxx" # Recipient e-mail address $recipient = "xxx@somewhere" # Sender e-mail address $sender = "xxx@somewhere" # Your SMTP server $smtpserver = "mailserver" $vols = $null $line = " " Clear Connect-NaController $filer1 $vols += Get-NaVol | Out-String $vols += $line Connect-NaController $filer2 $vols += Get-NaVol | Out-String $vols += $line Connect-NaController $filer3 $vols += Get-NaVol | Out-String $vols += $line Connect-NaController $filer4 $vols += Get-NaVol | Out-String Send-MailMessage -to $recipient -From $sender -Subject "Volume Report" -SmtpServer $smtpserver -Body "$vols"
... View more
I had a friend help me take a look at this and we found out that I had dataontap and poshontap modules loaded. I have unloaded poshontap, which must have had a replacement Connect-NaController because my connection is persistent now. Data is being gathered just as before, but I'm still experiencing the issue where console output and the e-mail body are not the same. Console output: Name State TotalSize Used Available Dedupe FilesUsed FilesTotal Aggregate ---- ----- --------- ---- --------- ------ --------- ---------- --------- vol0 online 60.0 GB 6% 56.6 GB False 15k 10M SAS450GB_aggr0 E-mail body: vol0 We're making progress. The console has the chart with all of the information but the e-mail only has the name of the volume.
... View more
Pretty sure I'm using the toolkit... When connecting to a controller using Connect-NaController I get this message: WARNING: @ Target Filer could not be found. To avoid this error: 1.) Pass the -server parameter 2.) create a persistent connection with the Connect-NaServer cmdlet. We will now attempt to create a one time connection for you. That's why I switched Connect-NaController to Connect-NaServer... --- Edit: When connecting, Connect-NaController works. Commands after that point give the above error message.
... View more
I a very simple script and I'd like to e-mail myself the output on a schedule... -----/ connect-naserver san1 $vols = get-navol Send-MailMessage -to $recipient -From $sender -Subject "Volume Report" -SmtpServer $smtpserver -Body "$vols" /----- I omitted the to/from/smtpserver string definitions since they don't matter. When I just echo $vols I see the data I'd expect. When I e-mail it to myself the body of the messages are: NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume NetApp.SDK.NaVolume Help would be appreciated so I can grab this at the same time every day without the risk of forgetting so I can have datapoints for trending. Thanks!
... View more
Something I ended up finding out that may be useful to the community in the future. As it turns out, Splunk is free if you log less than 500mb of data per day. In this particular environment that's the case. You do lose multiple logins in the free version, but again that's okay in this particular environment. I'll definitely keep LogZilla in mind though.
... View more
Looks like only NetApp employees and partners can access the tool. I asked someone to run my systems through the tool so I can see what the output looks like. Thanks Eric.
... View more
The time involved in maintaining documentation, I'm wonder what people are using to help automate with this? I use a PS script that creates Visio diagrams that I downloaded from here but don't know the author. I'm looking for something that will let me specify all of my controllers that ultimately allows me to easily click down through everything, if such a thing exists. I'd love to have something like this in a script that I could run daily, or multiple times a day, so I can have updated documentation available at all times. The Visio script is great but I'm looking for something more manager-friendly. Something that would provide all information in a hierarchical type of way so as you go deeper and deeper it's like peeling back the layers of an onion so to speak.
... View more
I needed to reboot a controller last night to clear a false error message regarding a new shelf installation. In the process I did a takeover, rebooted the controller, and then a giveback. Everything appeared to move between controllers as intended and I didn't have any immediate reports of any issues. Unfortunately, this morning I received a report of a hung Xen server that has an NFS datastore. I was under the impression that during a takeover/giveback you would lose CIFS sessions, but not NFS. Can someone verify please? I'd like to clarify if I made a mistake during this controller reboot or if something is not functioning correctly. Thanks!
... View more
Something to keep in mind. 2TB is the maximum size for an MBR partition, so you can't just grow it when you run out of space. Even more dangerous than that in this particular case is that LUNs go offline when 100% full. So... your 2TB MBR partition fills to 100% and goes offline -- and you can't extend it to bring it back online. That's all she wrote. Roll back to a snapshot where the LUN wasn't full and hope that the data lost in the process wasn't important. If for some reason this data has to remain on one LUN it's time to start migrating data. Present a new LUN and partition as GPT to go above the limitations you're currently facing. Resizing a cluster volume is the same painless operation of extending a single host LUN. No downtime or IO interruption, just extend from the active node.
... View more
Here's the KB for setting that up -- https://kb.netapp.com/support/index?page=content&id=1012617 I think all you're missing is 'options sftp.auth_style unix' but walk through and double check.
... View more
For question 1, whichever host interfaces with the LUN first is your os-type. If it's a VMware DS this Windows host lives within or if it's a Raw Device Mapping, the igroup os-type would be VMware. If this is a physical Windows host you're presenting directly to then os-type Windows. I may be misunderstanding the question though. #2 -- If it's a physical box I would definitely put the MPIO DSM on. If it's VMware guest, make sure the Host Utilities are installed on the VMware host. (I think the MPIO DSM for ESX is in the Host Utilities package. Double check that part, as I'm not 100% confident that is the case.) #3 -- On the Windows side you can set the LUN read-only with diskpart. Select your volume then do "attributes volume set readonly." If that doesn't work as intended for you "attributes volume clear readonly" to revert. Hopefully some of this is helpful.
... View more
Use Configuration Manager to specify your snapinfo location and you should be back in business. https://kb.netapp.com/support/index?page=content&id=2014899
... View more
I think I'm a bit behind the times with NFS, so permit me a potentially dumb question. To get this done without copying files A->B and then B->A, all I need to do is: Add my linux host to the read-write hosts list on the filer Mount the datastore in my linux host Shutdown the guest Run mbralign Dismount the datastore in linux Power up the guest Done? Thanks again Scott.
... View more
Since mbrscan/mbralign don't work on ESXi, what alternatives are available? The first thought that popped into my head was to copy the -flat.vmdk to another linux host, align it and copy it back but that will be extremely time consuming. Are there any other in-place tools that operate similarly to the way mbralign does within ESX? Thanks.
... View more
This link may answer some questions. I think the only gotcha is if you have SATA disk you would have to take downtime to pull it out. http://now.netapp.com/NOW/knowledge/docs/ontap/rel727/html/ontap/cluster/failing_over/concept/c_oc_fo_install_metro.html#c_oc_fo_install_metro
... View more