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.
Questions tagged [disk]
1293 questions
5
votes
3 answers
Force write of a file to disk
I'm currently implementing a ping/pong buffering scheme to safely write a file to disk. I'm using C++/Boost on a Linux/CentOS machine. Now I'm facing the problem to force the actual write of the file to disk. Is it possible to do so irrespective of…

Gianluca Ghettini
- 11,129
- 19
- 93
- 159
5
votes
2 answers
Is there any data on how fast Azure VM local drives are?
I'm experimenting with OnStart() in my Azure role using "small" instances. Turns out it takes about two minutes to unpack a 400 megabytes ZIP file that is located in "local storage" on drive D into a folder on drive E.
I though maybe I should do it…

sharptooth
- 167,383
- 100
- 513
- 979
4
votes
3 answers
How can I acquire a disk's identifier on Windows?
How can I retrieve a disk's identifier on Windows? This is not to be confused with the volume identifier; they're two different things. The disk identifier is the 4-byte identifier that resides in the MBR (or 16-byte identifier if it uses GPT). If…

Collin Dauphinee
- 13,664
- 1
- 40
- 71
4
votes
2 answers
"tail -f" makes disk full?
our application server (sunOS) always gets disk full. and our Infrastructure team said it's caused by too many "tail -f" processes. Because the app rotates log file frequently, it caused the dead link and no disk space?
I've never heard of this…

user462872
- 323
- 1
- 4
- 14
4
votes
1 answer
spreading mysql data across multiple disks
I have a large mysql database and two small disks on centos, how do I make the it utilize both disks?

user881480
- 5,005
- 6
- 32
- 31
4
votes
2 answers
Java FIFO Queue with spill-over to disk
I'm working/preparing an application that is based on a producer/consumer model. In my case there will be one producer which generates several million (non-trivial) tasks, and there will be a configurable number of consumers.
Communication between…

Maarten Boekhold
- 867
- 11
- 21
4
votes
1 answer
How to get a trace file for hard disk access?
I have implemented a simulation which takes trace file as input which basically tracks each request for read, write access to hard disk and process it.
Can someone tell me how/where I can get this trace (track) file or if is there any kinda option…

Junaid
- 1,668
- 7
- 30
- 51
4
votes
1 answer
Endianness when order of bits (rather than bytes) is crucial
All of the questions and answers on endianness seem to centre on the order of bytes but suppose I've got a series of bits where the order of the bits is crucial. Let's say I save them to a memory stick file as an array of bytes. I may use the memory…

NoComprende
- 731
- 4
- 14
4
votes
4 answers
Why should we store log files and bin-log files on different path or disks in mysql
I have replication setup mysql databases....the log file location the bin-log file all are at one path that is default my data directory of mysql.
I have read that for better performance one should store them separately.
Can anyone provide me how…

MySQL DBA
- 5,692
- 21
- 54
- 71
4
votes
3 answers
Achieving an optimum 'fread' chunk size?
Alright, I know my question is not entirely specific, as an optimum fread chunk size is more of a trial error based thing. However, I was hoping some of you guys could shed some light on this.
This also involves server related stuff, so am not sure…

Lifetalk
- 53
- 1
- 4
4
votes
2 answers
PostgreSQL: Column Disk usage
I have a big table on my database, but it has a lot of empty fields on every column, and I´d like to know how much does every column use.
Is there any way to know how much disk space is each tables columns using?

javiertxu18
- 207
- 1
- 9
4
votes
1 answer
Multiple disk read/write operations can cause bottleneck?
I've been doing a lot of work where I concurrently access one file from 30+ processes (via 4 nodes mounted on NFS) and was wondering if, besides the bandwith bottleneck, there is an advantage to having less connections opening the same file.…

sequenceGeek
- 767
- 1
- 8
- 20
4
votes
0 answers
Creating a Virtual Hard Drive
I am developing an application in which it would be of great advantage to monitor all of the activity on a hard drive. I am using Diskmon to trace the activity and IOMeter to make particular requests to the drive. All is well, except that Diskmon…

user622511
- 125
- 1
- 8
4
votes
1 answer
Apache Hadoop Windows 10 - Datanode, Resource Manager and Yarn immediately shutdown on startup
I have followed a tutorial to setup Apache Hadoop for Windows, which can be found here. I am now having an issue with the Datanode, Resource Manager, and Yarn cmd windows showing that all 3 shutdown seconds after opening, with only the Namenode…

Tom Hood
- 497
- 7
- 16
4
votes
2 answers
Calculating Hard Disk Capacity
Consider a disk with the following characteristics:
Number of surface 16
Number of sectors / cylinder 4096
Number of tracks per surface 2048
Number of bytes per sector 512
1) How many patters does the disk have ?
I got: number of surfaces / 2
…

bobo
- 185
- 1
- 4
- 9