Too many files? NTFS spews data like tubgirl.

I am in awe. NTFS has its head stuck so far up its own ass that it’s breathing colon fumes. Actually, I misrepresent NTFS, because I’m actually pitting it for not being flexible enough. You think Bob Dole comes off as stiff? Insert Viagra joke here? Compared to NTFS, Bob Dole looks like Dave Letterman with twenty-inch wang (now that’s charisma!). You see, NTFS has a “feature” that I found about as charming as a hornet-and-crushed-glass enema. It’s not something people ordinarily worry about, and it’s not the sort of thing that comes up all that often, but here it is:

If you write “too many” files to the C:\ directory of your WinXP machine when the hard drive is nearly full, the Master File Table can become fragmented and eventually corrupted, preventing your machine from booting.

Happily, your machine will continue to run just fine for as long as you leave it running after this error. The next time you reboot your machine, however, prepare to find a steaming slurry of goat diarrhea in your burrito. Surprise! A few critical files are totally hosed!



NTLDR is missing
press CTRL+ALT+DEL to restart


Every article in the Microsoft Knowledge Base recommends a complex process involving the ritual sacrifice of one’s firstborn, the cursed WinXP Install CD, a herd of Gadarene swine, a qualified exorcist, and the Recovery Console. After following a Minoan labyrinth of hyperlinks from article to article, I began to experience deja vu. It seems that no matter how deeply you dig into the pile of shit, each of these articles advises the same three processes:

  1. replacement or repair of NTLDR and NTDETECT.COM
  2. FDISK /MBR
  3. a complete repair install of WinXP

These all make perfect sense! And yet, having gone through these processes, I was still taunted with the infernal black screen with pale gray text:



NTLDR is missing
press CTRL+ALT+DEL to restart


I sat through a Web Chat with {John_D} from Microsoft, who very patiently walked me through the exact same sequence of infuriating and painful steps, each one exacerbated by the MSIE-only chat interface that was only marginally less painful than being gnawed to death by toothless alligators with halitosis. At least they didn’t charge me $35.00 for the privilege of watching them flail about like a quadruple amputee trying to waterski.

I have been subjected to a month of government-sponsored “training” at the height of summer in San Antonio Texas, and yet I began to recall with fond smiles picking red ants out of my socks and swatting at black flies with radar cross sections larger than my own, when I tried to figure out what was wrong.

In desperation, I tried CHKDSK. Trusty old CHKDSK, that never actually fixes anything, or bitches at you, or screws up your startup process. I tried it. On my next boot, I was able to access the BOOT.INI menu! Woohoo! Jubilation!

And now I discover that all of the “helpful” procedures I had run (you know, the perfectly reasonable ones?) had made life very ugly for me: Windows thought I had done a brand-new install! I managed to force WinXP to use a known-good restore point – a procedure which required burning five tallow candles made from the fat of quintuplets, arranged in a pentagram, while I chanted Redmond’s ZIP Code (98052, if you were wondering) backwards and swung a censer of burning RAID driver floppies – but I digress. I also had to do another complete repair install, and “activate” my copy of WinXP by telephone, which required barking numbers into a phone while a creepy AI somewhere outside Seattle, reminiscent of HAL or possibly Mother, burbled them back to me with all the cheery pep of an audible self-destruct timer. Trying to artificially inseminate an angry orca would be more enjoyable, and wouldn’t take half as long.

You can exhale here – this is the part where I get really wound up.

So I went to go look for what I could do to prevent my MFT from getting fragmented in the future, and it turns out that Microsoft’s built-in defragmenter DEFRAG is better suited to shaving leprous chihuahuas than actually defragging your hard drive under NTFS. According to the MS Knowledge Base, “you cannot defragment the MFT once it becomes fragmented using the Disk Defragmenter.” There is, however a setting you can change in WinXP that makes your MFT much less likely to spew bits all over your hard drive like tubgirl after a large bowl of chili, but it would be too fucking simple for MS to set that option to the safest setting when you install their badger-felching piece of detritus. I’m considering sending the author of DEFRAG an industrial pallet of Kleenex-brand personal tissue, so he can wipe the ropes of thick green pus out from between the lines of brain-damaged code. I hope he mistakes it for a delicacy and suffers a horribly embarrassing personal biological misfunction! Come on, you dung-witted excuse for a coder: DEFRAG doesn’t defrag all of the files that can become fragmented? What will I discover next: AUTOEXEC doesn’t automatically execute?

Resolved: NTFS is only slightly more flexible than the reproductive organs of a bonobo doped up on the LD-50 of Cialis and turned loose at Hugh Hefner’s mansion.

Resolved: The Microsoft Knowledge Base is about as useful as a Tengwar-to-Klingon dictionary or a 259-step elevator emergency procedure checklist that suggests “try to exit elevator through the main door” as step seven.

