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
-2
votes
1 answer
Usb Dongle To Erase Disk
I need a solution for computer disk security.
User will use computer with a usb dongle, when this dongle is plugged everything is ok, but if usb unplugged, disk will be destroyed immediately.
There are two scenarios :
1- User will shut down…

mevaka
- 1,980
- 2
- 17
- 24
-2
votes
1 answer
Linux read external disk data, cannot mount
I just received a hard disk from other people and it includes some data. I want to read the data inside this disk. However, when I try to mount it, it shows:
~ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk…

szheng
- 1
-2
votes
1 answer
Java: How to read the last chars of a file
How could I read the last few chars of a file with the most disk efficiency?

Lucas Noetzold
- 1,670
- 1
- 13
- 29
-2
votes
1 answer
Cannot see all mounted disks until/unless I ls them first
This is an annoying problem that I suspect others have...
First, please excuse the nontechnical way I articulate this. I'm not a disk expert.
We have a bunch of disks all mounted under "/proj". E.g. "/proj/alpha", "/proj/beta", "/proj/gamma". If…

daveg
- 1,051
- 11
- 24
-2
votes
2 answers
100% disk. Unknown utilization
Is the 100% disk, capacity? THe C drive is half empty...
Even in the usage, its sorted by usage, and it does not make sense. Did something happen to my disk? I never saw it in 100%.

Chicago1988
- 970
- 3
- 14
- 35
-2
votes
1 answer
Await time is high but %util is less for SSD disk
For following SSD disk, await time is high but %util is less.
Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await r_await w_await svctm %util
dm-3 0.00 0.00 132.00 2272.00 892.00…

Tarun Kumar
- 5,150
- 6
- 26
- 30
-2
votes
1 answer
C : write() fails while writing to a RAW disk after specific size limit reached
I am using a C program open(), close(), read(), write() technique to copy a large file to RAW disk. The disk size is 20 GB and the file size is 17 GB but, every time after around writing 945 MB write() throws No space left on device error.
I have…

Anirban
- 550
- 3
- 19
-2
votes
1 answer
How to recover disk after writing to it with fio
I'm using CentOS release 6.6. Today, I wanted to test the disk write speed to a 500 GB disk at /dev/sdc.
I used this command:
fio -filename=/dev/sdc -direct=1 -iodepth 1 -thread -rw=randwrite \
-ioengine=psync -bs=16k -size=1G -numjobs=5…

taoyantu
- 11
- 1
-2
votes
1 answer
Simple string encryptation - safety of higher ascii characters
I am trying to create a simple encryptation scheme for strings. Each character of the string is given another ascii value.
It entails writing ascii characters upto 246 to a simple file on disk.
I want to find out if it is safe to write these…

rnso
- 23,686
- 25
- 112
- 234
-2
votes
1 answer
Object caching on disk in Android
From server I get a PictureObject. it consists of List (about 20 - 30 pictures in list), while each Picture has about 20 fiels.
So, I need to cashe on disk each of these 20 pictures.
How should I do it. I am a beginner in networking.
If there are…

Eva Bagdasaryan
- 29
- 3
-2
votes
2 answers
Disk Read/Write Fault Using Ports in Assembly
My O/S is now in protected mode so i can not access to disk using interrupts now.And I do not know how to switch to v86 mode.I need to use ports to disk access.
I decided to try the code which i found on the forum.osdev.org.In the emulator,It shows…

user2590769
- 75
- 1
- 10
-2
votes
1 answer
Using regex to extract the first 6 numbers of a text file
I'm trying to draw disk data from a text file to be used in an analysis program. The data from the file comes from the output of a Linux command free -m and looks like this:
total used free shared buffers …

rx150
- 1
- 1
-2
votes
1 answer
Search a 16 GB file on disk with 8 GB RAM
I was asked a following interview question of late,
"You have 8 GB RAM and 16 GB file " how do you perform search on this file ?
Then i asked what type of file ,what language ?,
he said any format,any language only to increase my confusion !…

chebus
- 762
- 1
- 8
- 26
-2
votes
1 answer
better place for sensitive temp file, ram disk or hdd or ssd?
my app saves a 1MB file and then another app reads it back. After that I want to sercure delete it. I thought about a ram drive because I know that even with a secure delete appl. something would remain on HDD or SSD. I can accept to lose the…

user1952998
- 5
- 1
-2
votes
1 answer
What is the difference between ex-FAT and NTFS file systems?
Just how do they differ in their working or storing of files?
People have been saying Ex-FAT is a better file system, and not to use NTFS so much. But how do they differ in actual working. Can anyone explain?

Arun Babu
- 108
- 2
- 13