-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is there any particular reason why I can't use DUP for data?

When I try to set it with balance there is a kernel message:

  btrfs: dup for data is not allowed

The glossary at https://btrfs.wiki.kernel.org/index.php/Glossary says:

  Regular data cannot be assigned DUP level.

It is somewhat baffling that code and documentation exists to prevent this!

My current use case is an older hard drive I am putting backups on.  Since
my data fits in less than half of the drive, and drives get bad sectors
(this has had several it has reallocated) using DUP would be useful.

(I realise making two partitions and RAID-1 with them would work, which
makes the DUP restriction even sillier.)

Roger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAlFy978ACgkQmOOfHg372QTCXwCdGuWbRFY8cZoWNFZb1k3mFeZM
nrkAoK9c5KddsJ1R57pAR1Lk89fPSo9Q
=ENfT
-----END PGP SIGNATURE-----

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to