return to first page linux journal archive
keywordscontents

Product Review

PartitionMagic 4.0: A Linux User's Perspective

PowerQuest was the first company to develop a popular commercial product to modify a computer's partitions non-destructively. Developed originally for OS/2 and then ported to DOS and MS Windows, previous versions of PartitionMagic have been able to create, destroy, resize and copy FAT-16, FAT-32, HPFS and NTFS partitions, as well as convert from FAT-16 to any of the other formats. Needless to say, this has been a great boon to those with multiple operating systems, since it frees them from the tyranny of fixed partition sizes, allowing changes to disk resource allocation without the need to back up to tape, re-partition and restore. Up to version 3.05, however, PartitionMagic included no Linux-specific support. We could modify file systems for DOS, MS Windows and OS/2, but if we needed to modify Linux file systems, we had to do the backup/re-partition/restore dance or use various other workarounds, such as creating new partitions for spillover from existing partitions. PartitionMagic 4.0 promises to change this, with support for Linux EXT2 and Linux swap partition types.

Program Features

PartitionMagic 4.0 contains an impressive array of features for partition management. These features are included:

In addition, PartitionMagic has a handful of other features that are of interest primarily to DOS or MS Windows users. For example, it has the ability to move applications from one FAT partition to another and diagnostics to help determine the best possible partition sizes for optimum FAT allocation block use.

PartitionMagic is available for download directly from PowerQuest's web site (via an on-line secure order form that asks for a credit card number) and as a retail package. I purchased my copy via the web site, using my existing 2.02 license number to obtain the upgrade pricing. The entire download is on the order of 50MB, so you will need several hours and/or a fast net connection if you choose to get it in this way. I received ample documentation in Adobe PDF format.

The program is definitely geared towards MS Windows users: when burned to CD, the files create a CD that includes an auto-install program when inserted into a MS Windows machine. Some of the more esoteric features seem to be present only in the MS Windows version of the program, but the one of greatest potential interest to Linux users, Boot Magic, requires a FAT partition to operate in the first place, so this is not a major loss. The installation files include a directory called ``linux'' which contains two disk images that can be copied to blank 1.44MB floppies. The first of these is a bootable OpenDOS 7.01 disk image with the main DOS PartitionMagic 4.0 executable and a few support files, including a Microsoft mouse driver. The second image includes help files for accessing PartitionMagic's help system from the first disk. Thus, those with Linux and no other OS can still use PartitionMagic by booting this floppy. It can, of course, be customized with other mouse drivers or features. Some of my testing, described below, was done with this DOS disk and some of it was done with MS Windows. Aside from the ``Wizards'', the DOS and MS Windows versions of the program perform similarly.

PartitionMagic in Operation

I ran PartitionMagic through a series of tests on my system. I have a SCSI-based computer using a Symbios 53c860-based SCSI host adapter with a secondary adapter based on the Initio 9100UW chip. I ran tests with my SCSI hard disks attached to each of these adapters, with similar results both times. My hard disks include a 4GB Micropolis UltraSCSI, a 2GB Micropolis Fast SCSI-2 and a 2GB IBM UltraSCSI. Since one of the 2GB drives was used entirely for Linux swap space and temporary storage for CD-ROM creation, I was able to use it as a test-bed drive, copying file systems from the other two drives and modifying them with impunity. Most of my tests involved copying, moving and resizing EXT2 and HPFS partitions, although I also tried some operations on FAT-16 and FAT-32 partitions.

In operation, PartitionMagic 4.0 was relatively easy to use and worked as advertised--some of the time. Unfortunately, it produced errors of one sort or another on my system at least as often as it functioned correctly. Sometimes the errors would appear at the end of an operation and not have any apparent ill effect. A few times they would appear at the beginning of an operation, causing it to abort. Other times, particularly with copy operations, errors would occur at the end of an operation and abort it. I also encountered file system corruption on some tests, particularly tests involving HPFS. The one time I encountered ext2fs corruption, e2fsck was able to correct the problems.

For a number of reasons, I am certain that my physical hard drive system is not to blame for these problems. First, I did a low-level format on the IBM drive I was using as a test bed, so I am certain it was free from physical defects. Second, PartitionMagic 4.0 reported no errors on the drive when it was configured to check for them prior to each operation. Third, problems occurred on both the IBM and the Micropolis 2GB when I reconfigured my system to use it for the tests. Fourth, problems occurred with both the Symbios 53c860 board and the Initio board as the host for the hard disks. Finally, problems did not occur when I tried the same operations with PartitionMagic 2.02 (when they were possible with that version of the program).

Thus, I am quite certain that PartitionMagic 4.0 has some serious bugs. These bugs are so severe and so obvious that I find it hard to believe a reputable company would ship a product knowing these bugs existed. Therefore, I must conclude that PowerQuest did not know they existed (although I have now filed extensive bug reports with them) and that something about my system was turning up bugs in the software. Perhaps the peculiar drive geometry on my first physical disk (1018 cylinders, 133 heads, 62 cylinders), produced by the Symbios host adapter, has something to do with it; or maybe PowerQuest simply did minimal testing with SCSI systems; or perhaps their testing used relatively simple partitioning. My drives each have at least two partitions and problems tended to turn up more frequently with three or more partitions.

In addition to the out-and-out primary function bugs, Partition Magic has a number of limitations, some of which would not even occur to many people except that the program really can do so much. Specifically:

Recommendations

The above may appear to paint a rather bleak picture--to some extent, this is justified. The types of operations performed by PartitionMagic are inherently dangerous and bugs in such a program are a serious matter. On the other hand, my suspicion that the bugs manifest due to something specific about my system may mean that others may have better luck. PowerQuest also has a good reputation for producing reliable software, so I have high hopes that they will correct these problems. Assuming this happens, PartitionMagic 4.0x will be an excellent program and a must-have utility for anyone managing multiple operating systems on one computer. The $69.95 price may seem a bit high, but if you have ever spent most of a day juggling partitions around using tape backups, removable disks or some similar mechanism, you'll recognize the appeal of being able to do that quickly and on the fly. If you own a previous version of PartitionMagic, the $29.95 upgrade price represents a true savings for any Linux user, since it radically improves on the program's utility for the Linux community.

The best possible way to use PartitionMagic seems to be as an exclusive means of managing partitions on a drive. Because of incompatibilities such as the one mentioned above with Linux's fdisk, I recommend using PartitionMagic to create all the new partitions on a disk. If you find yourself with a disk that PartitionMagic won't handle because of Linux-created logical partitions, you may be able to use Linux's fdisk to delete the offending partitions and recreate them in the correct order. If you're careful to create new partitions of precisely the correct size, your partitions will still be usable, but I strongly recommend backing them up before attempting such an operation.

If version 4.01 is not available by the time you read this, I recommend waiting for it unless you are in immediate need of Partition Magic's abilities. If you must use version 4.0, use it cautiously: back up all data before changing a partition, then run e2fsck, CHKDSK, or SCANDISK on any modified partitions immediately thereafter. (You may need to specify the -f option to e2fsck to be sure it runs on the partition.) A spot check of the integrity of the data after a modification would also be a good idea. Of course, these suggestions also apply to any program that does low-level operations on a hard disk, but given the problems I encountered with PartitionMagic 4.0, they apply even more strongly to it.

Roderick Smith can be reached via e-mail at rodsmith@fast.net.