Find the answer to your Linux question:
Results 1 to 4 of 4
Planning on grabbing 3 1TB drives and putting them in RAID5 using MDADM with LVM on top. Is it possible to protect myself from power outages? Im worried if im ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    3

    File server


    Planning on grabbing 3 1TB drives and putting them in RAID5 using MDADM with LVM on top.

    Is it possible to protect myself from power outages? Im worried if im writing a file and a power outage occurs, i will loose the array (can that happen or will i just loose the file?).

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,809
    You can protect yourself from power outages - either run this on a laptop, or get your self a UPS (uninterruptible power supply, not a nearly-adequate replacement for a postal service). These will keep your server running over short breaks in power using batteries.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Dec 2007
    Posts
    3
    Ah dont know what i was thinking, didnt even ask what i wanted to ask.

    Is it possible to protect myself from power outages without using UPS/Hardware raid?

    Using some file system.

  4. #4
    Linux Enthusiast meton_magis's Avatar
    Join Date
    Oct 2006
    Location
    arizona
    Posts
    699
    the journaling function of ext3 can in theory protect your array, but it isn't perfect. What it will do, is in the event of a power failure, it will roll back the changes made to that chunk of data YOU WILL lose whatever was in the buffer however, as well as any data not fully written to disk.

    but I would just spend the 100$ on a home use UPS, in the end it is a lot easier than the worst case scenario.
    New to the internet, technical forums, or the hacker / open source community??
    Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html

    RHCE for RHEL version 5
    RHCT for RHEL version 4

Posting Permissions

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