On Wed, Jun 25, 2014 at 09:25:57AM +0200, Daniel Landstedt wrote:
> Will it be possible to use DUP for data as well as for metadata on a
> single device?

   This has variously been possible and not over the last few years. I
think it's finally come down on the side of "not", but by all means try
it (mkfs.btrfs -d dup).

> And if so, am I going to be able to specify more than 1 copy of the data?

   It'll be exactly 2 copies at the moment. Note that performance on
an SSD will at least halve, and performance on a rotational device
will probably suck quite badly. Neither will help you in the case of a
full-device failure. You still need backups, kept on a separate machine.

> Storage is pretty cheap now, and to have multiple copies in btrfs is
> something that I think could be used a lot. I know I will use multiple
> copies of my data if made possible.

   The question is, why? If you have enough disk media errors to make
it worth using multiple copies, then your storage device is basically
broken and needs replacing, and it can't really be relied on for very
much longer.

> Is it something that might be available when RAID1 gets N mirrors
> instead of just 1 mirror?

   The n-copies code will probably support n-copies DUP as well.
There's no reason particularly to restrict it that way.

   Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 65E74AC0 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
  --- Do not meddle in the affairs of wizards, for they are subtle, ---  
                           and quick to anger.                           

Attachment: signature.asc
Description: Digital signature

Reply via email to