home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.novell
- Path: sparky!uunet!usc!howland.reston.ans.net!zaphod.mps.ohio-state.edu!caen!hellgate.utah.edu!fcom.cc.utah.edu!park.uvcc.edu!ns.novell.com!ithaca.Eng.Sandy.Novell.COM!mmm
- From: Mark_Muhlestein@Novell.COM (Mark Muhlestein)
- Subject: Re: Deleteing Directory Tables
- Message-ID: <C0Cwr8.HF1@Novell.COM>
- Sender: usenet@Novell.COM (Usenet News)
- Nntp-Posting-Host: ithaca.eng.sandy.novell.com
- Organization: Novell, Inc.
- References: <1ia4ahINNr75@tamsun.tamu.edu> <1993Jan4.210355.1108@novell.com> <1iabjjINNb9l@tamsun.tamu.edu>
- Date: Tue, 5 Jan 1993 01:13:56 GMT
- Lines: 54
-
-
- Carl Brown makes a few basically correct comments on directory entry
- allocation, some of which could use a bit of clarification:
-
- >You're kind of right. The way I understand it, NetWare has two "kinds" of
- >disk space: file space, and what I'll call "overhead" space. The sum of
- >the file space (used to store files) and the overhead space is the total
- >disk space on the server.
-
- Close enough. This is true of all file systems.
-
- >The "overhead" space (my term, not NetWare's) is used to store things that
- >are not strictly files, for example File Allocation Tables and (I think)
- >name spaces for volumes. The directory tables are also in "overhead"
- >space. Each directory table is 64K and can store 32 directory entries,
-
- Actually, the directory table entries are allocated in 4K (not 64K)
- blocks, each of which has 32 128-byte directory entry slots.
-
- >which consist of the directory name, locations, etc. When a directory is
- >created and there isn't a free directory entry (and I think that sometimes
- >even when there is a free entry), a new 64K directory table is created.
-
- Each 4K directory block is constrained to hold only entries for a given
- subdirectory. This means that each subdirectory allocates a minimum of
- 4K of disk space. Each file requires one entry per name space, so that,
- for example, 20 files in a subdirectory on a volume with two name spaces
- would require 40 slots, or 8K on disk, with room for 12 more files without
- allocating another 4K directory block.
-
- >When a directory table is emptied, it doesn't get deleted like I would
- >prefer it to, and the 64K stays in "overhead" space, keeping that space
- >from being used by files.
-
- Free directory blocks are only available for allocating new directory
- entries. This is a restriction of the current file system
- implementation. In most cases it is not a problem, since the number
- of files on a volume tends to grow to more than shrink. The only way
- to recover this space is to back up your volume, delete it, recreate
- it, and reload it. I would only recommend doing this if you really
- trust your backup system, and you are sure you won't ever need the
- space to hold file names again.
-
- >Our local guru says that the only way that he knows to get rid of this
- >problem is to delete the partition and re-install it (and I don't want to
- >do that - it's a royal pain!!! :-( ) and I'm hoping that someone out there
- >knows another way to do it.
-
- Sorry, unless there is some third party utility I don't know about your
- local guru is correct.
-
- I hope this helps,
-
- Mark_Muhlestein@novell.com (speaking for myself only)
-