Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
Do you have any pointers to information about this new API? –  Mark Wagner Aug 9 '10 at 23:14
    
Pretty sure he's referring to discard/TRIM support: lwn.net/Articles/293658 –  James Aug 10 '10 at 8:46

1 Answer 1

up vote 1 down vote accepted

Blocks are copied on every change.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.