Pridať komentár

Príspevok, na ktorý odpovedáte

RE: Ubuntu a SSD 21.12.2013 | 14:12
Avatar sunnynko Ubuntu 14.04  Používateľ

Ok, zarovnanie mam, avsak teraz ma trapi TRIM, viem ze defaultne na ubuntu 10.04 neni, preto som upgradol kernel na 2.6.35-32, avsak ked spravim test

Create a small file in /root (this is all one line):

dd if=/dev/urandom of=tempfile bs=1M count=3

Find the start of the file:

hdparm --fibmap tempfile

Note the address that the file starts at and then inspect that address (if you have more than one disk you should substitute sda for the disk you are checking):

hdparm --read-sector [ADDRESS] /dev/sda

You should see random data. Now delete the file, sync the filesystem, and wait a couple of minutes for the disk to do it’s thing:

rm tempfile && sync && sleep 120

Now let’s inspect that piece of the drive again to make sure the data is gone:

hdparm --read-sector [ADDRESS] /dev/sda
nemam tam nuly ale stale tie hodnoty co pri prvom vypisani... any idea?

2 * 6 plus tisíc (číslom)

Maximálna veľkosť je: 2,0 MB