Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
BTRFS & LVM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-08
12:32 AM
2015-07-08
12:32 AM
BTRFS & LVM
Hi,
I was very excited when I realised, that Netgear is now using btrfs. Mainly because it would help a lot when changing disk in a raid0 without the need of destrying the complete raid.
(I dont use raid >= 1, because there has to be a backup elswhere any way....)
So I played around a little with my RN104 btrfs,but realised, that Netgear "only" managed to format an LVM Raid partition with btrfs.
Okay, yes, there are benefits from Bitrot, and snapshot functionality... BUT, btrfs knows nothing from the physial devices, hence it cant profit from that.
Did any one know, if Netgear is planing to use BTRFS not only as a way to format a normal LVM partition?
regards
I was very excited when I realised, that Netgear is now using btrfs. Mainly because it would help a lot when changing disk in a raid0 without the need of destrying the complete raid.
(I dont use raid >= 1, because there has to be a backup elswhere any way....)
So I played around a little with my RN104 btrfs,but realised, that Netgear "only" managed to format an LVM Raid partition with btrfs.
Okay, yes, there are benefits from Bitrot, and snapshot functionality... BUT, btrfs knows nothing from the physial devices, hence it cant profit from that.
Did any one know, if Netgear is planing to use BTRFS not only as a way to format a normal LVM partition?
regards
Message 1 of 6
Labels:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-08
12:45 AM
2015-07-08
12:45 AM
Re: BTRFS & LVM
What kind of RAID-0 volume would you want? A separate one for each disk? with that it would be quick to create a new volume on a new disk that you add. Swapping disks out isn't meant for backups. It's meant for replacing a dead disk or a disk you no longer wish to use (with a higher capacity one).
I think you meant md raid not LVM RAID. We are not using LVM. OS4 used EXT4 on top of LVM on top of md raid. Now we use BTRFS on md raid.
While the BTRFS filesystem is stable, BTRFS level RAID is still quite experimental (especially RAID5 and RAID6) in my personal view and I would not trust it. Whereas md raid has been around for over a decade and is very mature.
As for what we will do in the future you will have to wait and see.
Useful links: Sending Logs|My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How to contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
I think you meant md raid not LVM RAID. We are not using LVM. OS4 used EXT4 on top of LVM on top of md raid. Now we use BTRFS on md raid.
While the BTRFS filesystem is stable, BTRFS level RAID is still quite experimental (especially RAID5 and RAID6) in my personal view and I would not trust it. Whereas md raid has been around for over a decade and is very mature.
As for what we will do in the future you will have to wait and see.
Useful links: Sending Logs|My ReadyNAS Gear|FAQ|Hardware Compatibility List|Docs: Setup Guide, Manual|Downloads|Unofficial Tips|GPL|MDGM on Twitter|MDGM's Unofficial Guides
NB: A ReadyNas is not an excuse not to have a backup. Fire, theft, multiple disk failures, other hardware failure, floods, user negligence etc. can all result in loss of data.
How to contact NETGEAR Technical Support | Australia: 1300 361 254 / Other Numbers|Online Submission
Unofficial Guide for Moving from Sparc ReadyNAS to x86 ReadyNAS|Using Gmail with the ReadyNAS|XRAID Volume Size Calculator
Message 2 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-08
01:17 AM
2015-07-08
01:17 AM
Re: BTRFS & LVM
Hi mdgm
No, no. I'm not sure, but can't btrfs use logical partitions for building a raid? For example, use sda2 + sdb2 + sdc2 to build a raid-n?
yes, eactly. Every time when expanding my NAS's (all bays filled), I'll have the problem, that I have to complete restore them from Backup.
With Btrfs it would be possible to empty one of the disk ( there must be enough space left on the Raid), take it out of the raid, and mount a bigger one to it.
This may be, I'm not that "linux expert". 😉
yes, I heard about it. But may be, it will become stable some time.
And because I'm not using raid >0 (didn't need to ensure 100% data access) raid 0 would be quite fine for me... 🙂
(okay, yes, there may exist some other users, which have to rely on Raid5/6)
[/quote]
That's right, may be next week .... 😉
Regards
mdgm wrote: What kind of RAID-0 volume would you want? A separate one for each disk?
No, no. I'm not sure, but can't btrfs use logical partitions for building a raid? For example, use sda2 + sdb2 + sdc2 to build a raid-n?
mdgm wrote:
Swapping disks out isn't meant for backups. It's meant for replacing a dead disk or a disk you no longer wish to use (with a higher capacity one).
yes, eactly. Every time when expanding my NAS's (all bays filled), I'll have the problem, that I have to complete restore them from Backup.
With Btrfs it would be possible to empty one of the disk ( there must be enough space left on the Raid), take it out of the raid, and mount a bigger one to it.
mdgm wrote:
I think you meant md raid not LVM RAID. We are not using LVM. OS4 used EXT4 on top of LVM on top of md raid. Now we use BTRFS on md raid.
This may be, I'm not that "linux expert". 😉
mdgm wrote:
While the BTRFS filesystem is stable, BTRFS level RAID is still quite experimental (especially RAID5 and RAID6) in my personal view and I would not trust it. Whereas md raid has been around for over a decade and is very mature.
yes, I heard about it. But may be, it will become stable some time.
And because I'm not using raid >0 (didn't need to ensure 100% data access) raid 0 would be quite fine for me... 🙂
(okay, yes, there may exist some other users, which have to rely on Raid5/6)
mdgm wrote:
As for what we will do in the future you will have to wait and see.
[/quote]
That's right, may be next week .... 😉
Regards
Message 3 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-08
03:36 AM
2015-07-08
03:36 AM
Re: BTRFS & LVM
Integrating raid-like features into the file system itself has a lot of advantages, so it is an industry trend worth watching.
ReadyNAS expands from single disk jbod to raid-1 to raid-5 automatically, and the automatic expansion feasure is very important to the bulk of the users. If they tried to use the raid-like features in btrfs for jbod and raid-1, they won't be able to expand to md raid-5 w/o a factory reset. Using the experimental features prematurely would cost Netgear customers (very few users are willing to take needless chances with their data integrity).
So instead they developed an alternative way to get bit-rot protection, which gives them most of the benefits of btrfs now, while staying away from experimental features. Later on when they become stable, they can do more.
I think you've answered your original question here.
Gonzo-already_in_use wrote: ...okay, yes, there may exist some other users, which have to rely on Raid5/6...
ReadyNAS expands from single disk jbod to raid-1 to raid-5 automatically, and the automatic expansion feasure is very important to the bulk of the users. If they tried to use the raid-like features in btrfs for jbod and raid-1, they won't be able to expand to md raid-5 w/o a factory reset. Using the experimental features prematurely would cost Netgear customers (very few users are willing to take needless chances with their data integrity).
So instead they developed an alternative way to get bit-rot protection, which gives them most of the benefits of btrfs now, while staying away from experimental features. Later on when they become stable, they can do more.
Message 4 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-08
09:37 AM
2015-07-08
09:37 AM
Re: BTRFS & LVM
Hi Stephen,
yes , you are absolut right, and I also understand the way Netgear implemented and uses the feature in its existing environment.
And Checksum & COW is most welcome, it secures my backups. No more manual md5 sum checking.
But, the question, if Netgear plans to implement and use the full set of btrfs, should be allowed. From my side, that would simplify
the handling while expanding / changing (presupposed a good and simple User interface) of NAS a lot.
And I'll guess, esspecialy those "little" NAS's for home systems, aren't used a lot in professional environments, hence they didn't really need Raid 1/5/6/... .
It's rarely a problem at home if I can't access my data for some days. In urgent circumstances I could take it direct from backup. No production line stands still...
Don't get me wrong, all in all I have to say, that I'm really *very* please with my RN104.
It's way a lot better then I had expected from that low price (compared to other 4-bay home-NAS). Actually the build quallity easily beats my other systems here.
Full implemented Btrfs would just be the icing on the cake... I'm young (more or less...), I can wait .... :wink:
regards
yes , you are absolut right, and I also understand the way Netgear implemented and uses the feature in its existing environment.
And Checksum & COW is most welcome, it secures my backups. No more manual md5 sum checking.
But, the question, if Netgear plans to implement and use the full set of btrfs, should be allowed. From my side, that would simplify
the handling while expanding / changing (presupposed a good and simple User interface) of NAS a lot.
And I'll guess, esspecialy those "little" NAS's for home systems, aren't used a lot in professional environments, hence they didn't really need Raid 1/5/6/... .
It's rarely a problem at home if I can't access my data for some days. In urgent circumstances I could take it direct from backup. No production line stands still...
Don't get me wrong, all in all I have to say, that I'm really *very* please with my RN104.
It's way a lot better then I had expected from that low price (compared to other 4-bay home-NAS). Actually the build quallity easily beats my other systems here.
Full implemented Btrfs would just be the icing on the cake... I'm young (more or less...), I can wait .... :wink:
regards
Message 5 of 6
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-07-08
10:04 AM
2015-07-08
10:04 AM
Re: BTRFS & LVM
Most businesses would select a higher-end NAS (from Netgear's "business" product line) But a lot of home users are using RAID-5 (and many use RAID-6).
It would be fun if Netgear had an "early access" module for BTRFS that would let interested users play around more.
It would be fun if Netgear had an "early access" module for BTRFS that would let interested users play around more.
Message 6 of 6