SSD Alignment

Problem description

The traditional rotating disks are divided into physical sectors. The Windows operating systems and their components operate according to this sector logic. Despite the fact that SSDs store the data in a completely different way, they are still being treated with this sector logic.

The alignment of the SSD is required to assure that a logical sector starts exactly at the beginning of a physical page of the SSD. Without the alignment, the sector boundaries and the page boundaries will not match and sectors will span pages. That would require for a Windows write operation to clear two blocks in lieu of only one thus reducing the write speed by 50%.

Situation

If you install Windows7 on a brand new SSD, you need not make any special arrangements because the Windows7 installer will do the alignment for you. For Vista you are lucky because the start sector happens to match a SSD page. For XP the start sector is 126 which would be in the middle of a SSD page, thus a prior alignment is required.
A similar situation is present when you clone an existing OS (including Windows7) on a new SSD.

Solution

The easiest way to align an SSD is to create an aligned partition on the SSD with the help of Diskpart. Open an elevated command prompt and run the following sequence of commands – each line followed by Enter.

Diskpart
List disk
Select disk n (where n is the number that was given for your SSD in List disk)
Clean
Create partition primary align=1024
Format fs=ntfs quick
Active (assuming you want to install an OS)
Exit

Note: If you want to create a 100MB partition with alignment, the create command is:

Create partition primary size=100 align=1024

The size unit is always MB.

Verification

If you want to verify the alignment (e.g. for a SSD where you are not certain whether the proper alignment was done), you use the following commands.

Diskpart
List disk
Select disk n (where n is the number that was given for your SSD in List disk)
List partition

Now you should see a result like this.

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 Primary 59 GB 1024 KB - but 64KB or any number divisible by 4 is also good

The offset (in KBs) has to be divisible by 4.


Note: Some readers and users of this tutorial got confused because the alignment numbers in a typical Windows7 installation are shown as:

1024KB for the 100MB partition
101MB for the next partition - which is most likely the C partition

They think that 101MB is not divisible by 4 and that there must be a problem. But that is not so. If you convert 101MBs into KBs (multiply by 1024), then the number is divisible by 4 and the partition is aligned.















 
Last edited by a moderator:
You say align it. Will it be alligned if I do diskpart? Sorry, I'm brand new to the world of SSD.
 

My Computer

Computer Manufacturer/Model Number
home built
OS
Windows 7 Professional x64
CPU
AMD Athlon 64 X2 6000 3.1GHz
Motherboard
Asus M3A78-EM
Memory
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400)
Graphics Card(s)
ATI Radeon HD4350 512mb
Sound Card
on board
Monitor(s) Displays
Samsung SyncMaster 206bw
Screen Resolution
1680x1050
Hard Drives
Seagate 250gb
WD 160gb
WD 250gb USB
Maxtor 40gb (backup)
PSU
Thermaltake PurePower 500watt
Case
Apevia
Cooling
2x120 case fans
Keyboard
wireless Logitech
Mouse
wireless Logitech
Internet Speed
DSL (best I can do in the boonies)
Other Info
Lord make my word sweet, in case I have to eat them later...
Yes, it's the 5th line in the process:
Create partition primary align=1024
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.
You align it manually after entering diskpart:

Enter diskpart from a command prompt; these would be the commands:

