Solved

Diskpart align raid

Posted on 2012-04-13
5
831 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
ID: 37843669
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
ID: 37843772
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
ID: 37844733
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
ID: 37845685
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
ID: 37845706
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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Star schema daily updates 2 37
Linked Server - SP with Param to VIew 7 22
SQL Syntax 6 31
Upgrade dos 4.00.1111 11 32
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

749 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