Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Scenario: -- Debian Xen dom0 -- SSD drive setup as LVM PV/single Volume Group. -- Debian pv_ops-based domU setup on LVM logical volume. -- File system inside domU is ext4 with discard option enabled.

Question: Will the TRIM command generated inside the domU pass through these layers and reach the physical SSD?

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Linux supports TRIM both as a domU (through commit ed30bf317) and dom0 (through commit b3cb0d6), but only starting with the version 3.1.

Support in DeviceMapper (the kernel technology underlying LVM) is older, so it won't be the problem.

share|improve this answer
version 3.1 of what? Linux kernel? – Brian Blood Jul 4 '12 at 3:45
Yes. Sorry if that was ambiguous. – Pierre Carrier Jul 4 '12 at 4:08

Your Answer


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.