Re: BTRFS, encrypted LVM and disk write cache ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 12, 2011 at 07:45:25AM +0200, Swâmi Petaramesh wrote:
> Hi list,
> 
> I'm a new BTRFS user and will try not to ask FAQs ;-)
> 
> I'm currently using Btrfs v0.19 on stock Ubuntu Natty (kernel 2.6.38)
> and use a BTRFS inside an encrypted LVM.
> 
> The wiki "gotchas" page https://btrfs.wiki.kernel.org/index.php/Gotchas
> states :
> « btrfs volumes on top of dm-crypt block devices (and possibly LVM)
> require write-caching to be turned off on the underlying HDD. Failing to
> do so, in the event of a power failure, may result in corruption not yet
> handled by btrfs code. (2.6.33) »
> 
> ...So I've turned my write cache off, but I notice this is stated for
> kernel 2.6.33, so wonder if this still is an issue with 2.6.38, or has
> it been addressed since ?
> 
> Thanks in advance for your help.

If you mount and start writing and don't see a message in dmesg about disabling
barriers then you should be good to go.  Thanks,

Josef
--
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


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux