Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Disk Info on the Celerra

by blackadder (Hermit)
on Oct 22, 2003 at 11:44 UTC ( [id://301202]=perlquestion: print w/replies, xml ) Need Help??

blackadder has asked for the wisdom of the Perl Monks concerning the following question:

Dear all,

I have a requirements to obtain disk sizes, space available, space used...etc. However, these disks are housed in a Celerra (in the Symmetrix disk cabinet to be precise).

My problem is; which ever module i use (win32::disk info and adminmisc so far) will only return C$ drive, which is not quite correct, this drive either was created by a CIFS or using win32 SrvMgr or similar method. I also believe that the is quota's are in place. This is so I can plan for backups and the amount of tapes required,...etc.

My question is; is there away that i can obtain size, space, and used space of the file system allocated per each volume -i.e physical cluster disks pertaining to that volume? In other words the disk size info as it is on the Celerra, as one would get if it was an MSWin based server! or Is there any modules or away to achieve the results?

Your comments are highly appreciated.

Thanks

Replies are listed 'Best First'.
Re: Disk Info on the Celerra
by jonadab (Parson) on Oct 22, 2003 at 12:18 UTC

    I don't know what a Celerra is, but I'm not entirely sure CIFS will report disk size and free space correctly past 2GB. In fact, I'm stone cold certain that the Win9x implementation of CIFS doesn't, and that's the reference implementation that all the other implementations to a large extent have copied or attempted to copy (though these days the Samba folks may be more intent on copying WinXP). My first stab at a guess would be that the Perl module is not your problem, but the underlying filesharing technology. If you need a more definitive answer, you may need to find someone who knows what a Celerra is.


    $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/
Re: Disk Info on the Celerra
by phydeauxarff (Priest) on Oct 22, 2003 at 14:36 UTC
    Does the EMC Celerra offer SNMP management?

    I would expect something like this to support SNMP but haven't worked with this product specifically.

    If so, you might go ahead and just use net::snmp to get back the information you are requiring.

Re: Disk Info on the Celerra
by calin (Deacon) on Oct 22, 2003 at 14:53 UTC
    What is this Cellera? Some sort of NAS?

    If I understand your question correctly, you're looking for some API to interrogate the thing about its state. You'd better start with the official documentation. It has to have a SNMP management interface. If you can't find anything, you may take the hackish path: most of these things have a Web interface intended to be used by humans. You can drive that interface with Perl and LWP.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://301202]
Approved by Chady
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2024-03-29 09:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found