После установки 12.10 не выполянется проверка TRIM
root@ThinkPad-E420:~# dd if=/dev/urandom of=tempfile count=100 bs=512k oflag=direct
100+0 записей считано
100+0 записей написано
скопировано 52428800 байт (52 MB), 3,87984 c, 13,5 MB/c
root@ThinkPad-E420:~# hdparm --fibmap tempfile
tempfile:
filesystem blocksize 4096, begins at LBA 2048; assuming 512 byte sectors.
byte_offset begin_LBA end_LBA sectors
0 1665024 1666047 1024
524288 1674240 1675263 1024
1048576 1611776 1613823 2048
2097152 1607680 1611775 4096
4194304 1714176 1738751 24576
16777216 1689600 1705983 16384
25165824 2017280 2070527 53248
root@ThinkPad-E420:~# hdparm --read-sector 1689600 /dev/sdb
/dev/sdb:
reading sector 1689600: succeeded
231d a3b3 4935 14be f08f a5cd 891a 24a5
06d0 3ca2 8bb9 cd38 7203 6cd1 2279 4c64
e4e9 d610 e5f8 3cf0 f945 a604 b664 5ce6
3c6c b185 d0ab 0cfd 970a 4bc2 f8c5 bf5e
848a b76f 335f 3d98 16dc 23a6 63c2 c3c6
2afa 3a35 2962 a51b 925a 7fca 5fa6 7b42
82a4 d1ef 25cd 06bc e932 88d9 3a8f 217b
5d8b 05f7 9831 f391 4428 c5cc c693 04b7
4c5b 036a 8cd2 31bf a1af 4db9 8fe0 86f9
e2e9 be90 813d a677 53b6 de1f 2171 0094
042c 0dba eb6f 7fed 6d39 20ac 2eaf e550
7cea 3b6d 0867 f465 b37a 4077 3539 89dc
15ca 0c46 b6a5 affb d11c 9565 8dce c237
8b28 0c8f 0818 2ba3 f180 5146 6618 7d54
5d0b 7ca9 0b2e 488d b1a7 b738 204d a713
264e e174 041c efc3 03d6 1217 be54 75bb
2826 19c2 4fc5 712c 06e4 c3fb 294f c3d9
7c20 7c62 6091 afbe 6d8e bd16 d969 0cd4
f8c7 8fa2 b184 c8ea 4634 a3bb 3068 f032
e1ea 8222 b621 7679 43bf 4e17 5c1d 7762
3fa9 fdfa ac43 5758 a6de ec9c 445e f3e4
9156 cd8e 88df 0acd 42f7 9176 ecd1 269d
abfc dc22 79a5 ddcf 7a3e 6858 ba22 bbd2
20e2 2c6e 4eb7 9864 ff3e 296d c2d6 93c6
f226 6ce4 077e 54a7 d866 833c 8fdc 3a21
c130 95da 08fb f823 88f6 907f e7a0 d4ae
33ef aa1a bad0 08bb a2f7 d495 20a4 87fa
56af 6463 a339 09c5 9cfd 7d0f 167e f6c6
1992 f85c 88aa 374c 3ab6 e017 ef9a 2d8a
2c17 8762 0a9f 350d b466 29cc 0dae 5dd5
e380 a7f6 e9b8 d411 d810 50a2 7e72 4f64
9fee 4974 539e 162a aebc 94b3 8af4 500a
root@ThinkPad-E420:~# rm tempfile
root@ThinkPad-E420:~# sync
root@ThinkPad-E420:~# hdparm --read-sector 1689600 /dev/sdb
/dev/sdb:
reading sector 1689600: succeeded
231d a3b3 4935 14be f08f a5cd 891a 24a5
06d0 3ca2 8bb9 cd38 7203 6cd1 2279 4c64
e4e9 d610 e5f8 3cf0 f945 a604 b664 5ce6
3c6c b185 d0ab 0cfd 970a 4bc2 f8c5 bf5e
848a b76f 335f 3d98 16dc 23a6 63c2 c3c6
2afa 3a35 2962 a51b 925a 7fca 5fa6 7b42
82a4 d1ef 25cd 06bc e932 88d9 3a8f 217b
5d8b 05f7 9831 f391 4428 c5cc c693 04b7
4c5b 036a 8cd2 31bf a1af 4db9 8fe0 86f9
e2e9 be90 813d a677 53b6 de1f 2171 0094
042c 0dba eb6f 7fed 6d39 20ac 2eaf e550
7cea 3b6d 0867 f465 b37a 4077 3539 89dc
15ca 0c46 b6a5 affb d11c 9565 8dce c237
8b28 0c8f 0818 2ba3 f180 5146 6618 7d54
5d0b 7ca9 0b2e 488d b1a7 b738 204d a713
264e e174 041c efc3 03d6 1217 be54 75bb
2826 19c2 4fc5 712c 06e4 c3fb 294f c3d9
7c20 7c62 6091 afbe 6d8e bd16 d969 0cd4
f8c7 8fa2 b184 c8ea 4634 a3bb 3068 f032
e1ea 8222 b621 7679 43bf 4e17 5c1d 7762
3fa9 fdfa ac43 5758 a6de ec9c 445e f3e4
9156 cd8e 88df 0acd 42f7 9176 ecd1 269d
abfc dc22 79a5 ddcf 7a3e 6858 ba22 bbd2
20e2 2c6e 4eb7 9864 ff3e 296d c2d6 93c6
f226 6ce4 077e 54a7 d866 833c 8fdc 3a21
c130 95da 08fb f823 88f6 907f e7a0 d4ae
33ef aa1a bad0 08bb a2f7 d495 20a4 87fa
56af 6463 a339 09c5 9cfd 7d0f 167e f6c6
1992 f85c 88aa 374c 3ab6 e017 ef9a 2d8a
2c17 8762 0a9f 350d b466 29cc 0dae 5dd5
e380 a7f6 e9b8 d411 d810 50a2 7e72 4f64
9fee 4974 539e 162a aebc 94b3 8af4 500a
root@ThinkPad-E420:~#
Опции fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sdb1 during installation
UUID=ff7913eb-dd87-42ba-8cb5-be6fe35bdc08 / ext4 discard,errors=remount-ro 0 1
# /home was on /dev/sda1 during installation
UUID=655fe2b7-7781-4cb0-abb4-ca4afd2b80b9 /home ext4 defaults 0 2
tmpfs /tmp tmpfs defaults 0 0
tmpfs /var/tmp tmpfs defaults 0 0
tmpfs /var/lock tmpfs defaults 0 0
tmpfs /var/log tmpfs defaults 0 0
cat /etc/mtab
/dev/sdb1 / ext4 rw,discard,errors=remount-ro 0 0
proc /proc proc rw,noexec,nosuid,nodev 0 0
sysfs /sys sysfs rw,noexec,nosuid,nodev 0 0
none /sys/fs/fuse/connections fusectl rw 0 0
none /sys/kernel/debug debugfs rw 0 0
none /sys/kernel/security securityfs rw 0 0
udev /dev devtmpfs rw,mode=0755 0 0
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=0620 0 0
tmpfs /tmp tmpfs rw 0 0
tmpfs /run tmpfs rw,noexec,nosuid,size=10%,mode=0755 0 0
none /run/lock tmpfs rw,noexec,nosuid,nodev,size=5242880 0 0
none /run/shm tmpfs rw,nosuid,nodev 0 0
none /run/user tmpfs rw,noexec,nosuid,nodev,size=104857600,mode=0755 0 0
tmpfs /var/tmp tmpfs rw 0 0
tmpfs /var/log tmpfs rw 0 0
/dev/sda1 /home ext4 rw 0 0
gvfsd-fuse /run/user/vipassin/gvfs fuse.gvfsd-fuse rw,nosuid,nodev,user=vipassin 0 0
/dev/sdc1 /media/vipassin/de12ebf2-4858-41e8-9ff9-edf78619791a ext4 rw,nosuid,nodev,uhelper=udisks2 0 0
gvfsd-fuse /root/.gvfs fuse.gvfsd-fuse rw,nosuid,nodev 0 0
hdparm -iI /dev/sdb
/dev/sdb:
Model=OCZ-NOCTI, FwRev=2.25, SerialNo=OCZ-6LL19ZY2LZR949F9
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=unknown, MaxMultSect=16, MultSect=16
CurCHS=65535/1/63, CurSects=4128705, LBA=yes, LBAsects=58626288
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: unknown setting WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-2,3,4,5,6,7
* signifies the current active mode
ATA device, with non-removable media
Model Number: OCZ-NOCTI
Serial Number: OCZ-6LL19ZY2LZR949F9
Firmware Revision: 2.25
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0110)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 58626288
LBA48 user addressable sectors: 58626288
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 28626 MBytes
device size with M = 1000*1000: 30016 MBytes (30 GB)
cache/buffer size = unknown
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
Write-Read-Verify feature set
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* unknown 76[14]
* unknown 76[15]
* DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Data Tables (AC5)
* SET MAX SETPASSWORD/UNLOCK DMA commands
* Data Set Management TRIM supported (limit 1 block)
* Deterministic read data after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
2min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5e83a97edb0d6cfa
NAA : 5
IEEE OUI : e83a97
Unique ID : edb0d6cfa
Checksum: correct
fdisk -l
Диск /dev/sdb: 30.0 Гб, 30016659456 байт
255 головок, 63 секторов/треков, 3649 цилиндров, всего 58626288 секторов
Units = секторы of 1 * 512 = 512 bytes
Размер сектора (логического/физического): 512 байт / 512 байт
I/O size (minimum/optimal): 512 bytes / 512 bytes
Идентификатор диска: 0x000ad5ad
Устр-во Загр Начало Конец Блоки Id Система
/dev/sdb1 * 2048 58625094 29311523+ 83 Linux
sudo hdparm -I /dev/sdb | grep 'Model\|TRIM'
Model Number: OCZ-NOCTI
* Data Set Management TRIM supported (limit 1 block)
* Deterministic read data after TRIM