0

LVM 2 snapshots works as COW. However the block may change even if it is not used anymore. As SSD disks may need marking of free/used blocks to better manage blocks, the API was introduced into Linux to mark free/used blocks.

My question is - does LVM use this API? I.e. are blocks are copied on every change or only if filesystem cares about contents?

sysadmin1138
  • 133,124
  • 18
  • 176
  • 300
Maciej Piechotka
  • 677
  • 1
  • 7
  • 15

1 Answers1

1

Blocks are copied on every change.

James
  • 7,643
  • 2
  • 24
  • 33