Recent from talks
Nothing was collected or created yet.
DriveSpace
View on Wikipedia
| DriveSpace (DRVSPACE) | |
|---|---|
| Other names | DoubleSpace (DBLSPACE) |
| Developers | Vertisoft, Microsoft |
| Initial release | 1993 |
| Operating system | MS-DOS, Windows 9x |
| Type | Command |
DriveSpace (initially known as DoubleSpace) is a disk compression utility supplied with MS-DOS starting from version 6.0 in 1993 and ending in 2000 with the release of Windows Me. The purpose of DriveSpace is to increase the amount of data the user could store on disks by transparently compressing and decompressing data on-the-fly. It is primarily intended for use with hard drives, but use for floppy disks is also supported. This feature was removed in Windows XP.
Overview
[edit]
In the most common usage scenario, the user would have one hard drive in the computer, with all the space allocated to one partition (usually as drive C:). The software would compress the entire partition contents into one large file in the root directory. On booting the system, the driver would allocate this large file as drive C:, enabling files to be accessed as normal.
Microsoft's decision to add disk compression to MS-DOS 6.0 was influenced by the fact that the competing DR DOS had earlier started to include disk compression software since version 6.0 in 1991.
Instead of developing its own product from scratch, Microsoft licensed the technology for the DoubleDisk product developed by Vertisoft and adapted it to become DoubleSpace. For instance, the loading of the driver controlling the compression/decompression (DBLSPACE.BIN) became more deeply integrated into the operating system (being loaded through the undocumented pre-load API[1] even before the CONFIG.SYS file).
Microsoft had originally sought to license the technology from Stac Electronics, which had a similar product called Stacker, but these negotiations had failed. Microsoft was later successfully sued for patent infringement by Stac Electronics for violating some of its compression patents. During the court case Stac Electronics claimed that Microsoft had refused to pay any money when it attempted to license Stacker, offering only the possibility for Stac Electronics to develop enhancement products.[citation needed]
Bugs and data loss
[edit]Shortly after its release, reports of data loss emerged. A company called Blossom Software claimed to have found a bug that could lead to data corruption. The bug occurred when writing files to heavily fragmented disks and was demonstrated by a program called BUST.EXE. The company sold a program called DoubleCheck that could be used to check for the fragmentation condition that could lead to the error. Microsoft's position was that the error only occurred under unlikely conditions, but fixed the problem in MS-DOS 6.2.[2]
The fragmentation condition was related to the way DoubleSpace compresses individual clusters (of size, say, 8 K), and fits them on the disk, occupying fewer sectors (size 512 bytes) than the fixed number required without DoubleSpace (16 sectors in this example). This created the possibility of a kind of internal fragmentation issue, where DoubleSpace would be unable to find enough consecutive sectors for storing a compressed cluster even if plenty of space was available.
Other potential causes of data loss included the corruption of DoubleSpace's memory areas by other programs, DoubleSpace's memory areas were not protected, because MS-DOS ran in real mode. Microsoft attempted to remedy this in the MS-DOS 6.2 version of DoubleSpace (via a feature called DoubleGuard that would check for such corruption).
The fact that the compressed contents of a compressed drive was stored in a single file implied the possibility of a user accidentally deleting all of their data by deleting just that file. This could happen if the user inadvertently got access to the host drive, containing this file. The host drive was usually mapped to the letter H: by the compression driver. However, if the compression driver had failed to load the user might see it as drive C:.
Turning off the computer before DoubleSpace could finish updating its data structures could also result in data loss. This problem was compounded by Microsoft making write caching enabled by default in the SMARTDRV disk cache software that came with MS-DOS 6.0. Because of this change, after exiting an application, the MS-DOS prompt might appear before all data had been written to the disk. However, due to the lack of a controlled shutdown procedure (as found in modern operating systems), many users saw the appearance of the MS-DOS prompt as an indication that it was safe to switch off the computer, which was typically the case prior to MS-DOS 6.0. Microsoft addressed this issue in MS-DOS 6.2 where the write caching was still enabled by default, but where the cache would be flushed before allowing the command prompt to reappear.
Add-ons
[edit]AddStor, Inc. offered an add-on product called Double Tools for DoubleSpace. It contained a number of tools to enhance the functions of the version of DoubleSpace that came with MS-DOS 6.0. This included various diagnostic features, the ability to have compressed removable media auto-mounted as they were used, as well as support for background defragmentation of DoubleSpace compressed drives.[3] To defragment files in the background, it was possible to let DoubleTools replace the low-level DoubleSpace driver (DBLSPACE.BIN) with one supplied by DoubleTools. Replacing the driver also enabled other enhanced functionality of the product, such as the use of 32-bit code paths when it detected an Intel 80386 or higher CPU, caching capabilities and – in addition to its supporting the use of the Upper Memory Area – also permitted the use of Extended Memory for some of its buffers (reducing the driver's total footprint in conventional and upper memory, albeit at the cost of somewhat reduced speed).[4] Another function was the ability to split a compressed volume over multiple floppy disks, being able to see the entire volume with only the first disk inserted (and being prompted to change discs as necessary). It was also possible to share a compressed volume with a remote computer. Double Tools also had the capability to put a special utility on compressed floppy disks that made it possible to access the compressed data even on computers that didn't have DoubleSpace (or Double Tools).
Vertisoft, the company who developed the DoubleDisk program that Microsoft subsequently licensed and turned into DoubleSpace, developed and sold a DoubleSpace add-on program called SpaceManager, which contained a number of usability enhancements. It also offered improved compression ratios.
Other products, like later versions of Stacker from Stac Electronics, were capable of converting existing DoubleSpace compressed drives into their own format.
Later versions
[edit]
MS-DOS 6.2
[edit]MS-DOS 6.2 featured a new and improved version of DoubleSpace. The ability to remove DoubleSpace was added. The program SCANDISK introduced in this release was able to scan the non-compressed and compressed drives, including checks of the internal DoubleSpace structures. Security features (known as DoubleGuard) were added to prevent memory corruption from leading to data loss. The memory footprint of the DoubleSpace driver was reduced compared to the version shipped in MS-DOS 6.0. A fix was made to the fragmentation issue discussed above.
MS-DOS 6.21
[edit]Following a successful lawsuit by Stac Electronics regarding demonstrated patent infringement, Microsoft released MS-DOS 6.21 without DoubleSpace. A court injunction also prevented any further distribution of the previous versions of MS-DOS that included DoubleSpace.
MS-DOS 6.22
[edit]MS-DOS 6.22 contained a reimplemented version of the disk compression software, but this time released under the name DriveSpace. The software was essentially identical to the MS-DOS 6.2 version of DoubleSpace from a user point of view, and was compatible with previous versions.
DriveSpace in Windows 95
[edit]Windows 95 had full support of DoubleSpace/DriveSpace via a native 32-bit driver for accessing the compressed drives, along with a graphical version of the software tools. MS-DOS DriveSpace users could upgrade to Windows 95 without any troubles. Furthermore, the Microsoft Plus! for Windows 95 pack contained version 3 of DriveSpace. This version introduced new compression formats (HiPack and UltraPack) with different performance characteristics for even greater compression ratios along with a tool that could recompress the files on the disk using the different formats, depending on how frequently the files were used. One could upgrade from DriveSpace 2 to DriveSpace 3, but there was no downgrade path back to DriveSpace 2. One could, however, decompress a DriveSpace 3 drive. The DOS device driver of DriveSpace 3 had a memory footprint of around 150 KB because of all these new features. This caused difficulty for users rebooting into the MS-DOS mode of Windows 95 for running games, because of the reduced amount of conventional memory that was available.
DriveSpace 3 also shipped with Windows 95 OSR2 but many features were disabled unless Plus! was also installed. DriveSpace could also not be used with FAT32, making it of little use on PCs with large hard drives.[5]
DriveSpace in Windows 98
[edit]Windows 98 shipped with DriveSpace 3 as part of the operating system. Functionality was the same as in Windows 95 with Plus!.
DriveSpace in Windows Me
[edit]Because of the removal of real mode support, FAT32 going mainstream and the decreasing popularity of DriveSpace, DriveSpace in Windows Me had only limited support. DriveSpace no longer supported hard disk compression, but still supported reading and writing compressed removable media, although the only DriveSpace operation supported beside that was deleting and reallocating compressed drives.
It is possible to restore full function of DriveSpace 3 (unofficially) in Windows Me, copying the executable file from a Windows 98 installation and using it to replace the executable included with Windows Me. After that, one could compress new drives as they could do on Windows 98.
Support outside Microsoft
[edit]DMSDOS, a Linux kernel driver,[6][7] was developed in the late 1990s to support both the reading and writing of DoubleSpace/DriveSpace disks. However, reading and especially writing to compressed filesystems is reliable only in specific versions of the 2.0, 2.1 or 2.2 versions of the kernel.
While DR-DOS supported its own disk compression technology (originally based on SuperStor, later on Stacker), Novell DOS 7 in 1993 and higher introduced an emulation of the undocumented pre-load API in order to provide seamless support for DoubleSpace as well.[1] Since the DR-DOS drivers were DPMS-enabled whereas the MS-DOS ones were not, this did not offer any advantages for DR-DOS users, but allowed easier coexistence or migration due to the possibility of shared use of already existing compressed volumes in multi-boot scenarios. DR-DOS 7.02 and higher also added support for DriveSpace in 1998.[8]
References
[edit]- ^ a b Schulman, Andrew; Brown, Ralf D.; Maxey, David; Michels, Raymond J.; Kyle, Jim (1994) [November 1993]. Undocumented DOS: A programmer's guide to reserved MS-DOS functions and data structures - expanded to include MS-DOS 6, Novell DOS and Windows 3.1 (2 ed.). Reading, Massachusetts: Addison Wesley. ISBN 0-201-63287-X. -- Andrew Schulman (1991-03-18). "Errata, Commentary, and Release Notes for UNDOCUMENTED DOS". Retrieved 2019-08-04. -- Ralf Brown (1994-01-08). "Undocumented DOS, 2nd Edition Errata". Retrieved 2019-08-04.
- ^ Livingston, Brian (1993-09-20). "It's a good idea to 'DoubleCheck' your disk for fragmentation". InfoWorld: 20.
- ^ Halfhill, Tom R. (February 1994). "How Safe Is Data Compression?". Archived from the original on 2008-06-19.
- ^ Eglowstein, Howard (February 1994). "Data Loss: A Cautionary Tale". Archived from the original on 2005-02-19.
- ^ www.helpwithwindows.com; HelpWithWindows.com, Arie Slob (1998-07-14). "Windows 98, FAT32". HelpWithWindows.com. Retrieved 2024-03-30.
- ^ "DMSDOS - Linux kernel driver". 2005-03-18. Archived from the original on 2016-11-11. Retrieved 2016-05-25.
- ^ "DMSDOS CVF module". 0.9.2.0. 1998-11-19. Archived from the original on 2016-11-02. Retrieved 2016-11-01.
- ^ Paul, Matthias R. (1997-10-02). "Caldera OpenDOS 7.01/7.02 Update Alpha 3 IBMBIO.COM". Archived from the original on 2003-10-04. Retrieved 2009-03-29. [1]
Further reading
[edit]- Cooper, Jim (2001). Special Edition Using MS-DOS 6.22, Third Edition. Que Publishing. ISBN 978-0789725738.
- Tim O'Reilly; Troy Mott; Walter Glenn (1999). Windows 98 in a Nutshell: A Desktop Quick Reference. O'Reilly. ISBN 978-1565924864.
External links
[edit]- "Microsoft DoubleSpace System Application Programming Interfaces (API) v1.00.05 and DoubleSpace Compressed Volume File (CVF) format" (ARJ). Microsoft. 1993 [1992]. Archived from the original on 2016-03-03.
- DoubleSpace Overview
- Mapping DOS FAT to MDFAT
- DoubleSpace Compressed Volume File Layout
- Microsoft Real-time Compression Interface (MRCI)
DriveSpace
View on GrokipediaIntroduction
Overview
DriveSpace is a software-based disk compression utility developed by Microsoft for MS-DOS and early versions of Windows, utilizing lossless compression to increase the effective storage capacity on drives formatted with the FAT file system.[2] It operates by compressing data or free space on hard drives, floppy disks, or removable media, creating a compressed volume file that hosts the data while reporting file sizes as if uncompressed.[2] The primary purpose of DriveSpace is to address storage limitations on systems with constrained disk space, particularly prevalent in the 1990s when hard drive capacities were expensive and limited, enabling users to store more files without purchasing additional hardware.[3] By typically achieving compression ratios up to 2:1, effectively doubling available space, it provided a cost-effective solution for extending drive utility.[2] Key benefits include its transparency to end-users, where compressed drives function and appear as standard drives within the operating system, seamless integration with MS-DOS and Windows file management tools, and support for booting directly from compressed volumes.[2][5] DriveSpace was introduced in MS-DOS 6.22 in 1994 as a replacement for the earlier DoubleSpace utility, following legal disputes with Stac Electronics over patent infringement in disk compression technology.[3][6]Historical Development
DriveSpace emerged as a direct response to legal challenges surrounding its predecessor, DoubleSpace, which was introduced in MS-DOS 6.0 in March 1993. DoubleSpace utilized disk compression technology licensed from Stac Electronics, whose Stacker software had pioneered on-the-fly compression for MS-DOS systems, effectively doubling available storage on limited hard drives. However, Stac filed a patent infringement lawsuit against Microsoft in January 1993,[7] alleging that DoubleSpace violated their Lempel-Ziv-Stac (LZS) compression patents without proper royalty payments, despite initial licensing discussions. A federal jury in Los Angeles ruled in Stac's favor on February 24, 1994, awarding $120 million in damages to the smaller firm, marking one of the earliest major patent victories against Microsoft in the software industry.[6][3] The lawsuit prompted swift action from Microsoft, leading to a comprehensive settlement announced on June 21, 1994. Under the agreement, Microsoft committed to paying Stac $43 million in licensing fees—structured as $1 million per month for 43 months—for access to Stac's compression patents, while also investing $39.9 million in convertible preferred stock, potentially granting Microsoft a 15% stake in the company upon conversion in 2004. This deal included mutual cross-licensing of existing and future compression technologies for five years and resolved Microsoft's $13.6 million counterclaim award from the trial, effectively superseding the $120 million jury verdict. In parallel, Microsoft halted sales of MS-DOS versions containing DoubleSpace, issuing MS-DOS 6.21 in March 1994 without the feature, and accelerated the development of an independent compression utility to eliminate ongoing licensing dependencies.[8][9] Microsoft's internal efforts focused on building a proprietary compression engine for what became DriveSpace, aiming to replicate DoubleSpace's functionality while circumventing Stac's patents through algorithmic redesign. Development began shortly after the lawsuit's filing, with engineering teams prioritizing reliability to address early DoubleSpace corruption issues reported by users. Beta testing occurred in early 1994, coinciding with the trial, and Microsoft publicly announced DriveSpace's integration during the settlement period, positioning it as a seamless upgrade for existing MS-DOS installations. DriveSpace debuted in MS-DOS 6.22, released in April 1994, restoring compression capabilities and serving as the technical replacement for DoubleSpace.[3][10] Upon release, DriveSpace saw rapid adoption among MS-DOS users constrained by the high cost and limited capacity of 1990s hard drives, which often ranged from 100-500 MB and could benefit from 2:1 compression ratios to accommodate growing software demands. It particularly extended the usability of older hardware, such as 286 and 386 systems, delaying costly upgrades amid economic pressures on personal computing. While exact adoption figures are scarce, contemporary reports highlighted its popularity as a bundled utility, with sales of MS-DOS 6.22 exceeding prior versions due to the compression feature's appeal in an era when storage expansion was not yet ubiquitous.[3][10]Technical Functionality
Compression Mechanism
DriveSpace employs a variant of the Lempel-Ziv (LZ) compression algorithm, augmented with Huffman coding, to achieve lossless data compression on disk volumes.[11][12] This block-based method processes data in blocks, which are individually compressed and stored within a compressed volume file (CVF) on the host drive. The algorithm identifies and encodes repeated byte sequences using dictionary references, reducing redundancy while maintaining data integrity for subsequent decompression. During operation, compression and decompression occur transparently on-the-fly as the operating system performs read and write actions. When data is written to the virtual compressed drive, it is compressed in real-time and appended to the CVF, which resides as a single large file on the uncompressed host drive. Reads from the virtual drive involve extracting and decompressing the relevant blocks from the CVF, presenting the data as if stored on a standard disk. This setup allows the CVF to emulate a full drive, with the host drive's original letter reassigned to it post-compression.[11] The compression efficiency typically achieves a 2:1 ratio for mixed workloads containing text, executables, and general files, though ratios vary significantly by content type—often exceeding 3:1 for compressible data like plain text but dropping below 1.5:1 for pre-compressed formats such as images or audio.[13] DriveSpace integrates seamlessly with FAT12 and FAT16 file systems by embedding a virtual FAT structure directly within the CVF, preserving the host drive's file system unaltered and enabling standard file operations on the compressed volume without requiring modifications to the underlying disk layout.[11] This shift to an in-house LZ variant was motivated by legal disputes over the Stac LZS algorithm used in the predecessor DoubleSpace.[3]Integration and Operation
DriveSpace embeds into the MS-DOS operating system through its device driver, DRVSPACE.BIN, which loads automatically during the boot process as specified in the CONFIG.SYS file.[14] Upon startup, MS-DOS initializes DRVSPACE.BIN in conventional memory before processing CONFIG.SYS and AUTOEXEC.BAT commands, ensuring access to compressed volumes even if the user skips loading non-essential drivers via F5 or F8 keys.[15] This driver then mounts compressed volume files (CVFs) transparently, skipping the first four drive letters (A, B, C, D) and assigning the next available letter—typically E: if C: is the host drive—allowing users to interact with them as ordinary partitions without awareness of the underlying compression.[14] In runtime operation, DRVSPACE.BIN intercepts all input/output (I/O) requests directed to compressed drives and routes them through the system's compression engine for real-time processing.[16] This on-the-fly compression and decompression occurs seamlessly in the background, requiring no manual intervention after initial setup and maintaining compatibility with standard file system operations.[16] The process leverages LZ-based algorithms to handle data efficiently, ensuring that applications and users experience minimal disruption while benefiting from increased storage capacity.[14] Management of DriveSpace is facilitated by the built-in DRVSPACE.EXE utility, a command-line and menu-driven tool for monitoring and maintaining compressed volumes.[15] Users can invoke DRVSPACE /INFO to display detailed compression status, including current ratios and available space on each CVF, or DRVSPACE /LIST to enumerate all drives, compressed or otherwise.[14] For basic maintenance, the utility supports tasks such as defragmentation of CVFs using integrated tools like DEFRAG, which optimizes the layout of compressed data to improve access times without unmounting the volumes.[17] DriveSpace accommodates multi-volume configurations by supporting the creation and management of multiple CVFs on a single host drive or across different partitions.[17] Each compressed drive is stored in a dedicated CVF (e.g., DRVSPACE.000, DRVSPACE.001), with drive letters assigned sequentially, enabling simultaneous access to several compressed areas.[14] The system reserves temporary uncompressed space on the host partition for the CVF container and any overflow, preventing immediate space exhaustion during intensive operations.[16]Usage and Compatibility
Installation Procedures
Before installing DriveSpace, users must perform several pre-installation checks to ensure system stability and data integrity. It is essential to back up all important data on the target drive using the MS-DOS Backup utility, as the compression process modifies the disk structure and could lead to data loss if errors occur. Additionally, the host drive must have at least 2-3 MB of free space to accommodate the compressed volume file (CVF) and overhead. Finally, run SCANDISK on the drive to detect and repair any disk errors, as faulty sectors can cause compression failures.[14][18] DriveSpace is typically set up via the command line after MS-DOS installation, using the DRVSPACE command for compression. To compress a specific drive, such as C:, enterDRVSPACE /COMPRESS C: at the MS-DOS prompt; this initiates the process, which estimates the compression ratio based on current data and creates a new compressed drive while preserving the original drive letter. The /NEWDRIVE= parameter can assign a custom letter to the resulting compressed drive if needed, e.g., DRVSPACE /COMPRESS C: /NEWDRIVE=E. The compression process scans files, applies the algorithm, and may take several hours depending on drive size, during which the system should not be interrupted.[14][19]
After compression completes, reboot the system to load the DRVSPACE.SYS device driver from CONFIG.SYS, which mounts the compressed drive transparently. Verify the setup by typing DRVSPACE (or DSPACE in some interfaces) at the prompt to open the DriveSpace utility, where users can view compression status, current ratio, and free space via the /INFO switch, such as DRVSPACE /INFO C:. Common errors like insufficient memory during setup can be resolved by unloading non-essential TSRs or ensuring at least 500 KB conventional memory is available; if the process aborts due to low space, free additional space and retry.[14][20]
To uninstall DriveSpace and restore the original drive configuration, use the /UNCOMPRESS switch, e.g., DRVSPACE /UNCOMPRESS C:, which decompresses the CVF back to the host drive while preserving data. This requires sufficient free space on the host (approximately the original uncompressed size) and may involve downtime during the lengthy reversal process; a reboot follows to unload the driver.[18]
Hardware and Software Requirements
DriveSpace requires an Intel 8086 or compatible processor, though practical performance benefits from a 386 or higher CPU due to the computational demands of real-time compression. A minimum of 2 MB RAM is necessary, with 4 MB recommended to support disk caching via SMARTDRV for optimal operation. The utility targets IDE or AT-style hard disk drives, necessitating at least 10 MB of free space on the host volume to initiate compression without risking system instability.[21][22] The software is compatible with MS-DOS 6.22 and the Windows 9x series (95, 98, and ME), with initial DriveSpace (version 2) in MS-DOS 6.22 and Windows 95, and DriveSpace 3 in Windows 98 and ME offering improved FAT32 and long filename support. It functions only on FAT file systems such as FAT12, FAT16, and later FAT32 where supported. It cannot compress or operate on NTFS volumes, and initial implementations lack support for VFAT long filenames, potentially causing issues with extended naming conventions. Network drives are unsupported for compression, as DriveSpace commands explicitly exclude them from operations like listing or mounting.[23] During use, DriveSpace imposes CPU overhead from on-the-fly compression and decompression, which can reduce read and write speeds on slower processors while potentially improving overall system responsiveness on CPU-bound setups with lagging disks. It consumes additional conventional memory for buffers, approximately 50 KB, and may encounter compatibility challenges with outdated BIOS versions or specific disk controllers that do not fully adhere to AT standards.[20][24] Key limitations include no support for CD-ROMs or other optical media due to their read-only nature. It supports floppy disks and some removable media. Early versions (DriveSpace 2), bound by FAT16 cluster granularity, limit compressed volume files to 512 MB; later iterations like DriveSpace 3 extend capacity to 2 GB per CVF.[23][2]Known Problems
Bugs and Glitches
DriveSpace exhibited several common software glitches that affected its reliability across implementations. One frequent issue involved driver loading failures, particularly when the protected-mode VxD driver (Drvspacx.vxd) and real-mode driver (DRVSPACE.SYS) versions were mismatched, often occurring after reinstalling Windows 95 or applying updates from Microsoft Plus!. This mismatch triggered error messages such as "DriveSpace VxD and real-mode driver are mismatched" during startup, leading to system instability including unusual screen characters, fatal exception errors, and boot loops where the system repeatedly failed to initialize the compressed volume.[25] Version-agnostic operational glitches included intermittent system hangs, especially during compression or decompression processes under high I/O loads, such as when restarting in mini-Windows mode after an interrupted operation. Users reported hangs accompanied by errors like "DrvSpace caused a General Protection Fault in module W31SPACE.EXE" or failures to load core modules such as PROGMAN.EXE, GDI.EXE, or USER.EXE, stemming from damaged temporary files in the hidden Failsafe.drv folder or corrupted Mini.cab in the Windows\System directory. Additionally, compatibility conflicts arose with certain disk utilities, including Norton Utilities' caching features like Norton Cache or Speedrive, which could interfere with DriveSpace's volume mounting if loaded before the DRVSPACE.SYS device driver in CONFIG.SYS.[25] Specific error codes highlighted these defects; for instance, the mismatched driver error directly prevented access to compressed volumes, while restart failures in mini-Windows mode produced messages like "Error Loading VGA.DRV" or "Cannot start Windows in standard mode," often due to partial writes during prior operations or power interruptions disrupting file integrity checks. These issues were not tied to hardware but to software interactions within the MS-DOS and Windows environments. Microsoft provided workarounds through knowledge base patches and manual configurations. For driver mismatches, users could boot to a command prompt, rename the faulty Drvspacx.vxd file, and extract the correct version (e.g., 61,719 bytes for Microsoft Plus! integration) from installation media like Plus_1.cab, followed by a system restart. Hangs during restarts were addressed by booting to safe mode, backing up and restoring Autoexec.bat and Config.sys from the Failsafe.drv folder, deleting the folder, and replacing Mini.cab from Windows 95 installation disks. To mitigate compatibility with utilities like Norton, editing CONFIG.SYS to load DRVSPACE.SYS before such tools (e.g., using DEVICEHIGH=DRVSPACE.SYS /MOVE) and enabling upper memory management with DOS=UMB ensured proper sequencing and buffer allocation, reducing conflicts. Unresolved bugs in these areas could occasionally escalate to data corruption, as explored in the Data Loss and Recovery section.[25]Data Loss and Recovery
DriveSpace compressed volumes were vulnerable to data corruption, primarily affecting the Compressed Volume File (CVF), which served as the container for all compressed data and could become inaccessible if damaged. A key risk was corruption of the CVF header or structure due to improper shutdowns or power failures, which interrupted critical write operations and often resulted in bad sectors within the CVF. This could prevent the volume from mounting, effectively locking users out of their data until repair or recovery was attempted. Another significant issue involved chain inconsistencies in the virtual File Allocation Table (FAT), such as cross-links between clusters or lost allocation entries, which arose from incomplete updates to the compressed file system's metadata and led to fragmented or irretrievable files.[26] A known risk involved third-party disk utilities, such as Mace Utilities' Sector Editor, which could inadvertently corrupt DriveSpace CVFs by modifying underlying sectors without accounting for the compression layer.[26] Recovery from such corruption typically began with attempting to mount the CVF using DRVSPACE commands; if partially successful, the/UNCOMPRESS switch could decompress the volume to a host drive, allowing data extraction before further degradation. For severe cases involving bad sectors, third-party tools like SpinRite were employed to scan and repair the physical media, refreshing surfaces and recovering readable data from damaged CVF regions. Microsoft offered official recovery options through bootable disk utilities and the integrated SCANDISK tool, which could analyze and fix virtual FAT inconsistencies when run directly on the CVF file (e.g., SCANDISK C:\DRVSPACE.000 /SURFACE). In extreme scenarios, users resorted to imaging the host drive and using specialized undelete or surface repair software to salvage files.[27][28][26]
To mitigate these risks, Microsoft recommended maintaining regular backups of all critical data to uncompressed media, as compression amplified the impact of failures. Users were also advised against compressing system-critical files like boot sectors or kernel components, which could exacerbate boot-time corruption. Periodic maintenance using SCANDISK on CVFs helped detect chain inconsistencies early, preventing escalation to total data loss.[26]
