Questions tagged [disk]

Anything related to disk-like storage media, like hard-disks, CDs, DVDs, etc. By extension it could be applied to other mass storage media that are commonly referred as "disks", like SSD, flash cards, etc.

1293 questions
-1
votes
1 answer

Disk error when trying to read disk with BIOS interrupt

I'm just trying to read data from disk, but I get an error: [org 0x7c00] ; Offset to the boot sector for NASM mov [BOOT_DRIVE], dl ; Remember boot drive mov bp, 0x8000 ; Set up base of the stack mov sp, bp …
Max Yankov
  • 12,551
  • 12
  • 67
  • 135
-1
votes
1 answer

Resize VMware image to smaller size

I have created an image with VMware workstration 10.0 from a ubuntu system. The problem is that the file is 146gb and the space used is almost 12gb. I tried to shrink it, resize it with program shrinkvd, VMware vCenter Converter Standalone Client,…
user1431148
  • 727
  • 1
  • 9
  • 21
-1
votes
1 answer

Need T-SQL script in SQL Server 2008 that will tell me disk space needed for a given dataset in tempdb BEFORE I run a select into with a given query

I need to find a T-SQL query in SQL Server 2008 that will tell me how much disk space will be needed for a given dataset in tempdb BEFORE I actually run a select into statement with a given query in order to create a new table. Example: select * …
TuSabesTuSabes
  • 61
  • 1
  • 10
-1
votes
2 answers

How a file in a disk is represented

i had weird question or rather stupid question when i open a binary file using text editor it doesn't seem like it represented in binary 0 and 1 or hex so what representation is that??? IHDR\00\00k\00\00\C3\00\00\00\A2\B6\8D$\00\00\00sBIT|d\88\00\00…
user1604573
  • 175
  • 1
  • 2
  • 6
-1
votes
1 answer

Does the Disk-Scanning algorithm SCAN moves to sector 0 first prior to going to the end of the disk?

I was just revising for a test and I was reading the book and came across something very confusing. The SCAN algorithm is supposed to go to the end of the disk doing various services on the way then go in reverse to the start of the disk doing the…
Cail Demetri
  • 2,138
  • 3
  • 22
  • 24
-1
votes
1 answer

Best options for disk or file mirror without shutting down machine

I'm looking for some good options for mirroring or cloning my disk without shutting the machine down. In the past all the options I've looked at are very expensive (usually several thousands). Hoping to find something that works for Windows (2003…
RGI
  • 333
  • 4
  • 10
-1
votes
1 answer

Creating new partition after converting to dynamic disk

So I've got Ubuntu 11.04 on my HP, but recently I've also installed Win7 and it works with no problems. The thing is that I've got addition 290GB free space (un-partitioned space) and I'd like to create another partition for Win. When I try to…
Vele.
  • 1
  • 1
-1
votes
1 answer

Size vs Size On Disk

I read about the byte vs cluster theory, but I don't think it can apply in my case; Doesn't seem to have to do with "a bunch of small files"; . ├── [ 11K] 2ndVisit_Checklist.xlsx ├── [ 35K] 2ndVisit FTS_Timetable.xlsx ├── [ 34K] …
RobinJ
  • 5,022
  • 7
  • 32
  • 61
-1
votes
1 answer

Can windows disk write caching cause missing files?

The following question is not a typical programming question, but IMHO programmers are affected by this and are most likely to have a solution. I have a Windows desktop application that communicates with a server. The client app has an optional…
Boris B.
  • 4,933
  • 1
  • 28
  • 59
-2
votes
2 answers

How to backup LIF formatted disk?

I have several old 3.5in floppy disks that I would like to backup. My attempts to create an image of the disks have failed. I tried using the UNIX utility dd_rescue, but when the kernel tries to open (/dev/fd0) I get a kernel error, floppy0: probe…
Mike
  • 1,760
  • 2
  • 18
  • 33
-2
votes
1 answer

How to use free space in linux?

The computer has 2 systems installed: linux and windows and 1 ssd disk. At some point linux started to run out of memory. So I created free space by separating it from the main partition (where windows was installed, with Aomei Partition Assistant),…
-2
votes
1 answer

Cannot read sectors from disk in C

I'm using an i686-elf-gcc cross compiler to generate code to run in real-mode. I'm trying to read a sector from my kernel. I know this is the location where my kernel is located, in the second sector, 0th drive, 0th track. It builds fine, but after…
mike
  • 100
  • 7
-2
votes
1 answer

Low level disk I/O in python

Is there a way to perform low level read/write to disk using python. For example, read 1 byte starting at some given position.
-2
votes
1 answer

Azure P6 managed disk selection

As a part of free tier we can get 2*P6 SSDs disk for free , but when I am trying to create VM , i can't get option to select disk type as P6. Can any one please help on this. Thanks!
Baharul
  • 145
  • 2
  • 16
-2
votes
1 answer

VM - Append free space to Root partition

do you please idea how can I append new free space for virtual Debian running on VM VirtualBox? I have made my virtual HDD bigger but free space is not alocated next to boot partition where I have root folder. I cannot use any live partition disk…