harddrive

Optimizing locations of on-disk data for sequential access

I need to store large amounts of data on-disk in approximately 1k blocks. I will be accessing these objects in a way that is hard to predict, but where patterns probably exist. Is there an algorithm or heuristic I can use that will rearrange the objects on disk based on my access patterns to try to maximize sequential access, and thus ...

Redundancy implications of SSDs in servers

When configuring a database server with mechanical drives, mirroring hard drives or using RAID5 for redundancy in case of drive failure is the norm. Is this redundancy also required when using solid state disks or is the "mechanical" reliability of SSDs (write fatigue not withstanding) such that drive redundancy is unnecessary? This is o...

Tool to show processes writing to the hard drive?

Is there a tool that will show me what applications are writing to the hard drive in real time? I'm thinking something like Task Manager but for I/O. I've got a number of background processes running, and can never tell when Visual Studio is holding everything up, or some other process is hogging the disk (especially when the processor i...

issuing hard drive commands with java

Does anyone know of a way to issue commands to a hard drive within Java? Does Java even support this kind of hardware interaction? For example, if I have a SCSI hard drive that I would like to inquiry, is there a pre-existing Java method to do this, or would I have to write my own? http://en.wikipedia.org/wiki/SCSI has some general inf...

Convert a GTP disk to MBR from XP

So I took some files with me on my external HDD while going on vacation. Through a series of events, I ended up storing the data in a NTFS formatted partition defined in a GUID Partition Table. The only computer I have is a Windows XP home box, which does not have native support for reading GPT's. So far everything I have read online ...

Receiving email notification from smartd (smartmontools)

Hello, To get information about my HDD drive condition, I configured smartmontools daemon (through smartd.conf) like this: dev/sdb -I 194 -a -o on -S on -s (S/../.././03|L/../../6/04) \ -m [email protected] -M exec /usr/share/smartmontools/smartd-runner Also, by adding “-M test”, I tested email notifications and received test email...

Disk Drive properties read via WMI

I am using WMI to query some properties disk drive. Does WMI read this information from the Drive itself or does it query the registry? How do I read the properties directly from the drive? ...

What would be the best option, performance wise, between 1 10k rpm disk and 2 7k rpm disks in striped raid

I'm thinking of improving the performance of my development machine, and the next step is the IO subsystem, namely, the hard disks. Assuming consumer grade disks (which removes SCSI and SAS drives) and a reasonable bill (which removes the option of two or more 10k RPM disks), the two options I'm faced are: getting 1 VelociRaptor or equ...

How to determine number of files on a drive with Python?

Howdy! I have been trying to figure out how to retrieve (quickly) the number of files on a given HFS+ drive with python. I have been playing with os.statvfs and such, but can't quite get anything (that seems helpful to me). Any ideas? Edit: Let me be a bit more specific. =] I am writing a timemachine-like wrapper around rsync for va...

Discovering linux disk configurations from the command line.

How can I discover if a remote machine is configured with or without hardware or software RAID? All I know is i have 256GB at present, I need to order more space but before I can I need to know how the drives are configured. df lists the drive as: /dev/sdb1 287826944 273086548 119644 100% /mnt/db and hdparm: /dev/sdb:...

Database Structure & Hard drive seek time confusion

Hi guys, could some one help me out trying to understand how hard drive seeking works. I have a small binary database file which read performance is absolutely essential. If I need to skip a few bytes in the file is it quicker to use seek() or to read() then discard the unwanted data. If the average seek time of a hard drive is 10ms an...

Hdd Serial Number

How To Get The Serial Number for all type of harddisk in c#.net ...

Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP

Getting Serial Number of the Hard Drive Provided by the manufacturer through PHP : How can it be done? I want to store it in a file. OS : windows 2000,XP,ME,Vista... Yes, I want the serial number of the hard drive of the Server. Or can it be done through Adobe AIR? Or can it be done through a C program on Windows? C:\Documents and ...

Getting Serial Number of the Hard Drive Provided by the manufacturer through Adobe AIR

Getting Serial Number of the Hard Drive Provided by the manufacturer through Adobe AIR How can it be done? ...

Are thousands of source files slowing down my machine?

I've got a folder where I check out projects I need to work on, there are about 40 project folders in there, with many thousands of individual files each. Our IT manager says having so many files on the disk is slowing down my machine... can this be true? I have about 40GB of free space. ...

Getting a list of logical drives.

How can I get the list of logial drives (C#) on a system as well as their capacity and free space? ...

How to programmatically really clean Delete files?

So you are about to pass your work-computer to some of your colleague. How do you make sure you really delete all your personal data? Re-formatting, Re-installing OS will not really solve the problem. I searched around and found some programs does "Wipe out" disks. This caught me thinking how does those programs work? I mean, What al...

How to programmatically format unallocated space?

Hello, I’m looking for a code snippet that would programmatically format unallocated space on a given drive. I’m ideally looking for .net code (VB.NET C#) or C++. Many thanks ...

How might I get the hard drive letter?

How would I find the driver letter of the main hard disk on a Windows Operating system. That is, the drive with Program Files, System32, etc. ...

Question about hard drive , 'seek' and 'read' in windows OS

Does anyone know when calling 'seek' and 'read' , how is the hard-drive physicly affected? If i'll be more specific, I know that the harddrive has some kind of a magnetic needle that is used to read the data from the magnetic plates. So my question is , when is the needle actualy moved to the reading location? Is it moved when we are c...