On Fri, Dec 30, 2011 at 14:12, Sandra Schlichting <littlesandra88@xxxxxxxxx> wrote: >> How is this advantageous over dmcrypt-LUKS? > > TRIM pass-through for SSD's. With dmcrypt on an SSD write performance > is very slow. Good point. I'm actually very close to moving from magnetic to SSD storage for my btrfs volumes. Would my luks layer offset the majority of any advantage I might otherwise see from SSD? I'd be happy just to eliminate seektime. > cryptsetup-1.4.0-1 have --enable-discards option to allow > discards/TRIM, but it is not recommended for theoretical security > reasons. > > From my understanding some btrfs features wouldn't work with dmcrypt, > like "online volume growth and shrinking"? I've been using btrfs on luks now for 6 months and online grow works fine -- if you online grow the luks container first. (cryptsetup resize <name>) It does make it a more manual process, I suppose, but for me it's worth knowing that no part of the filesystem, will ever be available should a disk be stolen. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
