Solved

Diskpart align raid

Posted on 2012-04-13
5
822 Views
Last Modified: 2012-06-27
I am trying to align the raid in windows 2000 sp4 to 1024.  
This version of diskpart 5.1 does not support this.

Any Ideas on how to do this
0
Comment
Question by:mleidich
  • 3
  • 2
5 Comments
 
LVL 10

Expert Comment

by:Subhashish Laha
Comment Utility
Try using old version of Diskpart released in 2001

http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=23711

If fail, use Diskpar tool to align partition

http://technet.microsoft.com/en-us/library/bb643097(v=exchg.80).aspx
0
 

Author Comment

by:mleidich
Comment Utility
what would be the command for diskpar.
Sql needs needs to be align=1024 if using diskpart.
What would that be using diskpar.

and format using what allocation size?
0
 

Author Comment

by:mleidich
Comment Utility
Sql 7 needs align=1024 in diskpart.exe
does anyone know how that would look using diskpar.exe

Diskpart will not work on my Win2000 server, but Diskpar will.
0
 
LVL 10

Expert Comment

by:Subhashish Laha
Comment Utility
The main difference is that diskpar creates a partition in sectors (512byte), and diskpart uses kilobytes. Simple calculation is

512 byte = 1 sector
1024 byte (1 KB) = 2 sector
so, 1024 KB = 2048 sector

So in Diskpart - if your alignment value is 1024 (in KB), then Diskpar value will 2048 ( multiple by 2)
0
 
LVL 10

Accepted Solution

by:
Subhashish Laha earned 500 total points
Comment Utility
Refer below screenshot

Diskpar
Diskpar -s <Disk number>    -   you can find disk number from Disk management
It will prompt you for continue , press (Y)es

Enter Starting offset = 2048  (in your case, 2048 sector = 1024 KB)
Total partition length =  xxx    (enter in MB)

You can leave the partition length blank and hit enter if your partition is going to utilize complete disk.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

Introduced in Microsoft SQL Server 2005, the Copy Database Wizard (http://msdn.microsoft.com/en-us/library/ms188664.aspx) is useful in copying databases and associated objects between SQL instances; therefore, it is a good migration and upgrade tool…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now