Resolved: The coder who quit early the day he was supposed to be writing DEFRAG deserves a job in first-level phone tech support for Furbies, Aibos, and other animatronic pets, where he will spend all day deciphering grandmotherly baby-talk and the confused wailing of angry and perplexed customers stymied by poor coding. He also deserves to be raped by the aforementioned bonobo and dropped down the aforementioned elevator shaft.

Aside in praise of Diskeeper: Diskeeper is a fifty-dollar utility that will do all of the things Microsoft’s DEFRAG should have done in the first place. It will defrag your MFT, it will run at boot time with CHKDSK, and it will detect actual fragmented files, moving them around until they’re all contiguous. If Bill Gates would just buy them out and include their utility with Windows, this entire fiasco wouldn’t ever have to happen. I purchased Diskeeper and am much happier.

Resolved: Bill Gates is a rich asshat who grew up scrawny, and is blissfully ignorant of the momentum a dinosaur gains when it moves in the wrong direction. He deserves to be tea-bagged by the first male brontosaurus that Science manages to clone from amber-trapped DNA, and tossed down the aforementioned elevator shaft with the bonobo, the dictionary, the coder, &c.

fin

I always avoid putting files into the root directories out of habit… I think FAT16 had a limit on the number of files that could be in there or something, and now it’s ingrained into my head. Also, MS farms out defrag programming to third parties. Symantec did the Win9x version, not sure who did the 2K/XP one. And yeah, repair install sucks goats re: deleting all your settings.

Otherwise, your words are very pretty. ;j

This is purely to thank you, Jurph, for a long bout of helpless giggling.

I particularly liked:

.

"If you must catch only one rant this summer, make it Jurph’s

“A side splitting jaunt”

         - World Eater

Well, there’s a mess for you.

It turns out that the same company that wrote the NTFS Defrag for Windows 2000 (which presumably got carried over into WinXP) is the same company that makes Diskkeeper.

Cites:

http://www.execsoft.com/coverpage.asp
To top things off, execsoft is (or al least was) run by a scientologist.

Looks sort of like execsoft fucked MS over by giving MS a poorer product, and then selling the better one themselves.

And one more cite:
http://club.cdfreaks.com/lite/t-91710.html

Take a look at the first post - it is a copy of the Defrag About window.

Execsoft made defrag for XP as well, or else MS just carried it over.

Well that takes some of the moxie out of my little screed up there. Does anyone want to bet that MS had a list of product requirements for Win2000 that got sacrificed for expediency when the release date crept up on them? I can easily imagine a coding team deciding to “stay busy” for another six months after the end of the project to release a product for which they’d already been paid once, and which stood to make them even more money. It’s absolutely worth the $50, and it will prevent you from experiencing the agony I went through above. Plus it widens one of your system’s bottlenecks just a wee bit, which is always nice.

Seriously, Diskeeper is the shit. I just got my 80GB RAID down to 0.00% fragmentation. All of my files are contiguous! Now I’m going to go play Diablo II to bleed off some steam (and to watch my hard drive go, go, go!). Y’all enjoy the ranting, hear? :cool:

Bah. It’s amazing how badly Microsoft fucks up a filesystem when the ext2fs has been in active use in Linux for… eleven years now? (The earliest version of the e2fsprogs package I can find in Sourceforge dates back to 1993.) I realize that the DOS-ish and *nix-style filesystem worlds tend to clash, but you can trivially imitate, say, FAT32 with ext2fs if you make everything owned by root and set all permissions to 0777. That is, trivial user-level imitation: You’d need to remove the ability to create named FIFOs and other extra-special files to accurately emulate the lossage imposed by FAT32.

My point being, Microsoft wasn’t shy about ripping off CP/M when it made MS-DOS. The code to do the ext2fs is in every (older) Linux kernel. (Most 2.6-series kernels do ext3fs by default, I think.) Since this would be outright theft, they could ignore the GPL (and, presumably, sue Linux developers for copying their modified version of ext2fs once XP hit the market).

How hard could it be for them to ruin a well-understood technology? They already did it to VMS.

Huh, so thats what happened to my friends computer. We fixed it in one step with a repair install. Looks like you did something wrong earlier.

you’re dead on about how shitty disk defragmenter is. I could do a better job by hand if it let me.

Ouch! This is awful! Pardon me if I am a complete newbie (I am, I am), but naturally I am concerned when I hear that “too many” files on a “nearly full” hard drive will result in this . . . mishap.

How full is “nearly full” and how many files are “too many” files? Or is that one of the wonderful, magical things about this whole process—you don’t really know when you’ve gone too far?

I tend to keep my hard drives kind of full (a 1GB of free space or more on a 10 GB partition, for instance) and I really, REALLY couldn’t handle the kind of headache you are describing. Could you just wipe the hard drive clean and start over if you had to? Reformat and switch back to FAT32? Pardon me, I know these are dumb questions, but I spend more time on my Mac anyway . . . (No smug Mac jokes from me. I’m just explaining that I’m more of a Mac girl who also uses Windows.)

