I have three questions for Ubuntu and TRIM/SSD experts.
- I've got SSD drive (SanDisk SDSSDP128G 128Gb).
- Currently, it is the only hard drive. Connected via SATA cable however in BIOS using IDE mode rather than AHCI.
- Installed WinXP SP2 on the first partition (16 GiB, NTFS), and then aligned it to SSD blocks using gparted live CD
- Installed Ubuntu 12.04 LTS on the second partition (16 GiB, ext4, immediately after the previous partition)
- The rest of the drive is unpartitioned for now; grub is used as OS loader.
- Ubuntu mounts the first NTFS partition on startup (as done by Ubuntu install, I have not touched that)
- Got confirmation from hdparm that drive supports TRIM
- Enabled TRIM in Ubuntu using "fstrim /" which runs by cron
Now, I spent weeks trying to get this info from the web. Some sources say NTFS does support TRIM, others say Win7 supports it (while using NTFS). Some sources say fstrim TRIMs the whole physical drive while others say it only TRIMs the current partition.
Is "fstrim /" in the scenario above applies to 16 GiB ext4 partition only, or to the whole 128Gb drive?
If it only applies to the ext4 partition, is it possible at all to TRIM the first NTFS partition (from either Ubuntu or WinXP, but only using Ubuntu native or Win built-in tools, without dodgy software.com downloads)? Could hdparm and moving/copying physical sectors do anything to help? Partition cloning whatever?
What is the worst-case scenario if TRIM is not possible for NTFS: are there any firmware garbage collectors that could do similar thing without OS commands?
Please do not recommend switching to Win 7 whatsoever - I'm still happy with the development environment under Win XP. I'm still happy to use "out-of-date" OS if it boots in 7 seconds, gives immediate response to anything you do, and loads Photoshop in 3 seconds (for the first run:)
Thank you in advance, Yaroslav