Tag Archives: netapp

Snapdrive Service won’t start

Had an issue recently where a fresh install of SnapDrive (7.0.3) wouldn’t complete and gave the following error  “Product: SnapDrive — Error 1920.Service SnapDrive (SWSvc) failed to start.  Verify that you have sufficient privileges to start system services and check your Event Log for more information.”

The server is located in a DMZ on a separate domain and is isolated from the network and the internet. I spent ages looking at this and eventually decided to run a “netstat -ano” to see what the service was doing. For whatever reason it looks like it’s trying to connect to GoDaddy’s CRL server. It seems that as the package is signed by netapp, part of the install downloads a new crl to make sure that it’s valid. Temporarily allowing my host out to the net on port 80 fixed the install issues. Incidentally, as soon as it’s installed you can close that port. From what I can tell it doesn’t check the CRL again….

 

DFM missing statistics

Had the issue recently where the DFM would stop reporting statistics on all of our volumes on some controllers. After spending an eternity digging around it seems that if you enable debug logging on the dfm you will see an error returned by the controller that it has run out of memory. You can increase it but please check this burt first http://support.netapp.com/NOW/cgi-bin/bol?Type=Detail&Display=472940

To increase the memory from the default of 262144 do “options perf.dblade_zapi.buf_limit and select a higher number (in bytes). Try 307200 (300k) first then slowly increase it if you have no joy.

Powersehll netapp volume resize

This script will resize any volumes on your controller that are more full than 96% and add an extra 5% on to them. You  can filter the list a little more if needed, for example I don’t attempt to resize any of our volumes that have the word “dr” in as they are snapmirror destinations.

 

 

$controllers = @(“controller1″,”controller2″)
$body=””
$resize=””
$emailto=”fillThisIn”
$emailfrom = “fillThisIn”
$emailsmtp = fillThisIn”
$emailsubject= “Drives resized”

foreach ($controller in $controllers){
connect-nacontroller $controller
$resize+= (Get-NaVol | where-object {$_.used -gt 96 } | ft -HideTableHeaders)
}

if ($resize -ne “”) {
foreach ($navol in $resize){
write-host “$navol”
Set-NaVolSize $navol +5%
$newsize = Get-NaVolSize $navol.SizeTotal
Set-NaVolAutosize $navol -Enabled
Set-NaVolAutosize $navol -MaximumSize +10%
$body += “Volume $navol on $controller script resized to $newsize and autogrow enabled `n”
}
$body += “check snapmirror destinations size for volumes above!”
send-mailmessage -to $emailto -from $emailfrom -smtpserver $emailsmtp -subject $emailsubject -body $body
}