ONTAP Discussions

aggrspacecheck.pl

TDUBB1234
3,263 Views

perl aggrSpaceCheck.pl  -user root -filer xxxxxxxxx

aggrSpaceCheck V1.0.0 Copyright (c) 2008 NetApp

Could not retrieve Aggregate free space. Could not get any aggregates in this filer

on the filer it says

rshd.access.denied:warning]: Permission denied for an rsh request from root at

any idea?

3 REPLIES 3

grahamhand
3,263 Views

What does the output from the following give you:

options rsh

--Graham

Jeff_Yao
3,263 Views

you need to enable the rsh on the filer side using options command

and if u have password for ur root user, then no output u can get...this is due to rsh cannot specify the password for user.

so the workaround is to use plink or other remote shell which can specify the password for user.

u need some basic knowledge about coding. u need to change the .pl source code

change the rsh to plink

and put the password in the command line.

another workaround is temporarily removing root password, run the .pl and change the password back.

TDUBB1234
3,263 Views

i was able to do this

perl aggrSpaceCheck.pl  -user root:xxxxxx -filer filer.abc.com

Public