Results 1 to 3 of 3

Thread: Improve data integrity using virtual RAID?

  1. #1
    Join Date
    Nov 2008
    Beans
    33

    Improve data integrity using virtual RAID?

    Base system: Ubuntu 12 64
    Storage: Two 500GB hard drives, setup as RAID1 during setup (using Alternate CD)
    Virtualisation: KVM (Using virt-manager)

    Guest: Ubuntu 10.04 LAMP server.

    I know that thanks to the array, if ONE hard drive were to fail, my information would be safe.

    Now, let's say for the sake of argument, that Earth has been invaded by strange crab-like creatures from another planet, and one of these creatures ungracefully unplugs the HOST.

    If that were to induce errors in the HOST filesystem, and that in turn damaged the IMG filesystem file of the GUEST, wouldn't that pretty much damage the GUEST itself? Like hitting the virtual hard drive with a hammer.

    Now, what would happen if I created my GUEST with two virtual IMG files and declared them as RAID1? That way even if one of the IMG files gets corrupted, I would detach it from the guest, add another one, then boot the guest with a degraded array and dechare the new IMG file as a spare.

    Does this make any sense? Would it work?
    Yes/no >> Why?

    Thanks!

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,505
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Improve data integrity using virtual RAID?

    RAID protects against individual hardware failure, not software failure or power failure (unless you are very lucky and circumstances result in sufficient devices not suffering corruption).

    Unless your RAID devices - virtual or real - are all on separate hardware devices then you do not have any protection.


    * Please note that RAID protection never, ever applies to so-called "RAID-0" striping which guarantees total loss of all data if any device fails - it is the exact opposite of redundancy.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Mar 2008
    Location
    Queensland Australia
    Beans
    664
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Improve data integrity using virtual RAID?

    I have just started to look at Nexentastor ( which requires a barebone box rather than a VM ). The file system is based on Solaris ZFS which manages data integrity on-the-fly and allows for the RAID to transfer from a backup harddisk, if the disk starts to fail.

    It might be what you want.

    regards

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •