Skip to main content

All Questions

Tagged with
0 votes
1 answer
959 views

It possible use SSD as cache?

I have a linux media server that I use mainly with plex and Serviio(dlna server). I have a t400 4gb gpu (transcoding), 16GB ddr4 ram and an i7-6700 cpu. Now, I have 3 SSDs: 1TB for movies, 250GB for ...
vincenzogianfelice's user avatar
0 votes
2 answers
2k views

Creating an SSD partition with a different block size

I am trying to put together a complex setup (Debian) that uses LUKS+LVM+LVM cache in a mixed SSD+HD environment. To use a partition on the SSD (partition size for lvmcache volumes: 20 GB) as the LVM ...
user2751530's user avatar
5 votes
2 answers
1k views

LVMCache: Why use a cachepool instead of a cachevol?

I'm aware of the differences between a cachepool and cachevol. Cachepool separates the cache data and metadata into two separate volumes, whereas a Cachevol uses a single volume for both. My question ...
Swivel's user avatar
  • 236
0 votes
2 answers
870 views

Using dm-cache for transparent ongoing backup

Is there any chance to use dm-cache for ongoing SSD backup? I want to have very fast and cheap eventually consistent failure resistant partition. Use case: We have regular ssd (1Gb) (cache) + hdd (...
nikolobok's user avatar
1 vote
1 answer
422 views

Reduce wear of SDD / EXT4 / Frequent overwrites of files

I'd like to configure GNU/Linux in a way that the wear of the solid-state disk (SSD) is reduced as much as possible. Setting: Some programs are frequently ran that overwrite small debug output files (...
DCTLib's user avatar
  • 111
1 vote
0 answers
1k views

Wait to Mount Until Process Not Busy

I am writing/reading to an SSD over NVMe. I would like to unmounts the SSD partitions and remount them after writing and before reading so as to avoid caching problems. It seems when I try to perform ...
John Frye's user avatar
0 votes
1 answer
2k views

How to use SSD on ZFS-based system?

I understand ZFS uses / can be set up to use an SSD as L2ARC cache, ZIL, as well as host for a deduplication table. None of these appear to require a fixed minimum size (the deduplication table might,...
hyperfekt's user avatar
  • 115
3 votes
0 answers
1k views

Disable caching for entire file system or disk?

I have a 1TB M.2 SSD drive that I use for regularly creating really large tarballs. It just has an ext4 file system on it at the moment. Is there some way I can tell the kernel not to cache data on ...
John Elliot V's user avatar
1 vote
0 answers
505 views

device-mapper error while setup of dm-cache

I am trying to setup dmcache using the tutorial https://wiki.mikejung.biz/Dmcache When I run the command `dmsetup create home-cached --table '0 976771120 cache /dev/mapper/ssd-metadata /dev/mapper/...
arpit joshi's user avatar
6 votes
1 answer
2k views

LVM cache and TRIM

I have set up LVM to cache a logical volume (located on an HDD) on a partition of an SSD (in writeback mode if this matters). As far as I can tell, this works correctly and the cache uses all ...
JPW's user avatar
  • 276
0 votes
0 answers
91 views

SSD as write target during reads

I have a real-time application which always writes data to a RAID 10 HDD configuration in a sequential manner at around ~50 MB/s. It uses mmap and writing should never be blocked due to waiting I/O. ...
ronag's user avatar
  • 167
1 vote
0 answers
2k views

ssd caching in loop device on btrfs

I have an ssd and 2TB hard disk. The ssd is used for the root filesystem which uses only around 20G of the 120G available. Is there a way to use an image/loop on the root filesystem (btrfs) as a cache ...
Jodka Lemon's user avatar
  • 3,183
1 vote
1 answer
1k views

Change Linux Bcache device type

I have accidentally configured my SSD as a backing device instead of a caching device. Simply trying either one of the following: sudo make-bcache -C /dev/sdb1 sudo make-bcache -C /dev/sdb Gives the ...
Gerharddc's user avatar
  • 325
10 votes
1 answer
685 views

How to know what is cached by dm-cache?

I am using dm-cache successfully for quite a while now. Now I would like to know which files are being currently in the cache. I understand that dm-cache works with blocks, not files, but since there ...
Fabian's user avatar
  • 1,105
12 votes
1 answer
3k views

How to use an SSD for caching, so my hard disks can spin down?

I've got a file server with a bunch of disks running together in a BTRFS pool and want to add an SSD for caching. I'm not mainly after speeding up things, but want to catch the regular small accesses ...
Jens Erat's user avatar
  • 2,343

15 30 50 per page