On Feb 17, 2008 2:18 PM, Mark Lord <liml@xxxxxx> wrote: > > Richard Liu wrote: > > Dear Mark: > > > > 2008/2/16, Mark Lord <liml@xxxxxx>: > >> Mark Lord wrote: > >>> Richard Liu wrote: > >>> > >>> Thanks. By running the above data through hdparm --Istdin, > >>> I see that the drive is indeed identifying itself as a 33MB drive. > >>> > >>> Probably because it has been told to do so by either the factory defaults, > >>> or the BIOS, having enabled these features (which can cause it to report > >>> fake values for various things): > >>> > >>> * Host Protected Area feature set > >>> * Device Configuration Overlay feature set > >>> > >>> So that's why the 1TB drive appears as a 33MB drive. > >>> > >>> In the near future, I will be enhancing hdparm to query more > >>> detailed data from underneath those artificial features. > >>> > >>> But you'll have to enable the entire 1TB capacity if you want Linux to > >>> use it. > >>> It is currently disabled in the drive, and Linux respects that. > >> .. > >> > >> Okay, hdparm-8.1 is now available from sourceforge.net. > >> Download it, build it ("make"), and see what you get from "hdparm -N /dev/sdc" > >> > >> Thanks > >> > > I downloaded hdparm-8.1 > > and here is output information. > > > > # ./hdparm -N /dev/sdc > > > > /dev/sdc: > > max sectors = 65134/1953525168, HPA is enabled > .. > > Yes, pretty much as expected there. > > You can safely now try this: > > ./hdparm -N1953525168 /dev/sdc > > If that works, it will have temporarily restored access to the entire drive. > Then you can try to make it permanent by doing this: > > ./hdparm -Np1953525168 /dev/sdc > > If *that* also works, then reboot and things should be fine, > unless your machine BIOS changes it back again on boot.. :/ > > If either of those *fails*, then it is because your BIOS > (or possibly the system startup scripts) have "frozen" the configuration > to prevent changes. Dunno why they would do that, but it's possible. > > In which case, you could move the drive to another machine temporarily, > and then issue that same command there. > > Cheers Mark, Very cool new functionality in 8.1 Looking forward to testing it this week. Thanks for your efforts. I assume DCO is still able to hide sectors from us? Thanks Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer First 99 Days Litigation White Paper - http://www.norcrossgroup.com/forms/whitepapers/99%20Days%20whitepaper.pdf The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com - To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html