VirtualBox

Opened 7 years ago

Last modified 3 years 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 linuxguru, 7 years ago

Fedora 25 TRIM problem

by linuxguru, 7 years ago

FreeBSD UFS Trim problem

by linuxguru, 7 years ago

FreeBSD ZFS Trim problem

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use