User Tools

Site Tools


linux:hdd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:hdd [2016/06/07 10:48] – created adminlinux:hdd [2016/06/07 10:52] (current) admin
Line 10: Line 10:
  
 a) Start in a bash \\ a) Start in a bash \\
-<code bash>hdparm -tT /dev/sda</code>+<code bash>hdparm -tT /dev/sdX</code>
  
 **HDD Full Copy with files rights** **HDD Full Copy with files rights**
Line 18: Line 18:
  
 **HDD Label** **HDD Label**
-<code bash>e2label /dev/sda1 new-label-name-here</code>+<code bash>e2label /dev/sdX new-label-name-here</code>
  
 **Swap Show on/off** **Swap Show on/off**
 <code bash>swapon -s</code> <code bash>swapon -s</code>
 +
 +**Debug Filesystem**
 +<code bash>debugfs /dev/sdX</code>
 +
 +**Create ext4 Partition**
 +<code bash>mkfs.ext4</code>
 +
 +**Check ext4 Partition**
 +<code bash>fsck.ext4</code>
linux/hdd.1465289305.txt.gz · Last modified: 2016/06/07 10:48 by admin