Diskpart (to enter diskpart)
List disk (to get diskpart to show you a list of disks it sees; you should have only the SSD connected)
Select disk n (where n is the number that diskpart says applies to the SSD; normally it's 0; might be 1)
Clean (wipes the drive clean if anything is on it)
Create partition primary align=1024 (this creates and aligns a primary partition)
Format fs=ntfs quick (this formats the SSD with NTFS file system)
Active (this makes the partition active)
Exit
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Ignatz Special; 4 speed manual gearbox; factory air conditioning; one of one
OS
Windows 7 Home Premium SP1, 64-bit
CPU
Intel Skylake i5-6600K, not overclocked
Motherboard
AsRock Z170M Extreme 4, micro ATX
Memory
8 GB HyperX DDR4-2666 (2 x 4 GB)
Graphics Card(s)
none; graphics are integrated on CPU
Sound Card
onboard: Realtek ALC1150; external: USB Behringer UF0-202
Monitor(s) Displays
Dell S2340M 23 inch IPS
Screen Resolution
1600 x 900
Hard Drives
System: Crucial MX100 series SSD, 128 GB;
Data: Samsung Spinpoint 103SJ, 1 TB;
Backup: WD Caviar Green WD30EZRX-00D8PB0, 3 TB
PSU
Rosewill SilentNight 500 watt fanless, semi-modular
Case
Antec Solo II
Cooling
Noctua NH-U12S; Noctua F12 intake, Noctua S12A exhaust
Keyboard
Microsoft 200 6JH-00001 USB
Mouse
Dell or Microsoft optical wired; USB
Antivirus
Microsoft Security Essentials and Malwarebytes Premium
Browser
Pale Moon
Other Info
All fans PWM; speeds at idle: CPU circa 500 rpm; intake circa 600 rpm; exhaust circa 600 rpm; CPU temps 27 idle and 47 C load in a warm room (27 C/81 F) when running Intel Extreme Tuning Utility stress test.
Thanks guys, you are so helpful.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
You align it manually after entering diskpart:

Enter diskpart from a command prompt; these would be the commands:

Diskpart (to enter diskpart)
List disk (to get diskpart to show you a list of disks it sees; you should have only the SSD connected)
Select disk n (where n is the number that diskpart says applies to the SSD; normally it's 0; might be 1)
Clean (wipes the drive clean if anything is on it)
Create partition primary align=1024 (this creates and aligns a primary partition)
Format fs=ntfs quick (this formats the SSD with NTFS file system)
Active (this makes the partition active)
Exit
After this, will the SSD be ready to add the Windows 7 image?
 

My Computer

Computer Manufacturer/Model Number
home built
OS
Windows 7 Professional x64
CPU
AMD Athlon 64 X2 6000 3.1GHz
Motherboard
Asus M3A78-EM
Memory
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400)
Graphics Card(s)
ATI Radeon HD4350 512mb
Sound Card
on board
Monitor(s) Displays
Samsung SyncMaster 206bw
Screen Resolution
1680x1050
Hard Drives
Seagate 250gb
WD 160gb
WD 250gb USB
Maxtor 40gb (backup)
PSU
Thermaltake PurePower 500watt
Case
Apevia
Cooling
2x120 case fans
Keyboard
wireless Logitech
Mouse
wireless Logitech
Internet Speed
DSL (best I can do in the boonies)
Other Info
Lord make my word sweet, in case I have to eat them later...
Yes
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
I was hoping to image my ssd (tomorrow when everything arrives) but I'm reading that because my PC was set to raid and not AHCI when 7 was installed I won't be able to do anything but a clean install. Is this correct, or is there something I can do to make it work?
 

My Computer

Computer Manufacturer/Model Number
home built
OS
Windows 7 Professional x64
CPU
AMD Athlon 64 X2 6000 3.1GHz
Motherboard
Asus M3A78-EM
Memory
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400)
Graphics Card(s)
ATI Radeon HD4350 512mb
Sound Card
on board
Monitor(s) Displays
Samsung SyncMaster 206bw
Screen Resolution
1680x1050
Hard Drives
Seagate 250gb
WD 160gb
WD 250gb USB
Maxtor 40gb (backup)
PSU
Thermaltake PurePower 500watt
Case
Apevia
Cooling
2x120 case fans
Keyboard
wireless Logitech
Mouse
wireless Logitech
Internet Speed
DSL (best I can do in the boonies)
Other Info
Lord make my word sweet, in case I have to eat them later...
Nah, that has nothing to do with it. Leave it set to Raid.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Thanks for all your help. I may have more questions. :D
 

My Computer

Computer Manufacturer/Model Number
home built
OS
Windows 7 Professional x64
CPU
AMD Athlon 64 X2 6000 3.1GHz
Motherboard
Asus M3A78-EM
Memory
G.SKILL 4GB (2 x 2GB) 240-Pin DDR2 SDRAM DDR2 800 (PC2 6400)
Graphics Card(s)
ATI Radeon HD4350 512mb
Sound Card
on board
Monitor(s) Displays
Samsung SyncMaster 206bw
Screen Resolution
1680x1050
Hard Drives
Seagate 250gb
WD 160gb
WD 250gb USB
Maxtor 40gb (backup)
PSU
Thermaltake PurePower 500watt
Case
Apevia
Cooling
2x120 case fans
Keyboard
wireless Logitech
Mouse
wireless Logitech
Internet Speed
DSL (best I can do in the boonies)
Other Info
Lord make my word sweet, in case I have to eat them later...

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
We have answers, and whs has some of the best ones.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built Desktop By DataTech
OS
Windows 7 Ultimate X64 SP1
CPU
Intel i5-2550K, Differing ~4.4-4.8GHz No built in GPU
Motherboard
ASUS P8Z68-V PRO/GEN3
Memory
16GB G.Skill Sniper 1866MHz @ 2133MHz 2x8GB
Graphics Card(s)
ASUS GTX650TIB-DC2OC-2GD5, (650TI Boost)
Sound Card
Onboard Realtek 5-1
Monitor(s) Displays
Samsung P2570HD
Screen Resolution
1920x1080
Hard Drives
Samsung 840 Pro 256GB SSD for OS, 500GB Seagate Constellation (Enterprise drive) for Data
PSU
Corsair HX650W
Case
Inwin Dragon Rider
Cooling
Hyper 212 EVO w/two Noctua fans, push-pull, @1300 RPM
Keyboard
E-Z Eyes, bright yellow keys with large characters
Mouse
steelseries SENSEI Laser Pro Gaming
Internet Speed
48-51Mbs Mbs down, 11 Mbs up Xfinity Cable
Antivirus
Norton Internet Security 2013
Browser
IE 10, Opera, Pale Moon if needed
Other Info
4 case fans, LG BluRay-RE, ASUS DVD-RW, Mr. Fusion power supply, 1.21 gigawatts.

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
I've just used the paragon alignment tool 4.0 to align my SSD (OCZ Vector 128GB), and the problem is "blue screen of death" appear when windows 7 restart to align my drive.
Anybody help me @@!
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x86

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
OK man! I'll try AOMEI Partition Assistent free first.
One more question, after aligned my ssd successfully, may "31k bad-error" will fixed?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x86
Yeah, should be fixed.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Yeah, should be fixed.

Hey guy!

I used AOMEI Partition Assistent free vesion to align my ssd. After win 7 restart to align, the process bar is 3,33% and mornitor turn to black, i waited for 15m and nothing happen, so i have to shutdown my pc (hold power button in 5s).

After that, i turn on my pc and the error appear:

"Windows Boot Manager:
Windows failed to start. A recent hardware of software change might be the cause. To fix the problem:

1.Insert your Windows installation disc and restart the computer.
2.Choose your language settings, and then click "Next".
3.Click "Repair your computer."

If you do not have this disc, contact your system administrator or computer manufacturer for assistance.

Status: 0xc000000f

Info: The boot selection failed because a required device is inaccessible"

Now i've just fixed this error and access my pc normally.

What's problem with "AOMEI Partition Assistent free vesion" and my PC. @@!

P/S: Sorry about my bad english :D
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x86
Yeah, should be fixed.

Hey guy!

I used AOMEI Partition Assistent free vesion to align my ssd. After win 7 restart to align, the process bar is 3,33% and mornitor turn to black, i waited for 15m and nothing happen, so i have to shutdown my pc (hold power button in 5s).

After that, i turn on my pc and the error appear:

"Windows Boot Manager:
Windows failed to start. A recent hardware of software change might be the cause. To fix the problem:

1.Insert your Windows installation disc and restart the computer.
2.Choose your language settings, and then click "Next".
3.Click "Repair your computer."

If you do not have this disc, contact your system administrator or computer manufacturer for assistance.

Status: 0xc000000f

Info: The boot selection failed because a required device is inaccessible"

Now i've just fixed this error and access my pc normally.

What's problem with "AOMEI Partition Assistent free vesion" and my PC. @@!

P/S: Sorry about my bad english :D
On the whole phoenix such software is not used by a lot of us and the tutorial does the alignment for you without any outside help.

Personally I would clean and format that drive and start from scratch - the tutorial way.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Own build (new) Desk1 / Asus ROG Win 7 / Desk2 1st build
OS
Desk1 7 Home Prem / Desk2 10 Pro / Main lap Asus ROG 10 Pro 2 laptop Toshiba 7 Pro Asus P2520 7 & 10
CPU
Desk1 i5 3750K / Laptop i7 GTX 860M / Desk2 i5 2500
Motherboard
Desk1 Asus P877-V / Desk2 Gigabyte H67 UD3H / Laptop ?
Memory
Desk1 8GB (1866) / Desk2 16GB (1333) / Laptop 8Gb DDR3
Graphics Card(s)
Desk 1& 2NVidia GTX 650 & Laptops on board Intel
Sound Card
Desk 1 & 2 -XONAR DG Realtek High Def audio Laptop
Monitor(s) Displays
Desk 1 Benq HD 2450 / Desk2 Philips 24" / Laptop 17.5"
Screen Resolution
1920x1080 D1 & D2 & Laptop 1
Hard Drives
Desk1 Samsung 120GB 830 SSD
Asus ROG 256GB 850 Pro SSD
Desk2 Samsung 840 256 SSD
Toshiba 120GB EVO
PSU
Desk 1 Corsair HX 1050/ Laptop ? / Desk 2 Corsair HX 650
Case
Desk 1 Cooler HAF XM ? Toshiba laptop / Desk2 Coolermaster
Cooling
Fans on all Desk1 -2 Desk2 - all Coolermasters 5 Laptop ?
Keyboard
Desk 1 MS Sidewinder X6 Desk 2 MS Sidewinder X 4
Mouse
Desk 1&2 - Gigabyte MS 900 gamer - laptop - Logitec wireless
Internet Speed
ADSL2+
Other Info
One other Desktop (tester) and spare Toshba laptop both with SSD's
Running Kaspersky 2016 ISS on all machines config'd identically
Logitec audio stereo systems on each machine (x3)
Canon MG5250MFC
Router/modem TP-Link running WPA2SK
.

Personally I would clean and format that drive and start from scratch - the tutorial way.

Before i come to this topic, i format my ssd and make a clean install win7, my pc works normally. But my ssd has been " 31k bad-error" when i benchmark it (using as ssd benchmark software). Somebody told me try to align my ssd to fix this error:

[YOU************//www.youtube.com/watch?v=wW7KWqWcLe0[/YOUTUBE]

:cry::cry::cry:
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 Ultimate x86
Apparently the AOMEI program is faulty. That does not really amaze me because their Imaging program is buggy too. It does not work at all on 32bit systems. You are probably best off to do what John suggests.
 

My Computer

Computer Manufacturer/Model Number
HP, Dell, Gateway, Toshiba - 4 laptops and 2 desktops
OS
Vista, Windows7, Mint Mate, Zorin, Windows 8
CPU
from 1.6GHz Duo to i7
Monitor(s) Displays
2x HP w2207
Hard Drives
5x HDD, 7x SSD, 12x Externals
Keyboard
with trackball - no mices
Mouse
Trackball mice
Internet Speed
DSL 6000
Back
Top