Opened 7 years ago
Last modified 3 months ago
#16795 new defect
TRIM on SSD not stable with Linux, Windows 10, FreeBSD — at Version 1
Reported by: | linuxguru | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.22 |
Keywords: | TRIM SSD | Cc: | |
Guest type: | all | Host type: | Windows |
Description (last modified by )
Linux TRIM timeouts sometimes, FreeBSD same, Windows 10 doesn't boot at all
See below and attachments for details:
Linux Fedora 25 latest updates
- Attach an image:
VBoxManage storageattach "Fedora 25" --storagectl "SATA" --port 0 --device 0 --nonrotational on --discard on --medium "Fedora 25.vdi" --type hdd
- check trim enabled
hdparm -I /dev/sda | grep TRIM * Data Set Management TRIM supported (limit unknown)
- Enable it in the mount options and reboot afterwards
/dev/mapper/fedora-root / ext4 defaults,discard 1 1
- run fstrim /
Hangs sometimes with timeouts
FreeBSD 11 latest updates
- Attach disk as under Linnux
- Check for TRIM support
camcontrol identify /dev/ada0 | grep -i trim Data Set Management (DSM/TRIM) yes
- Enable TRIM support on filesystem
mount | grep -i ufs /dev/ada0p2 on / (ufs, local, journaled soft-updates) # Boot into single user mode tunefs -t enable /dev/ada0p2 tunefs: issue TRIM to the disk set bash -c 'tunefs -p /dev/ada0p2 2>&1 | grep -i trim' tunefs: trim: (-t) enabled
Change History (4)
by , 7 years ago
Attachment: | VirtualBox_Fedora 25_28_05_2017_08_44_23.png added |
---|
by , 7 years ago
Attachment: | VirtualBox_FreeBSD - UFS_27_05_2017_22_08_25.png added |
---|
FreeBSD UFS Trim problem
by , 7 years ago
Attachment: | VirtualBox_FreeBSD_27_05_2017_22_20_32.png added |
---|
FreeBSD ZFS Trim problem
comment:1 by , 7 years ago
Description: | modified (diff) |
---|---|
priority: | blocker → major |
Note:
See TracTickets
for help on using tickets.
Fedora 25 TRIM problem