Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

chkdir alike 3rd party util

Posted on 1998-08-05
13
Medium Priority
?
286 Views
Last Modified: 2008-02-07
Hi , I'm looking for a utility that reports me the total,free and used space per netware volume.
In a way that the chkdir command does.
Only problem with this program is that it doesn't support
unc names or mapped drives using the net use commands
on a windows nt machine.
i need this file badly because i need to create reports on space behaviour of our 10+ fileservers (so mapping is not longer possible due to the limited to 8 servers option in novell).

anyone ??

please no fancy 50 mb gui kinda stuff since it has to run unattended in a batchfile.
thnks eddie
0
Comment
Question by:evil_ed
13 Comments
 
LVL 4

Expert Comment

by:saar2
ID: 1592993
You can make the batch file Map a drive to the first server & run Chkdir.

Then map to the second & run Chkdir.


Saar carmi.

EMail: saar@bigfoot.com
UIN: 3233305
0
 
LVL 2

Author Comment

by:evil_ed
ID: 1592994
Hi Saar ..

Like i said, the map /chkdir commands are of no use simply because i need to get this info from 10 to 15 servers at a time without logging of from a single one.
we have this scheduler pc which runs several tasks on all servers so if i log off from one it will interfere with other tasks running on the same machine.
Been searching two days now and testing 50+ dir programsm they all have in common that they always give as free and total space a maximum amount of 1 gb instead of the 4 gb free and 16 gb total.

so for somebody else ..

is there a program that does support this in a manner i can use
(i tried the 4.11 commands but they don't support the net use mapped drives either)

regards eddie
0
 
LVL 2

Expert Comment

by:calger
ID: 1592995
I'm confused why you think you can't connect to more than 8 file servers at a time?  I, just two days ago, was running a program that distributed files to all servers in a given list.  I had licensed connections to over 80 file servers at one time.

The other problem you are dealing with is to read a volume and get directory or space information you HAVE to make a licensed connection to that server.  By your description, that would be impossible to do if you could only connect to 8 servers.

Hence, I would agree that SAAR had the correct answer.  Have you tried it?
0
Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

 
LVL 2

Author Comment

by:evil_ed
ID: 1592996
Hi Calger ..

Well i would like to see how you connect to 80 servers (at least with our setup)
Novell 3.12 (so it's bindery) using for example syscon or files ... try to add number 9.
I can't get it to work over here using the novell stuff perhaps there's something i don't
know :).
But anyway i found something today 'GETQUOTA' from jrb utils can use an UNC path
and allows me to use all fileservers that i'm connected to (via nt i can connect to 15 servers but that's not what i wanted because most of the novell tools won't allow uncs.

And concerning the reading a volume you need to ....

Yes i agree , but if i'm connected through NT itsself why should i be bothered by using attach or map commands from novell.
Basically what is giving me such a hard time is that novell only accepts a Mapped drive using it's own map command, if you map a drive using the NET USE command novell sees it as a local drive and gives you a can't use chkdir on local device bla bla bla.
while this getquota does the trick for me so i don't really need any other tool for now
But still if someone hands me one he'll get the 150 times 4..

thanks for thinking with me guys :-)
0
 
LVL 2

Expert Comment

by:calger
ID: 1592997
When I say that I was connected to 80 file servers, that means by looking at my Netware Connections - it showed 80+ file servers where I was currently using a licensed connection.  Of course, I didn't have 80 drives mapped.  I was using UNC connections via the tool.

The other thing about it is... I'm confused regarding your comment about Netware 3.12.  Is this 3.1x you are using and trying to check the volumes on?
0
 
LVL 3

Expert Comment

by:lpenrod
ID: 1592998
With Netware 4.x, you can use the NDIR /VOLUME command.
This will give you a summary including the info that you want.

Larry
0
 
LVL 2

Author Comment

by:evil_ed
ID: 1592999
Hi Lpenrod

Thanks for your answer, however it was one of the things that i've tried already and what i found out was that it doesn't support unc paths/ net use mappings also.
It comes with a error saying something like 'no novell volume'

A friend of mine wrote a program already which works as supposed and also has a
limit that is not yet reached (thank god)   i'm currently on 24 gb without any problems.


so i'll go and ask if they can close this question since i already found a solution myself.
I appreciate the input of other people and it also shows me that there are no 2 setups the same.

BTW calger , it is 3.12 up to current novell patch level, and yes i can see all servers too
but try to login to 15 ones using fe syscon or filer.
I can't over here ...

Kind regards and thnx for you responses.. Eddie
0
 
LVL 5

Expert Comment

by:jstegall
ID: 1593000
One more place to check:
http://www.net-utils.com/312.htm
0
 
LVL 2

Expert Comment

by:calger
ID: 1593001
Eddie - I missed the whole 3.12 thing.  Yeah, you would have a problem with 80 file server connections with 3.1x.  My misunderstanding.
0
 
LVL 2

Expert Comment

by:wk51
ID: 1593002
what is with chkvol?
0
 
LVL 3

Accepted Solution

by:
rjhawkin earned 600 total points
ID: 1593003
I gather that you have multiple 3.12 servers that you want to check. and this solution is far from elegant. It will take time to perform this batch. Why not create the following in a very secure account and restrict it to a station.

Create a series of files named the various servers you want to check. In the file, put a single line with the password on it.

I dont know how many spare drive letters are available, so I am assuming that there is only 1 (L).

---- Batch File Idea ----
REM ## BATCH TO check multiple servers

REM ## SERVER1
attach server1/username < server1.txt
map L:=server1\sys:
chkdir L: >> outputfile
map rem L:
map L:=server1\vol1:
chkdir L: >> outputfile
logout server1


REM ## SERVER2
attach server2/username < server2.txt
map L:=server2\sys:
chkdir L: >> outputfile
map rem L:
map L:=server2\vol1:
chkdir L: >> outputfile
logout server2

REM ### continue
-------------------------
0
 
LVL 2

Author Comment

by:evil_ed
ID: 1593004
Okay that does it :-) ..

I'll accept this one, even if it is of no use to me (no offense)  i have solved my own problem and have been to lazy to call this problem off ..

Dear Rj, the way you described it was the way it always worked prior the change to a new machine.

The reason why this doesn't work anymore :

We now have a scheduler pc which runs all kinds of batchjobs and other stuff, if i would logout from the first server other batches would also freeze because of the lost connection.
so now it has to stay connected to each of the servers and still have the ability
to check all volumes ...

So the idea was good, but it's not suitable (anymore) for my setup ..

Nevertheless ... good thinking :-)

I now have a batchfile which does not only report free space on all novell volumes but also  will it report free space on al winnt disks .

so i'm totally satisfied and my boss can give me my deserved raise :-)

kind regards eddie
0
 
LVL 2

Author Comment

by:evil_ed
ID: 1593005
Ehm ... Ofcourse it's not the batchfile that matters but it's the program that checks for
free and used bytes on a volume.

A friend wrote it for me in delphi and it's called SDIR33 it's really neat..

bye now ... Eddie
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The decision to migrate to the cloud is not a simple one—many factors, such a cost, ease of use, and ongoing maintenance come into play. The goal is always for cloud platforms to make storage and backups more seamless and effective. Here’s a look at…
Do online retailers and e-commerce sites even need to bother with the season? Is it lucrative to update and prepare your site for Black Friday and Cyber Monday shoppers? We'll find out now.
Integration Management Part 2
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question