Difference between revisions of "Disk"

From Linuxintro
imported>ThorstenStaerk
(New page: A disk is a device to store data, e.g. a compact disk or a hard disk. See http://en.wikipedia.org/wiki/Disk. Disk related commands: hwinfo --block hwinfo --partition)
 
 
(5 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
Disk related commands:  
 
Disk related commands:  
 
  hwinfo --[[block]]
 
  hwinfo --[[block]]
  hwinfo --[[partition]]
+
  hwinfo --partition
 +
 
 +
= Get information =
 +
hdparm -I ''/dev/hda''
 +
 
 +
= Find out throughput =
 +
# hdparm -tT /dev/sda
 +
 +
/dev/sda:
 +
  Timing cached reads:  20114 MB in  2.00 seconds = 10071.18 MB/sec
 +
  Timing buffered disk reads: 754 MB in  3.00 seconds = 251.23 MB/sec
 +
 
 +
= Hibernate hard disk =
 +
hdparm -S60 /dev/hda
 +
 
 +
= Standby =
 +
hdparm -y /dev/hda

Latest revision as of 10:05, 9 August 2015

A disk is a device to store data, e.g. a compact disk or a hard disk. See http://en.wikipedia.org/wiki/Disk. Disk related commands:

hwinfo --block
hwinfo --partition

Get information

hdparm -I /dev/hda

Find out throughput

# hdparm -tT /dev/sda

/dev/sda:
 Timing cached reads:   20114 MB in  2.00 seconds = 10071.18 MB/sec
 Timing buffered disk reads: 754 MB in  3.00 seconds = 251.23 MB/sec

Hibernate hard disk

hdparm -S60 /dev/hda

Standby

hdparm -y /dev/hda