Questions tagged [hard-drive]

GENERAL HARDWARE SUPPORT IS OFF-TOPIC. Questions about hardware should be asked on https://superuser.com. A hard drive is a physical storage device used to save state for operating systems and individual software programs. Questions should relate to reading and writing via programming.

649 questions
-2
votes
1 answer

How large is a disk sector anyway?

So, since ages I have been told that hard disks (I am specifically interested in HDDs and not SSDs) write data in units of 512 bytes, sectors. But when I interrogate the folder with stat . then I get told that blocks are 4096 bytes. How do I find…
ArekBulski
  • 4,520
  • 4
  • 39
  • 61
-2
votes
1 answer

Recover data from a bad sector hard drive

I have a 2TB hard drive with 0% health and it contains a lot of bad sectors. When I attach the drive with the PC, it shows the data inside it, but I cannot copy it or open it, when i try to do this, my entire pc slows down and after few minutes hard…
-2
votes
1 answer

Creating a Database and want to write out to disk and not keep in RAM

Hi I am writing a Database in C and would like to write out data to Hard Drive and not have it stored in RAM anymore. Is there a way to do this? Currently I create a big file and open it as such fd = open("database.dat",O_CREAT | O_RDWR); hd =…
-2
votes
1 answer

What's the equivalent to hard-storage that quantum computing would be to CPUs?

Title says it all - if quantum computing would be like Intel's futuristic CPU, what would be like SanDisk's (or Seagate's) futuristic SSDs and such? Lot's of articles online talk about how quantum computers might process information/the strangeness…
zelusp
  • 3,500
  • 3
  • 31
  • 65
-2
votes
2 answers

I know Redis is fast for a database, but is Redis cheap?

RAM storage costs many times what hard disc storage does. Wouldn't that make storing data in Redis many times more expensive than if you used MongoDB or mySQL?
CJ Kool-aid
  • 59
  • 1
  • 4
-2
votes
1 answer

Hard disk not detected after formating to DOS_FAT_32

I have a WD Elements external hard disk. Earlier it was using NTFS file system, which I have formatted to DOS_FAT_32. Now I can't see the hard disk in finder or disk utility. But when I execute the command diskutil list, the the external HD is…
jay
  • 1,982
  • 2
  • 24
  • 54
-2
votes
1 answer

Move os from a hard drive to another

Right now, I have two hard drives on my computer, a 1TB one and another 2TB one... The 1TB one has Ubuntu 14.04 in it and the other has data only. So, right now, my computer boots from the first hard drive but all my data is in the other. Now, I…
Nickal
  • 669
  • 2
  • 11
  • 25
-2
votes
3 answers

How can I create a central storage location for my Mac and Windows machines to share?

A few years ago I switch from PC to Mac. I didn't do this because I preferred to use a Mac, but because I desired experience working with both systems. Now, I see the pros and cons of both sides, and I use them both regularly. In fact, my job…
Veita
  • 509
  • 1
  • 5
  • 16
-2
votes
1 answer

Servers compare, to run BIG MySql DB

I have an question about this 2 dedicated servers,... WATH is BETTER to run an website with an large MySql Data Base (4 - 6 GB) ------My actual server------- Intel Xeon E5-1650v2 - 6c/12t - 3,5 / 3,8 GHz Ram: 128 GB Memory: DDR3 ECC 2133…
aladin2222
  • 107
  • 1
  • 2
  • 9
-2
votes
1 answer

C++ Write Data to Random HDD Sector

I need to write a program using C++ which is able to perform data write/read to/from both random and sequential hard disk sectors. However, actually I am confused with the term sector and its relation with a file. What I want to know is, if I…
yunhasnawa
  • 815
  • 1
  • 14
  • 30
-2
votes
2 answers

How do you detect programmatically [c#] if a disk is offline?

In Windows 'Disk Management' there is a property of a drive that is 'online/offline'. How can I expose this property in for remote hardware? I know were it is not; it is not in: win32_logicaldisk, win32_diskdrive, CIM_LogicalDisk, &…
OpenAll
  • 13
  • 3
-2
votes
1 answer

Is this disk read speed to be expected (Amazon EBS)?

our Amazon EBS backed instance has slowed down considerably (maybe shifted physical host?). I've checked the instance using top and the CPU use is very low when the process is activated (like 1%). Using iotop I have monitored the disk read speed of…
Stuart
  • 1,251
  • 2
  • 11
  • 18
-3
votes
1 answer

About Ram & Secondary Storage

Why do Ram size is always smaller than Secondary Storage(HDD/SSD)? If you observe any device you will get the same question
-3
votes
2 answers

Is it possible to make such a change to a file on the hard disk which will not be deleted even after formatting the hard disk?

i want not to let specific files to be deleted even after formatting the hard disk ? what is the possible change(s) that i should make to the files so as these files would not be deleted during formatting and how i would recognize these files after…
-3
votes
1 answer

How to store a matrix permanently through matlab?

In matlab I am getting a matrix of MxN size, I need to store this in secondary storage for retrieval in future. How I can store a matrix permanently and how it's possible to read into a variable.
1 2 3
43
44