Talk:Using Btrfs with Multiple Devices

From btrfs Wiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
If i have a btrfs volume on an encrypted partition (using dm-crypt/luks), and i want to expand it to another physical drive, would i want to setup an encrypted volume on the second drive as well, or would the first volume's encryption apply to the 2.
 
If i have a btrfs volume on an encrypted partition (using dm-crypt/luks), and i want to expand it to another physical drive, would i want to setup an encrypted volume on the second drive as well, or would the first volume's encryption apply to the 2.
  
In other words should i run "btrfs-vol -a /dev/mapper/encrypted-vol2 /media/foo" or would "btrfs-vol -a /dev/sdc1 /media/foo" work just as well to maintain the encryption applied to the first volume. Doing so with both volumes encrypted seems to lead to significant performance loss (as would be expected).
+
In other words should i run "btrfs-vol -a /dev/mapper/encrypted-vol2 /media/foo" or would "btrfs-vol -a /dev/sdc1 /media/foo" work just as well to maintain the encryption applied to the first volume. Doing so with both volumes encrypted seems to lead to significant performance loss (as would be expected). ([[User:Evilgold|Evilgold]] 22:27, 6 September 2010 (UTC))
  
 
== RAID from Drives of Differing Capacities ==
 
== RAID from Drives of Differing Capacities ==

Revision as of 22:27, 6 September 2010

Encrytion over multiple devices

I'm curious about using btrfs with encryption over multiple devices. What is the best way?

If i have a btrfs volume on an encrypted partition (using dm-crypt/luks), and i want to expand it to another physical drive, would i want to setup an encrypted volume on the second drive as well, or would the first volume's encryption apply to the 2.

In other words should i run "btrfs-vol -a /dev/mapper/encrypted-vol2 /media/foo" or would "btrfs-vol -a /dev/sdc1 /media/foo" work just as well to maintain the encryption applied to the first volume. Doing so with both volumes encrypted seems to lead to significant performance loss (as would be expected). (Evilgold 22:27, 6 September 2010 (UTC))

RAID from Drives of Differing Capacities

I've already described it here: Talk:Project_ideas

--Ddfitzy 23:54, 1 August 2010 (UTC)

Personal tools