harddrive

Measuring/benchmarking hard drive performance

We know that disk speed is an important performance component of a development machine. I'd like to understand how the multiple drives in my Windows Vista machine compare. Vista will give me a performance index for the system but what's a good (preferably free) benchmarking tool for measuring each drive's performance? ...

Windows Low Level Disk Question

Hi, I need to programmatically determine out how many sectors, heads, and cylinders are on a physical disk from Windows XP. Does anyone know the API for determining this? Where might Windows expose this information? Thanks, Terry ...

What's your experience with Flash drives?

EMC is marketing Solid State Flash Drives and my project is thinking about moving that direction in the future. Does anyone have any experience with replacing traditional disk storage with flash drives? Besides price, have you experienced any downsides to the technology? ...

How do I get rid of a hard disk without exposing my source code?

What is the proper way to dispose an old hard disk which contains my source code and other intellectual property? I was about to throw it away in the recycle box but thought better to check it with SO users first. ...

VMWare Server: Virtual Hard Drive Type

For best performance, is it better to use a virtual IDE HDD or virtual SCSI HDD? If, SCSI, does it matter whether you use an BusLogic or LSILogic? ...

How can I find out what's thrashing my hard drive in XP?

This is a programming question in the sense that I'm experiencing a hardware issue which is keeping me from being able to develop effectively... Anyway, my PC is running insanely slow, but it doesn't appear to be a memory consumption issue or a CPU issue - no programs are running away with too much of either. But something is thrashing ...

Emulate hard disk in .NET

Is there a way to emulate a disk drive in .NET, intercepting read/write/lock operations? I would like to create something with a front-end similar to GMail Drive in C#. Thanks, Tom ...

How to detect if any specific drive is a hard drive?

In C# how do you detect is a specific drive is a Hard Drive, Network Drive, CDRom, or floppy? ...

Is dd better than cat?

Suppose I want to clone my hard drive (hda) to another drive (hdb) in the same computer. As I see it, there's two easy, rough and do-it-yourself ways: cat /dev/hda > /dev/hdb and dd if=/dev/hda of=/dev/hdb What technical reasons are there to that the latter is often/always said to be better than the former? under no circumstances tr...

Best Dual HD Set up for Development

I've got a machine I'm going to be using for development, and it has two 7200 RPM 160 GB SATA HDs in it. The information I've found on the net so far seems to be a bit conflicted about which things (OS, Swap files, Programs, Solution/Source code/Other data) I should be installing on how many partitions on which drives to get the most be...

Best generic strategy to group items using multiple criteria

Hello, I have a simple, real life problem I want to solve using an OO approach. My harddrive is a mess. I have 1.500.000 files, duplicates, complete duplicate folders, and so on... The first step, of course, is parsing all the files into my database. No problems so far, now I got a lot of nice entries which are kind of "naturaly groupe...

1720 - Imminent Hard Disk Failure

I am upgrading an old compaq presario 2800 harddrive to a bigger one. When I phisically install the new drive and try to boot the following error appears: 1720 - SMART Hard Drive detects imminent failure. Your hard disk drive is detecting an imminent failure. To ensure no data loss, backup contents and replace this hard disk. Attribute...

Data recovery mechanics, is it possible to recover items from the hard drive?

I've been using some data recovery tools like Diskinternals Uneraser. I've been wondering how we can recover things on a hard drive programmatically? Is there specific disc access mechanics, patterns, API to use? Is it something I can do in C#? ...

How do I detected whether a hard drive is connected via USB?

I am trying to write a little backup program for friends and family and want it to be as simple to use a possible. I don't want to have to ask the user where to backup their data to, I just want to search for and use the first USB hard drive connected to the computer. Obtaining the unique ID of the hard drive would probably be a good ide...

using c# how can I extract information about the hard drives present on the local machine.

I'm looking to get data such as Size/Capacity, Serial No, Model No, Heads Sectors, Manufacturer and possibly SMART data. ...

Converting HDD Serial # VB6 code into VB.NET code

Hey guys, I've got a cool piece of code taken from a VC++ project which gets complete information of the hard disk drive WITHOUT using WMI (since WMI has got its own problems) I ask those of you who are comfortable with API functions to try to convert this VB6 code into VB (or C#) .NET and help A LOT of people who are in great need of th...

Scaling databases with cheap SSD hard drives

Hey guys! I hope that many of you are working with high traffic database-driven websites, and chances are that your main scalability issues are in the database. I noticed a couple of things lately: Most large databases require a team of DBAs in order to scale. They constantly struggle with limitations of hard drives and end up with ve...

To protect software by accessing harddisk serial no

I want to get the VB.NET or VB code to access the hard disk serial no when starting the program. It's to help me to protect my own software from people who try to pirate copies. ...

How to list physical disks?

How to list physical disks in windows? In order to obtain a list of "\.\PhysicalDrive0" available. ...

How to get serial number from hard disks?

Is there an easy way to get the serial number of all the hard disks in a PC using the Win32 API? ...