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

New Custom centos boot disk with parameters from official google cloud setting

I want to change the root filesystem CentOs 6 to Btrfs filesystem. My solution is to export virtual machine from localhost to GCE, I know the documentation to this job, but I have doubts how does work the process the import of boot disk images (You…
The nothing
  • 148
  • 1
  • 3
  • 13
-1
votes
4 answers

Unable to shrink partition size

I am trying to install Linux in a computer that has Windows 7. The first step was shrinking the disk size but Windows did not allow any reduction. Thus I followed a number of steps to disable "unmovable" files I disabled the Page File I disabled…
-1
votes
1 answer

Invalid Directory Item Count (It should be 3*673 instead of 3*674) while MacBook partition using Disk Utility

I am trying to set up dual boot in my MacBookPro. When I am trying to make a partition from Disk Utility it is giving error, Checking multi-linked files. Checking catalog hierarchy. Invalid directory item count (It should be 32673 instead of…
Shuvo Joseph
  • 894
  • 1
  • 12
  • 21
-1
votes
1 answer

MySQL causes 100% disk utilization

I'm running an MySQL (InnoDB) Database with XAMPP. I made many different, expensive queries on a table (~1,1M rows) and canceled them severel times because the took a very long time... If I'm starting MySQL right now, the disk utilization is…
zypro
  • 1,158
  • 3
  • 12
  • 33
-1
votes
1 answer

Mount and add 2 Disk on our Server with already 2 Disk with RAID 1

We have a server (centos 6) and our disk is nearly full, we asked for 2 new disk to be added on our server but don't know how to proceed to mount and see it on our server. Thanks
JKC
  • 1
-1
votes
1 answer

Unable to increase disk size on file system

I'm currently trying to log in to one of the instances created on google cloud, but found myself unable to do so. Somehow the machine escaped my attention and the hard disk got completely full. Of course I wanted to free some disk space and make…
-1
votes
1 answer

How to get the physical drive's volume id?

Problem I'm trying to get the volume id from a physical drive. My Code // define disk handle HANDLE VDHANDLE; // set "open disk" parameters OPEN_VIRTUAL_DISK_PARAMETERS VHD_OPEN_PARAM; VHD_OPEN_PARAM.Version =…
TheCodingBook
  • 21
  • 1
  • 7
-1
votes
1 answer

The fastest way to read a file in remote machine

I want to find the fastest way to read a file in remote machine. The way of remote I/O which I want The requirements are: Machine B read a file(or a page) from Disk A in Machine A. For fast transmission, overlapping DiskI/O and Network I/O. The…
-1
votes
1 answer

using azure cli, vmss json template doesn't create vmss with datadisk

Context: Trying to create VMs in Azure (cloud) using VMSS in ARM mode and using json templates. Problem: Creating a VMSS from an os image and datadisk image using Azure CLI and json template creates new VMSS but not the datadisk. My success so…
Aurvoir
  • 267
  • 3
  • 12
-1
votes
1 answer

Disk fragmentation calculation

So if I have disk with 10 free spaces. Add two files, A with size 3 and B with size 4. A A A B B B B - - - After removing A, - - - B B B - - - Is now B fragmented or not?
juku
  • 73
  • 4
-1
votes
1 answer

How does Windows API readFile implemented?

I heard that there are two ways for reading a file in assembly language: one requires CPU to repeatedly query disk reading finishing state in a cycle; the other way uses interrupt callback when disk reading is finished, and do not require CPU during…
jiandingzhe
  • 1,881
  • 15
  • 35
-1
votes
1 answer

Low level page manager in C/C++

I need a library (C/C++) that handles the basic operations of a low level pager layer on disk. The library must include methods to get a disk page, add data, write the page to disk etc. To give a bit of background: Assume there's a particular…
kami
  • 361
  • 3
  • 15
-1
votes
1 answer

How does Linux disk I/O handles files of different sizes

Does Linux always write a whole number of pages on disk when creating a file, even if the file size is not exactly a whole number of pages?
simple
  • 1
-1
votes
1 answer

Simulate data as a disk\files\folder in windows explorer

Is there an API or straight forward way to simulate any data as a windows explorer drive/file-hierarchy? I don't want to create actual files I want to have a view on my data as though it were. E.g. if my real data was in a database but I want it to…
Co-der
  • 363
  • 1
  • 14
-1
votes
2 answers

write 0 to disk except existing files

I have an ext4 disk partition. I want to "dd" an image of it. To improve compression ratio of the image, I want to write 0 to all bits not recognized by the filesystem or GPT/MBR. Is this possible and how?
Yey
  • 554
  • 3
  • 15