Linux Btrfs filesystem development
 help / color / mirror / Atom feed
* pro/cons of raid1 with mdadm/lvm2
@ 2014-11-30 11:11 Gour
  2014-11-30 22:06 ` Russell Coker
  2014-12-01  5:42 ` Roman Mamedov
  0 siblings, 2 replies; 9+ messages in thread
From: Gour @ 2014-11-30 11:11 UTC (permalink / raw)
  To: linux-btrfs

Hello,

recently I was migrating from Debian to openSUSE and wanted to make it
smooth by dismantling my 2x1TB raid-1 array, install SUSE on the 1st
disk, cp /home data, check everything is OK and then add 2nd disk
containing Debian into raid-1 array.

However, in orde to accomplish it I learnt that one cannot simply
degrade mount and use such array like with mdadm, but I had to convert
system with -dconvert=single -mconvert=single which takes some time.

That's why I'm considering to put all my partitions (swap, root with
several subvolumes, home) under LVM2 volumes and then create raid-1
array with mdadm since that would enable to me more easy and quickly
temporarily dismantle raid-1 array, do some data manipulation from one
disk to another (sometimes I use 2nd disk as temporatily storage when
restoring some archived data from tapes etc.) and then resilver raid-1
array.

However, I wonder if there are some 'cons' in having raid-1 partition
under mdadm and not using native mirroring capabilities of btrfs fs?

Let me add that I also want to take advantage of using SUSE's snapshots
features, but I hope that's not the obstacle for the above-mentioned
layout - I'd still use btrfs' snapshot facility.


Sincerely,
Gour

-- 
Whenever and wherever there is a decline in religious practice, 
O descendant of Bharata, and a predominant rise of irreligion — 
at that time I descend Myself.



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

end of thread, other threads:[~2014-12-01 18:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-30 11:11 pro/cons of raid1 with mdadm/lvm2 Gour
2014-11-30 22:06 ` Russell Coker
2014-12-01  1:00   ` Chris Murphy
2014-12-01  8:18     ` Russell Coker
2014-12-01  9:30     ` Gour
2014-12-01  9:26   ` Gour
2014-12-01 18:19     ` Robert White
2014-12-01  5:42 ` Roman Mamedov
2014-12-01  9:33   ` Gour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox