Unconfigured Ad Widget

Collapse

ups for your nas

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • high_revs
    CGN/CGSSA Contributor
    CGN Contributor
    • Feb 2006
    • 7644

    ups for your nas

    i only have 1 ups but pge's been screwing around recently with now 2 power outages in my area. both times, my nas had to re-sync itself and i want to run restart with scan. always worried about losing data in the drives with the sudden shut downs.

    will a ups be fast enough to provide power before the nas goes down? if i'm home, it's ok since i can login to manually shut it down before power goes out. but if i'm not home... (haven't figured out yet if there is remote shutdown for my nas). i'm not even sure the nas will send a notification of a blip in the power (going to ups). i don't think it will if the ups is supposed to be fast enough. maybe then i need to pay more for a "smart" ups that's network attached too? (i think they make them, but not sure)

    but if it did, the other problem i have is now i gotta put a ups for my modem and router so it can send a notification.

    i'm triple redundant already but not always in full synch fully all the time.
  • #2
    Mute
    Calguns Addict
    • Oct 2005
    • 8556

    Get a smart ups if you don't want the power interrupted. Worth the investment.
    NRA Benefactor Life Member
    NRA Certified Pistol, Rifle, Personal Protection In The Home, Personal Protection Outside The Home Instructor, CA DOJ Certified CCW Instructor, RSO


    American Marksman Training Group
    Visit our American Marksman Facebook Page

    Comment

    • #3
      nothinghere2c
      Senior Member
      • Mar 2012
      • 2259

      does your NAS support ZFS filesystems with copy-on-writes?

      ZFS is what i use for my raid pool and it handles power outages really well.

      Comment

      • #4
        nothinghere2c
        Senior Member
        • Mar 2012
        • 2259

        i've had cheap UPS systems before (on-sale APC units from best-buy for $50) that work perfectly fine for powering routers, switches, and maybe a low power consuming headless server. It is fast enough to provide power during an outage and gives you about 10 minutes to shut things down (20 if you're just powering a router and switch etc minus a hungry server).

        Comment

        • #5
          Satex
          CGN/CGSSA Contributor
          CGN Contributor
          • Feb 2006
          • 3501

          Look at if your NAS supports a UPS. If so, then get a UPS for it and let the UPS tell the NAS when to unmount the drives and safe itself. There are many home class UPS' like this one that are affordable yet support organized shutdown.

          Comment

          • #6
            high_revs
            CGN/CGSSA Contributor
            CGN Contributor
            • Feb 2006
            • 7644

            i don't think it does. have to look deeper but zfs doesn't sound familiar when i was looking at the manuals and stuff
            Originally posted by nothinghere2c
            does your NAS support ZFS filesystems with copy-on-writes?

            ZFS is what i use for my raid pool and it handles power outages really well.
            yeah, but only works when i'm at home. if i'm note at home,
            Originally posted by nothinghere2c
            i've had cheap UPS systems before (on-sale APC units from best-buy for $50) that work perfectly fine for powering routers, switches, and maybe a low power consuming headless server. It is fast enough to provide power during an outage and gives you about 10 minutes to shut things down (20 if you're just powering a router and switch etc minus a hungry server).
            kewl. that's what i was thinking. have to look at where it is (if it's there).
            Originally posted by Satex
            Look at if your NAS supports a UPS. If so, then get a UPS for it and let the UPS tell the NAS when to unmount the drives and safe itself. There are many home class UPS' like this one that are affordable yet support organized shutdown.

            Comment

            • #7
              the86d
              Calguns Addict
              • Jul 2011
              • 9587

              I run my Slackware Linux NAS (Kernel-based RAID5), Win7, and Windows 2k8 box on a UPS, and in 3+ years I have only had the machines shut off (non-manually) 2 times, mainly due to Solar being installed and I wasn't home or notified of the switch-over, as they did it early), and one when power was down (both times it drained the battery on the UPS to nothing).

              Power hiccups are usually ridden-though without issue, unless an extended power happens.

              I have not lost any data on the Linux box, but the Windows 2k8 server is only running a separate data drive, not RAID of any sort (and as soon as it dies, I will be putting all data on the Linux box anyway and running longer during a power-outage on 2 boxes, not 3..).

              I use about $100-$150 UPS devices, usually on sale. I only have a router, and 3 computers, a network camera, and 2 switches on it, all available to be shut-down from work, if I need to. Your best bet, if you can afford it, is a pure sine wave UPS, but I read that passive PFC power supplies (most retail computers/replacements have active PFC) have issues with them, but I don't know for sure, as I have never experienced issues with this config myself...
              Last edited by the86d; 06-09-2013, 7:27 AM.

              Comment

              • #8
                local_nobody
                Member
                • Dec 2012
                • 320

                haven't messed with ups software in a bit, but i seem to remember the apc i had (the $50-on-sale type that died eventually) having a signal cable from the ups to computer, and software you installed to take certain actions when in case of power outage.

                this, coupled with a batch file to shut down the NAS in case of outage, perhaps?

                Comment

                • #9
                  stilly
                  I need a LIFE!!
                  • Jul 2009
                  • 10685

                  Originally posted by nothinghere2c
                  does your NAS support ZFS filesystems with copy-on-writes?

                  ZFS is what i use for my raid pool and it handles power outages really well.
                  Will you post your hardware list?

                  I am convinced that if ZFS really is what it is cracked up to be, it could be the miracle file system for a NAS setup. I was wanting to build my own but I saw that someone else had a NAS that they saw online and it was nice and all, but I like to build my own if I can.
                  7 Billion people on the planet. They aint ALL gonna astronauts. Some will get hit by trains...

                  Need GOOD SS pins to clean your brass? Try the new and improved model...



                  And remember- 99.9% of the lawyers ruin it for the other .1%...

                  Comment

                  • #10
                    high_revs
                    CGN/CGSSA Contributor
                    CGN Contributor
                    • Feb 2006
                    • 7644

                    is a ups to machine a 1-1 relationship? was hoping i have the nas on it w/ monitoring and the laptop at the same time by using a usb from the ups and then split off the usb to the nas and laptop's docking station. (i bought an apc 550g).



                    from the image above, i'm reading that as i can have another host monitor the ups attached to the nas and get alerted that way. (not sure powerchute will work that way though, i.e. the s/w for apc on the laptop).
                    for sure, the s/w wouldn't install because i didn't sense the usb plug.

                    the only reason i want the laptop to hibernate when UPS kicks in is that i don't get the annoying beeping sounds when the battery is low/drained. i *think* the docking station will continue to suck power from the UPS until the UPS batteries are drained. then the laptop starts draining it's own batteries until it hibernates when really low.

                    anyone try plugging from the nas to a usb hub, then split it off to the nas and laptop will work and both can communicate to it? i know the ups is not a networking device so i'm not sure what exactly is being communicated (one way from ups?) via usb other than a signal of "i have no power, battery kicking in."

                    can't seem to find this data on the readynas forum. (email to apc just in case but one never knows when they'll respond).

                    Comment

                    • #11
                      nothinghere2c
                      Senior Member
                      • Mar 2012
                      • 2259

                      Originally posted by stilly
                      Will you post your hardware list?

                      I am convinced that if ZFS really is what it is cracked up to be, it could be the miracle file system for a NAS setup. I was wanting to build my own but I saw that someone else had a NAS that they saw online and it was nice and all, but I like to build my own if I can.
                      i run a ZFS "raidz" pool on my headless FreeBSD machine. You can run ZFS on FreeBSD or Solaris based OS(s) as they have built in support.

                      It's very easy to create the pool, and when i have a disk fail, i swap it out and run a "zpool replace /dev/name" and it re-syncs my raid.

                      i've had a few power outages but because ZFS does a copy-on-write, nothing gets corrupt when the power goes out.

                      ZFS is a memory hog though, it prefers 4GB + RAM.

                      Also, you can run full disk encryption on the raid pool by created geli encrypted devices before adding them to the ZFS pool which is nice.

                      My file server is a 3ghz older core2quad with 8gb of ram and 3x 2TB drives in a raidz pool.

                      Comment

                      • #12
                        nothinghere2c
                        Senior Member
                        • Mar 2012
                        • 2259

                        Originally posted by high_revs
                        is a ups to machine a 1-1 relationship? was hoping i have the nas on it w/ monitoring and the laptop at the same time by using a usb from the ups and then split off the usb to the nas and laptop's docking station. (i bought an apc 550g).



                        from the image above, i'm reading that as i can have another host monitor the ups attached to the nas and get alerted that way. (not sure powerchute will work that way though, i.e. the s/w for apc on the laptop).
                        for sure, the s/w wouldn't install because i didn't sense the usb plug.

                        the only reason i want the laptop to hibernate when UPS kicks in is that i don't get the annoying beeping sounds when the battery is low/drained. i *think* the docking station will continue to suck power from the UPS until the UPS batteries are drained. then the laptop starts draining it's own batteries until it hibernates when really low.

                        anyone try plugging from the nas to a usb hub, then split it off to the nas and laptop will work and both can communicate to it? i know the ups is not a networking device so i'm not sure what exactly is being communicated (one way from ups?) via usb other than a signal of "i have no power, battery kicking in."

                        can't seem to find this data on the readynas forum. (email to apc just in case but one never knows when they'll respond).

                        I assume you were looking at this page right?

                        Comment

                        • #13
                          high_revs
                          CGN/CGSSA Contributor
                          CGN Contributor
                          • Feb 2006
                          • 7644

                          i don't have an readynas ultra series though. only a readynas duo. but the screen shots are the same as what i captured from my readynas duo's admin screen. and my ups is not snmp. that's probably why the page you posted wasn't showing on my searches last night.

                          that's why the wording is different although i'm not sure if netgear meant the same thing. i was thinking, i can put in my laptop's IP number in there and the nas will monitor it via that. but now i suspect the wording is wrong and my nas is supposed to monitor via another nas connected to the ups.

                          i did hear back from apc. not sure if it's a communication issue (offshore, i.e. india team) saying the powerchute software in the apc itself (not the one i had to install) is not compatible with my nas' os. but oddly, the nas recognized it and got the screen to change. guess i'll just have to test to see if it really works by unplugging it. apc said usb hub won't work either because it'll interfere with the powerchute software. guess i gotta test that too and see.

                          wish i put more money and time to see if there was a ups that's more a "networked" device.

                          Originally posted by nothinghere2c
                          I assume you were looking at this page right?

                          http://kb.netgear.com/app/answers/de...-ultra-series,

                          Comment

                          Working...
                          UA-8071174-1