From what I remember, Diskeeper did the 2K/XP version of the defragmenter, and my NT 4.0 server required a third party download of Diskeeper.

Course it is late and I could be wrong.

Here’s a couple of suggestions for you:
1.) Download and burn aKnoppix CD. This will allow you to boot to Linux from your CD drive, at which point you can muck around on your harddrive and attempt to fix the problem or at least burn off copies of the files that you need to keep before doing the old reformat and reinstall business.
2.) Purchase some HD iumagine software and do periodic back ups of your system, so that should you ever have to suffer through something similar, you’ve got a fairly simple solution.

There is a version of Windows which is bootable from a CD out there, but I can’t find any links to it, or I’d be happy to post 'em.

Wow… you keep files in the root of C:??? Do you keep your hair dryer by the bathtub? Do you let your kids play with fireworks?? Do you run under the nearest tree when lightning starts???

I’m so freaking SICK of people that use computers yet have no idea of how the work… And it’s not as if it’s just Microsoft’s fault. There are directories and partitions in Linux that will kill an install if you let them get too full as well. So the lesson is - don’t put crap in the root of C: and learn how to use your system before you start complaining about it.

Also, yes I think it’s funny that you’re complaining about XP’s disk defragmenter while singing the praises of… the same product. It’s true that XP’s version is slightly crippled compared to the retail version of Diskkeeper, but it’s all basically the same under the hood. And I can name at least two defraggers out there that are better than Diskeeper.

Hey, Rex. Ease up.
It can be fairly easy to inadvertently do this kind of thing. Just consider an auto-extracting exe file that has a bad default (C:\ instead of C:\Temp.) A normal PC user would just click OK, and the damage is done.

In fact, that is exactly what happened to Jurph in this case. See this other thread:

PKUnzip defaulted to C:\ Jurph didn’t notice in time and whamo.

Hello there Dopers!

I have been a long time lurker, but this thread convinced me to come “out of the closet” so to speak.

I happen to be one of the wonderful people that sit on the other end of the phone line when people call MS XP Tech support with their system problems.

I just wanted to correct a few misconceptions that I have noticed in this thread.

<Dons asbestos suit for the inevitable flames that will be flying my way now.>

First of all, there is a wonderful KB article that would have solved your problem without taking the drastic step of a repair install…here’s a link:

KB article 307545

And as for what seems to have caused the problem, here’s another link to an article that describes your problem almost exactly:

KB article 122221

And as for CHKDSK, it works quite well, thank-you very much. For a complete description of what it does in XP, and the options it has built in, here’s another link:

KB article 314835

And no, I do not defend the actions/inactions/opinions of a certain Mr. Gates, I just have to try to fix the problems that crop up with his OS.

(and now I sit patiently waiting for the flames to begin…) :eek:

That’s why I never open self-extractors by clicking-on them. Everything I download goes to my “workspace” partition (currently 92.1GB free). I then right-click the file and choose WinRar > Extract to… and unpack the file. Then I check out the files and read any READMEs enclosed before running the setup or app or whatever.

This works for about 99% of the SFX files out there; if it doesn’t I don’t install it unless I’m in absolute, dire need of the app.

Sorry if I was snippy in this or the previous post.

I am familiar with replacing the Big Five to force a system restore – it’s one of my favorite methods for getting things “just like they used to be”. I didn’t know that WinXP kept copies anywhere other than the System Volume Information folder, which (as you must know) is super-hidden and inaccessible from the Recovery Console. Your advice is dead-on! If only my tech had known that…

No, that’s actually nothing like what happened at all – but I’ll forgive you on account of my using baroque wording to describe the issue. The problem was too many files in my root directory (aside to Rex Fenestraum - yeah, I was being careless. I deserved about half of your bile above) which was not fixable via FDISK /MBR or the FIXBOOT command. Read the earlier part of my post where I list the three solutions that almost every article wanted me to try. Yours was #2 (no poop jokes, please). I tried 'em! Boy, howdy, did I try 'em.

Oh, I totally dig CHKDSK! I was not at all being sarcastic. I remember CHKDSK from way back in the day, is all, and I always ran it as “preventive” maintenance. It just never found any problems, because I generally run my computer as a pretty tight ship. No ropes loose on deck, no hair dryers by the bathtub… :dubious:

I’m not sure if it came through in my post, but since I’d already done a repair install by the time I ran CHKDSK, I was able to use the “spankin’ new” install to move the Big Five through the GUI, rather than at the command line. By the way, I’ve been recommending that specific technique for months now, ever since the last time I had to fix a machine that was not happy with me.

I made sure to send a note back to the Microsoft guy who helped me and tell him what ended up working so he can correct his technique (and maybe put an addendum in the KB articles he was using, since none of them recommended CHKDSK). I was very happy with my customer service, but I see now that the level of knowledge varies between techs, and finding the right KB article is still something of a black art.

P.S. I typed this from my now-functioning machine. Woot!
P.P.S. FUCK!