linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Purposely using btrfs RAID1 in degraded mode ?
@ 2016-01-04 17:00 Alphazo
  2016-01-04 17:41 ` Chris Murphy
  2016-01-05 16:34 ` Psalle
  0 siblings, 2 replies; 11+ messages in thread
From: Alphazo @ 2016-01-04 17:00 UTC (permalink / raw)
  To: linux-btrfs

Hello,

My picture library today lies on an external hard drive that I sync on
a regular basis with a couple of servers and other external drives.
I'm interested by the on-the-fly checksum brought by btrfs and would
like to get your opinion on the following unusual use case that I have
tested:
- Create a btrfs with the two drives with RAID1
- When at home I can work with the two drives connected so I can enjoy
the self-healing feature if a bit goes mad so I only backup perfect
copies to my backup servers.
- When not at home I only bring one external drive and manually mount
it in degraded mode so I can continue working on my pictures while
still having checksum error detection (but not correction).
- When coming back home I can plug-back the seconde drive and initiate
a scrub or balance to get the second drive duplicated.

I have tested the above use case with a couple of USB flash drive and
even used btrfs over dm-crypt partitions and it seemed to work fine
but I wanted to get some advices from the community if this is really
a bad practice that should not be used on the long run. Is there any
limitation/risk to read/write to/from a degraded filesystem knowing it
will be re-synced later?

Thanks
alphazo

PS: I have also investigated the RAID1 on a single drive with two
partitions but I cannot afford the half capacity resulting from that
approach.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-01-11 22:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-04 17:00 Purposely using btrfs RAID1 in degraded mode ? Alphazo
2016-01-04 17:41 ` Chris Murphy
2016-01-06 12:30   ` Alphazo
2016-01-09 10:08   ` Duncan
2016-01-11 22:17     ` Alphazo
2016-01-05 16:34 ` Psalle
2016-01-06 12:34   ` Alphazo
2016-01-07 12:57     ` Psalle
2016-01-07 13:09       ` Alphazo
2016-01-07 17:34         ` Sree Harsha Totakura
2016-01-11 14:25         ` Psalle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).