You Got A Question? Ask    GNOME Community!

gtk-theme2
 13918   |  Oct 25
gtk_logo2
 9770   |  Mar 17
 9210   |  Aug 25
arch
 8735   |  Mar 28

Gnome Disks gains a “Create RAID Array” feature?!

This post was made with an older stylesheet

Although RAID is mostly a technology that is used in production environments, I have some friends that they use Raid to speed up their hard drives. Besides in stores, you can find some “ RAID Ready” boxes.


what is RAID?

For those who aren’t familiar with it, RAID (redundant array of independent disks, originally redundant array of inexpensive disks) is a storage technology (both for Disks and Databases) that combines multiple disk drive components into a logical unit. Data is distributed across the drives in one of several ways called “RAID levels”, depending on what level of redundancy and performance (via parallel communication) is required.

In simple words RAID helps us (by using two or more disks) to reduce hardware cost, speed up our environment and also is used for data replication to ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault-tolerance, or accessibility.

RAID levels

In RAID there is a number of standard schemes that have evolved over time which are referred to as levels. Gnome Disks will support RAID 0(stripe), 1(mirror), 4 (dedicated parity), 5 (distributed parity), 6 (double distributed parity), 10 (stripe of mirror).

Broadberry.co.uk gives a short description of each level:

RAID 0 is the fastest and most efficient array type but offers no fault-tolerance.

RAID 1 is the array of choice for performance-critical, fault-tolerant environments. In addition, RAID-1 is the only choice for fault-tolerance if no more than two drives are desired.

RAID 2 is seldom used today since ECC is embedded in almost all modern disk drives.

RAID 3 can be used in data intensive or single-user environments which access long sequential records to speed up data transfer. However, RAID-3 does not allow multiple I/O operations to be overlapped and requires synchronized-spindle drives in order to avoid performance degradation with short records.

RAID 4 offers no advantages over RAID-5 and does not support multiple simultaneous write operations.

RAID 5 is the best choice in multi-user environments which are not write performance sensitive. However, at least three, and more typically five drives are required for RAID-5 arrays.

RAID 6 is similar to RAID level 5 however it allows extra fault tolerance by using a second indipendent parity scheme.

RAID 10 is implemented as a striped array whose segments are RAID 1 arrays.

RAID 0+1 is a mirrored array whose drives are in a RAID 5 array.

Wikipedia is always a nice start up guide to everything including RAID.


first cut of the “Create RAID Array” in Gnome Disks

David says:

Now I’m wondering if the “Create RAID Array” dialog should also have a way for the user to create a filesystem since it’s what you want 95% of the time (the other 5% includes using the resulting RAID array as a member device for RAID or LVM). Answers on a postcard, please!

David presents :)



Double authorization is a bug!

But the good things in Gnome Disks don’t stop!


Gnome Disks Selections

David also worked in ways to make the use of Gnome Disks simpler without falling into the typical dialogs-inside-dialogs trap.

    

    

This kind of selections that are inspired from Gnome Boxes and Documents, will arrive also in Gnome Music, Gnome Videos, and there are some mockups also for Gnome Files. As you see they will be used in every context selection Gnome module. While this method is obviously a touch-screen friendly it also works (or it doesn’t bother if you don’t want to use it) pretty well with mouse and keyboard.

And don’t think that touch screens are only small screens! Touch screens could be also 42″ monitors that we can use with-the WoW amazing- Skeltrack or similar “Kinect” technologies that will become quite common in the short future.

David Zeuthen ends his presentation by saying:

Right now the + icon on the floating toolbar is what you want to use for “Create RAID Array” (there’s a tooltip saying so too; I’ll get a better icon or maybe even spell it out with text-button). Anyway, it will bring up a dialog where you can choose the RAID level, name and maybe technical things like chunk size and then press “Create”. The brush icon is for deleting multiple disks in one go (using secure erase if possible), of course there will be a confirmation dialog there too.

Oh, btw, in the future we can also totally re-use 95% of all this for +Btrfs multi-disk setups.

(Yes, this will only allow creating RAID arrays on whole disks and this is actually intended as the conventional wisdom out there suggests this is better than messing around with partitions. If you really want RAID on partitions you can of course still use mdadm(8) on the command-line all you want, we’ll support at least showing the array in the UI as usual. Anyway, whole-disk vs partitions isn’t the point of this post so please don’t waste space discussing it here – thanks!)

David Zeuthen in Google+

*This feature will (?) land in Gnome 3.8, March 2013. 


 
  We can't watch comments unless G+ provides an API or if you send a notification, e.g +World Of Gnome
     Sometimes is better to place your questions on GNOME Community
  • Cliff Wells

    Red Hater? You mean Red Hatter, unless he actually hates red.

    • alex285

      Never thought an extra “t” was needed, or should be Hat-er ?

      • Cliff Wells

        It’s “hatter”, as in The Mad Hatter, from Alice in Wonderland.

  • Pingback: Links 16/10/2012: Linux 3.7 RC1, Plasma Active Improvements | Techrights

  • http://www.facebook.com/sz.gruszczynski Szymon Gruszczynski

    I believe there is an error in description of Raid levels: in linux, raid 10 is more like (non-standard) raid 1e: you can use at least 2 disks (in that case: it will be the same as raid1) http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10

  • Nikal

    I really wish this was already implemented. Having such a hard time setting up RAID; thus far only failure follows… :(