Re: raid1 on uneven-sized disks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jim MacBaine posted on Sun, 09 Aug 2015 14:29:53 +0200 as excerpted:

> Traditionally I'm using rsync to create hardlinked backups on ext3/4 on
> md-raid1. This setup has been working reliably for many years now,
> including the survival of two disk failures. But it is quite cumbersome
> to reshape the structure of the raids when I get a new disk, an old one
> fails, or space requirements change. A single btrfs with snapshots would
> be much easier to handle. I'm not aiming for absolute reliability here
> -- all the really important stuff is backed up in a third place as well.
> But I would rather not like my file system to be the weakest link in the
> backup chain.

Others answered your raid1 question well, but left this, so let me tackle 
it.

My standard answer to btrfs stability questions is that btrfs is "not yet 
fully stable and mature", it's stabilizing, and definitely more stable 
that it has been, but it has only been a few kernel cycles since some 
really big bugs that hit a lot of people, and in fact, user-space side, 
there was a critical bug in mkfs.btrfs in btrfs-progs v4.1.1 (with v4.1.2 
being current), so they do still happen from time to time, tho that one 
only affected people happening to do a mkfs.btrfs with the affected 
version, which was only out a couple weeks or so.

IOW, the standard sysadmin rule that if it's not backed up, by 
definition, you don't care about it, still applies double to btrfs -- 
really, keep your backups, or your actions demonstrate your lack of care 
and you may see the results thereof.

That said, btrfs is working well in daily use for many people, and some 
distros are shipping it as the default for at least some partitions 
(often root, where the snapshot feature is used to manage update 
rollbacks where necessary), so it's stable /enough/, as long as you do 
have those backups and are prepared to use them, should it be necessary.

We do recommend that you stay relatively current on both kernel and 
userspace, however.  So a current 4.1 series kernel and btrfs-progs 4.1.2 
are excellent, but consider another filesystem if you're the type who was 
still on a 2.x kernel thru 3.12 or so. =:^)  

And... there's a couple btrfs features to avoid at this time.  As 
mentioned elsewhere, raid56 mode is still quite new and not yet mature, 
yet, so avoid it unless you intend to take on the risk of leading-edge 
testing, and the btrfs quota code continues to be a source of issues, so 
I recommend not using quotas on btrfs.  If you need quotas, you want 
another filesystem anyway, because quotas simply aren't reliable on btrfs 
yet.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman

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



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux