SlipperyDuck wrote:Some more thought - and well, a better way.
1. Install Windows 7 on SSD RAID-0 [success]
2. Boot into recovery mode off DVD, select command prompt
3. robocopy /copyall /mir /xj c:\users d:\users (D is my magnetic drive RAID-0)
4. rmdir /s /q c:\users (delete the users folder on the SSD)
5. mklink /J c:\Users d:\Users (create an NTFS hard link (junction) pointing c:\Users to the D drive
6. Restart and enjoy lack of massive writes.
Yeah - rush mode explaination of what i did.
1. Install Windows 7 on my SSD
2. Now that Windows 7 is installed all on the SSD, I boot off the Windows 7 DVD and go to REPAIR mode. Select my Windows 7 installation [coz thats what you will be presented with] and it will then present you with the set of repair options, one of them being the Command prompt.
3. Now the idea behind this is that the C:\Users folder is where all the user profiles, temp files, log files, application specific files, user specific registry and all horrbily write condusive files are located, this includes your Internet browser cache and writing of every click you make resides. So this is the #1 problem folder for SSD drives since it goes absolutely ballistic with writing small files and small changes to this folder all the time.
So what I do next from the command prompt is to do an exact mirror copy of this folder onto the Magnetic drive, where writing has no wear on the disk.
Robocopy is the tool to use for this, robocopy is a built in Windows7 tool that copies with extreme intelligence, I won't go into the details, just know that it's the best for this job.
This command:
robocopy /copyall /mir /xj c:\users d:\users
/copyall - - Guess what, it will copy everything, hidden, system, secured, normally-unmoveable.
/mir --- MIRROR, this option makes sure that the source and destinations are mirror copies as in they are EXACTLY the same, security and files attributes and all that jazz
/xj -- this just means don't follow junctions points, if it did we'd have a problem as we'd be copying things from all over without proper destinations, that would be bad.
c:\Users -- this is the folder with all the heavy writing in windows 7
d:\Users -- Tells robocopy to create a folder call Users on my D drive and copy all the stuff there.
So that's it, robocopy then goes off and begins copying like crazy, since we've booted off the DVD, no files will be locked, so there will be no problems with copying everything to the new drive.
4. Next up, what we do is to actually completely DELETE the c:\Users folder, don't worry we’ve made an exact copy on the D drive now, so c:\Users should no longer exist. To DELETE it, we use the rmdir command at the command prompt.
rmdir /s /q c:\Users
rmdir -- remove directory
/s -- this means this directory and all sub-directories that are contained within it.
/q -- quiet mode, this basically means don't prompt for files that are protected or hidden or system etc, just answer yes to the "Are you sure you want to delete" questions, then don't tell my about it, just do it.
c:\Users -- well, this is the directory we want to remove.
5. At this point, c:\Users does not exists, the system would fail to boot since it requires the Users folder for settings and User registry information.
We've move c:\Users --> d:\Users from the steps above.
NOW WE TRICK THE SYSTEM!!!
basically what we will do next is create an NTFS Junction, which is a fancy way of saying to the System that c:\Users IS ACTUALLY d:\Users without anyone
or anything having to really think about it.
mklink is the tool to do this (make link)
mklink /J c:\Users d:\Users
/J -- Make a junction, this is like pegging a stick in the ground for the hard drive, telling it that that folder is on this drive, when it is actually on another drive.
c:\Users -- this is the Folder that it will now create, *NOTE you do not actually create this folder, the mklink tool will automagically create it.
d:\USers -- this is what this link is urm, linked to. Whenever the system now tries to read or write to c:\Users and/or any of it's sub-folders, it's actually doing
it on the d:\Users folder
6. Any thats all folks. We're done! All we need to do is reboot and fogedabowdit.
From this point on, all the heavy hitting SSD life-span killing writes are on the magnetic drive, your performance is not affected, since these are small writes
and small reads, the BULK of the data sits on the SSD which is where the speed is needed. You'd be hard pressed to see any sort of drop in performance by
making this change to the system. The big improvement is lack of writes, giving your investment into that expensive SSD a massive boost to it's longevity.
So if you've paid big bucks for and SSD and want your investment quite a lot longer, you'd do well to impliment the above.
It takes less than 5 minutes, it's really quick, and the benfits should not be underestimated.
kthxbai
[/td]




