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
-1
votes
1 answer

df says zero 1k-blocks free but copying still possible (3 TB ext4)

I have 3 TB internal harddisks which are (apparently) almost full. Df says 0 1k-blocks free but I can still copy a file of more than 200 Mb to the drive. What is wrong here?
Niels
  • 537
  • 5
  • 22
-1
votes
2 answers

write system call C - HDD Sequential or Random Access ?

I am looking for a solution to detect how's the write function access to the disk. I want to know if it is a sequential or random access. I thought about open the write system call on the libC and try to edit it and count if it is a random or seq…
-1
votes
2 answers

Estimation of the Data logging size

I have a device generating some values say N, each value having 32 bit. I am logging these values every 10 seconds by writing a new row in an excel file. I will be creating a new file every day. I have to estimate the hard disk storage capacity…
soulemane moumie
  • 1,005
  • 1
  • 14
  • 26
-1
votes
1 answer

dd imaging a failing disk which drops connection

I am trying to perform an image on a hard disk which is failing. The issue I am encountering causes the program to fail as the disk will routinely drop during the image process and when it is re-recognised by the system it is under a different…
Craig155
  • 83
  • 7
-1
votes
1 answer

Make a file automatically run when flash drive plugged to computer

Is there any way to make a file automatically run when USB or hard drive is plugged to a computer? I have tried with the autorun.inf file, but the function has been removed in win 7 and 8.
-1
votes
1 answer

number of search accesses

How do you calculate number of accesses for a sequential search if record is present, not present, or sometimes present? What about for binary search?
neuromancer
  • 53,769
  • 78
  • 166
  • 223
-1
votes
1 answer

Using Mediainfo in Bash with multiple hard drives

I am using mediainfo in a bash script to compile and spit out some info into a .csv. I have two separate hard drives on the mac I am using and I usually run the script on the main hard drive with everything on it. I recently ran out of room and am…
Erick
  • 1
-1
votes
1 answer

How to Install Windows XP on old IDE/SATA hard disk (connected in USB) for on old PC?

I have an old PC (Intel Pentium 4/2 GB RAM) with Windows XP crash : blue screen at startup. So I want to reinstall XP: problem, I haven't CD/DVD player in the tower and the bios does not boot USB... So I got the Hard Drive 3.5 "IDE / SATA and I…
NIF
  • 462
  • 2
  • 7
  • 23
-1
votes
1 answer

Can A Crashed Hard Disk Of A Laptop Be Converted To External HD?? Can I Recover Its Data?

I am recently getting a blue screen on my laptop all of a sudden after it boots up... After booting, windows starts and hangs up after a while, which is followed by a BLUE SCREEN prompting a probable hardware failure.... It some times gives an…
Debashisenator
  • 1,621
  • 4
  • 17
  • 16
-1
votes
1 answer

Notice: Undefined offset: 2 OR how to get HDD space all the time

$harddrive_out = format_bytes(kb2bytes($harddrive[2])).' / '.format_bytes(kb2bytes($harddrive[1])).' ('.calculate_percentage(kb2bytes($harddrive[2]), kb2bytes($harddrive[1])).'% Free)'; This line gives me that error I…
-1
votes
1 answer

Mounting Hard Disk Window Server 2008 without Server Manager

Mounting Hard Disk Window Server 2008 without Server Manager My server manager have an error mmc could not create the snap-in. CLSID: FX:{18ea3f92-d6aa-41d9-a205-2023400c8fbb} when opening server manager. This happen after i did a server reboot, i…
user1916580
  • 23
  • 1
  • 1
  • 6
-1
votes
2 answers

How to set a download path to a local drive in client using ASP.net

I'm trying to set a link in my asp.net website such that the file downloads directly to a specific local disk on the client. For Eg: E:\output\report.pdf Can anyone help me with the coding ?
-1
votes
1 answer

Backup Formatted Data

I Formatted My D: dard drive partition and I installed Windows on it by mistake. I would have to Install window to C: drive and that was my mistake. Is there anyway to get my old data of that was stored in D: drive before format. Please Help me to…
Anuradha
  • 1
  • 2
-1
votes
2 answers

How to get current HDD type?

I've found a way to get hdd serial no in vb6. But it needs to select an option from primary master primary slave secondary master secondary slave But I want to auto select an option. The auto select logic is, suppose I've 4 HDD with the above…
Krishanu Dey
  • 6,326
  • 7
  • 51
  • 69
-2
votes
1 answer

Replacing HDD with SSD without loosing/reinstalling original OS and Installed Softwares

I have a windows 10 machine with HDD installed.I need to replace this HDD with SSD. My question is, is it possible to migrate the OS and the softwares already installed HDD to SSD without reinstalling.
Hari
  • 333
  • 6
  • 18