Questions tagged [disk]

Questions about disk drives under the UNIX and Linux systems. See also the "filesystems" tag.

Check also the tags and .

884 questions
26
votes
5 answers

Is there a good drive torture test tool?

I have been having odd and rare filesystem corruption lately that I suspect is the fault of my SSD. I am looking for a good drive torture test tool. Something that can write to the whole disk, then go back and read it looking for flying writes,…
psusi
  • 17,303
7
votes
3 answers

Using SAR to monitor free disk space data

Is there a way to make sar (from sysstat) collect free disk space data?
Fadi Mansour
  • 73
  • 1
  • 1
  • 3
5
votes
2 answers

Disk usage equivalent to Disk usage in windows task manager

I want to find how can I check the disk usage in linux as in windows task manager. I mean, I don't want to find out how much free space is there on the partition or something like that, I want to find out how much is the disk used at a given…
yierstem
  • 153
2
votes
4 answers

Free space: 0 bytes and files full of data shown as empty

I don't know what's going on. The last evening I left my computer with about 700MB of free space on the system partition and today there is no free space on disk, moreover a lot of files containing data is, according to system, 0 bytes, but actually…
2
votes
1 answer

What are these DM devices?

On a CentOS 5 server: fdisk -l 2>/dev/null shows many /dev-dm-XX disks. /proc/mdstat is empty, so they are not software RAIDs ps -ef | grep -i multipath | grep -v grep and multipath -ll shows NOTHING! So they are not disks from multipath. all…
1
vote
1 answer

Why I got a strange result for fdisk -l

root@host [~]# fdisk -l Disk /dev/sdc: 128.0 GB, 128035676160 bytes 255 heads, 63 sectors/track, 15566 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512…
user4951
  • 10,519
1
vote
1 answer

Hard disk Cylinder explaination

I am currently learning about how HDD's function and in particular i am having trouble understanding what a Cylinder in a HDD is. I have read online and my current understanding is that it is when a portition of the hard disk track is aligned with…
programmer
  • 1,017
1
vote
1 answer

Increase disk space without losing any data

I have a server running webmin/virtualmin in debian 7 with one 80GB hard drive. I want to increase disk space adding a second 1TB disk, but without losing any data as I'm hosting a few websites. Any method and help is appreciated, Thank you.
0
votes
0 answers

How can I keep the corresponding drive letters of different hard disks in the same slot of the server unchanged?

For example, slot 5 of the server has hard disk A. The drive letter of hard disk A is /dev/sda. If hard disk A is damaged, replace hard disk B with the /dev/sda drive letter
zhiyu fu
  • 101
0
votes
0 answers

How to know which harddisk has the problem?

So i got this on dmesg: [ 227.281863] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 [ 227.281876] ata3.00: irq_stat 0x40000001 [ 227.281881] ata3.00: failed command: FLUSH CACHE EXT [ 227.281884] ata3.00: cmd…
Kokizzu
  • 9,699
0
votes
3 answers

Which "size" file should I use to get the disk size?

My disk is sda and I have these size files: /sys/dev/block/8:0/size /sys/class/block/sda/size /sys/block/sda/size Which one should I use? The first one is used by lsblk. Are there any differences?
zomega
  • 972
0
votes
1 answer

Device or resource busy--when to change the device's label

I want to change /dev/sda1 's name as debian-11.05 with command: sudo exfatlabel /dev/sda1 debian-11.05 exfatprogs version : 1.1.0 open failed : /dev/sda1, Device or resource busy How to fix it then?
showkey
  • 323
0
votes
1 answer

SSD plugged in via adapter

I recently bought Unitek Y-1096 Adapter. Unfortunately, when I plug SSD with it, it doesn't work. SSD seems to works properly via SATA III. It was partitioned, it has only one ext4 partition that covers the whole disk. Output of uname -a: Linux…
0
votes
0 answers

dd rdisk or disk, and all that silliness (mac)

Trying to copy a 1TB SDD to a file using dd (iMac recovery mode, to USB3 external HDD). I've read a hundred studies of what is the best bs to use, and the differences between using /dev/diskX and /dev/rdiskX. I've tried both the 'raw' disk, and the…
0
votes
1 answer

Are partitioning schemes applied to the disk as whole or are they partition specific?

I was playing around with gdisk utility on my dual boot (windows 10 and fedora) by doing #gdisk /dev/sdaX and found out that for windows partitions, gdisk said MBR present while for linux partitions I wasn't seeing the expected GPT present. This…
Weezy
  • 599
1
2