Opened 7 years ago
Last modified 7 weeks ago
#16795 new defect
TRIM on SSD not stable with Linux, Windows 10, FreeBSD — at Initial Version
Reported by: | linuxguru | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.22 |
Keywords: | TRIM SSD | Cc: | |
Guest type: | all | Host type: | Windows |
Description
Linux TRIM timeouts sometimes, FreeBSD same, Windows 10 doesn't boot at all
See below and attachments for details ================================================================================================================================================================ Linux Fedora 25 latest updates 1.) Attach a image: VBoxManage storageattach "Fedora 25" --storagectl "SATA" --port 0 --device 0 --nonrotational on --discard on --medium "Fedora 25.vdi" --type hdd
2.) check trim enabled hdparm -I /dev/sda | grep TRIM
- Data Set Management TRIM supported (limit unknown)
3.) Enable it in the mount options and reboot afterwards /dev/mapper/fedora-root / ext4 defaults,discard 1 1
4.) run fstrim / Hangs sometimes with timeouts ================================================================================================================================================================ FreeBSD 11 latest updates 1.) Attach disk as under Linnux 2.) Check for TRIM support camcontrol identify /dev/ada0 | grep -i trim Data Set Management (DSM/TRIM) yes 3.) 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 (3)
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
Fedora 25 TRIM problem