Home > Enterprise Desktop Tips > > Using Diskpart to create, extend or delete a disk partition
Enterprise Desktop Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Using Diskpart to create, extend or delete a disk partition


Tim Fenner, Contributor
01.31.2007
Rating: -3.65- (out of 5)


Expert advice on Windows-based systems and hardware
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


One highly useful utility for Windows 2000/XP/Windows Server 2003 users is the Disk Partition Utility, aka Diskpart, a command-line interpreter designed as a disk management tool.

In a recent article, I showed you how to use Diskpart to scan for newly added disks. But Diskpart can also be used to create, delete and resize hard drive partitions as well as assign or reassign drive letters.

Note: Any text in parentheses are comments only; they should not be typed along with any commands given.

Create a partition in Windows with Diskpart. Using Diskpart to partition your disk is very beneficial for increasing the I/O performance of hard disks newly added to a RAID array. The documentation for many server applications, such as Microsoft Exchange Server, actually goes so far as to recommend that you should use Diskpart to create your Primary or Extended partitions. (A primary partition an be used as the system partition; an Extended Partition can only be used for additional logical drive assignments.)

To create a partition:

Extend a partition in Windows with Diskpart. When it comes to adding space to a partition or volume, this method is superior to configuring Dynamic Disks. Dynamic Disk extensions only concatenate the newly added space, menaing they merely add the disk space to the "end" of the original partition without restriping the data.

Concatenation isolates performance within each partition and does not offer fault tolerance when the partition is configured in a RAID array. Diskpart allows you to restripe your existing data. This is truly beneficial when the partition is set up i


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


RELATED CONTENT
Microsoft Windows hardware, including laptop and notebook reviews
Intel's Moblin raises stakes on netbook OS race
Should administrators use hard disk compression?
How to move hard drives and transplant system drives between servers
Step-by-step guide: Laptop hacking
Step 1: How it can happen
Step 2: How to crack a laptop
Step 4: Laptop security summation
Step 3: How to secure a laptop
Establishing multiple hardware profiles in Windows XP
The Dell Latitude XT: A solid tablet, but at what cost?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
CONFIG.SYS  (SearchEnterpriseDesktop.com)
desktop computer  (SearchEnterpriseDesktop.com)
physical computer  (SearchEnterpriseDesktop.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


n a RAID array, because the existing partition data is spread out across all the drives in the array, rather than just adding new space to the end (like Disk Administrator).

Microsoft's "official" position is that that you cannot use Diskpart to extend your system or boot partition. However, this tip on SearchWinComputing.com on increasing the capacity of your system volume, suggests otherwise.

Note: If you try it or any other method, make sure you have a full backup.

To extend a partition:

Note: It is not necessary, but I normally reboot the server to make sure all is well from a startup standpoint.

To delete a partition in Windows with Diskpart: (Note: You cannot delete an active system or boot partition or a partition with an active page file.)

To wiping (or zero) a disk:
This operation deletes all data on the disk

Final note: Here are four important things to keep in mind regarding Diskpart.

[IMAGE]
[IMAGE]Diskpart Technical Guide
[IMAGE]
[IMAGE]  Introduction
[IMAGE]  Diskpart: A command-line for manipulating disk partitions in Windows
[IMAGE]  Diskpart utility scans for newly added disks
[IMAGE]  Diskpart: Create, extend or delete a partition

About the author:
Tim Fenner (MCSE, MCSA: Messaging, Network+ and A+) is a senior systems administrator who oversees a Microsoft Windows, Exchange and Office environment, as well as an independent consultant who specializes in the design, implementation and management of Windows networks.

Rate this Tip
To rate tips, you must be a member of SearchEnterpriseDesktop.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Enterprise Desktop Security - Virus Protection, Malware Protection, Intrusion Detection
HomeTopicsITKnowledge ExchangeTipsMultimediaWhite PapersBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2008 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts