Skip to main content

Questions tagged [trim]

An SSD command that tells the drive which blocks of memory are no longer in use, allowing it to erase blocks containing deleted data.

2 votes
2 answers
142 views

In my current setup, I have three different filesystems on two different SSDs: A FAT partition and a BTRFS partition on one drive, and ext4 on a second drive. When running fstrim, the output is ...
Hari's user avatar
  • 202
-1 votes
1 answer
101 views

It looks like my OS is set to periodically trim portable SSD drives, and TRIM is supported by my portable SSD. I connect this SSD via its usbc cable, attached to the usbc to usb3 adapter that came in ...
user324831's user avatar
0 votes
1 answer
121 views

After reading online I was under the impression that TRIM is not automatically (periodically) sent over to my USBconnected SSD by Fedora; but some discussions on this forum make me doubt this. Anyone ...
user324831's user avatar
0 votes
1 answer
165 views

I have an HDD used for archival purposes. I had to format it with NTFS to keep it accessible from Windows. I need TRIM support (because the HDD is SMR...) and NTFS can't trim without the discard ...
td211's user avatar
  • 883
0 votes
1 answer
104 views

On Linux, this command fstrim -av I will remove all unused blocks (particularly interesting on VM disks and necessary on SSD to preserve/get a longer duration). NetBSD has a similar command called ...
elbarna's user avatar
  • 14.5k
0 votes
1 answer
115 views

Is possible to resize a qemu/libvirt image maintaining virtual size and at same time don't loss data? I explain better: when you create a virtual disk qemu-img create -f qcow2 debian-GEN.qcow2 60G ...
elbarna's user avatar
  • 14.5k
1 vote
1 answer
83 views

I want to clopy a partition between SSD devices. Normally I could do it simply with the "dd" or "buffer" commands. However, now that I have SSDs, I also would like to miss the ...
peterh's user avatar
  • 10.5k
0 votes
1 answer
159 views

I don't want to display the first directory component of paths printed by the inner find command from the below example find . ! -name . -prune -type d -exec sh -c ' for dir do echo "\n\n${dir#.*/...
user27072144's user avatar
3 votes
1 answer
17k views

It used to be that properly enabling TRIM for SSDs on Linux involved two steps: Running fstrim once, to take care of all the "untrimmed" blocks to date, then Setting the discard flag in ...
Jason C's user avatar
  • 1,947
1 vote
0 answers
2k views

I have an old mSATA SSD (model name: Plextor PX-128M6M), which is installed to an mSATA-to-USB enclosure with ASM1153E controller. I want to (just logically, at the SSD controller level) erase all of ...
segfault_bilibili's user avatar
0 votes
1 answer
429 views

Currently working on a command in AppleScript to trim weight data we receive from a scale. We receive the weight in the following format X.XXX. lb. The Xs representing numbers. We're ...
rpior's user avatar
  • 1
0 votes
1 answer
684 views

I would put my Ubuntu 22.04 NVME disk into this USB 3.2 20Gbps M.2 NVMe SSD Enclosure and boot it from a USB 3.2x2 port. I know that a SSD needs to be trimmed by FSTRIM, but I also read that ...
Antonio Petricca's user avatar
0 votes
0 answers
428 views

First apologies if this has been asked before, but I could not find any link with any combination of keywords. My question is - How do SSD optimisations work in BTRFS in a RAID1 where both devices are ...
Vijay Gill's user avatar
0 votes
1 answer
147 views

I know that btrfs support trim/discard, as a mount option or manually (fstrim -A). I want to made a raid1 of ssd, I will get any problem with trim?
elbarna's user avatar
  • 14.5k
2 votes
1 answer
1k views

I have the following partition table: NAME nvme0n1 ├─nvme0n1p1 part /boot └─nvme0n1p2 part └─crypt crypt ├─crypt-swap lvm [SWAP] ├...
BiagioF's user avatar
  • 161

15 30 50 per page
1
2 3 4 5