User Tools

Site Tools


linux:hdd

Linux SSD Performance

a) Add to /etc/fstab

noatime,nobarrier,discard

b) With mount command

mount -o noatime,nobarrier,discard /dev/sdX /mnt/gentoo

HDD Speed Test

a) Start in a bash

hdparm -tT /dev/sdX

HDD Full Copy with files rights

a) Copy a whole partition with files rights

cp -apxfRv * /media/system/

HDD Label

e2label /dev/sdX new-label-name-here

Swap Show on/off

swapon -s

Debug Filesystem

debugfs /dev/sdX

Create ext4 Partition

mkfs.ext4

Check ext4 Partition

fsck.ext4
linux/hdd.txt · Last modified: 2016/06/07 10:52 by admin