Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unraid UPS switch over causing write errors

Featured Replies

I have a UPS. My power went out for a few minutes and the UPS kicked in. Power comes back on, I check the server and now I have write errors. The server never shut off as the power came back on before it hit the shutdown threshold. I've attached the diag. I've started the data rebuild. Only 2 disks were affected. 

tower-diagnostics-20250316-1917.zip

  • Author

My UPS is: CyberPower 1500VA / 900 Watts True Sine Wave Uninterruptible Power Supply (UPS). 

I have a JBOD attached to the server also on the UPS. 

The error occur time exactly power failure time, it look like not only enclosure disks suffer the problem.

 

Mar 16 13:53:39 Tower apcupsd[15677]: Power failure. 

 

Pls note when power failure,  line-interactive type UPS will switching to and switching back, so there have two power interruption in very short time. If your PSU haven't enough hold-up time or UPS switching time too long, then problem will happen.

 

image.png.dc70f8f8addff05be91c3ed6b4a936a3.png

Edited by Vr2Io

  • Author
16 minutes ago, Vr2Io said:

The error occur time exactly power failure time, it look like not only enclosure disks suffer the problem.

 

Mar 16 13:53:39 Tower apcupsd[15677]: Power failure. 

 

Pls note when power failure,  line-interactive type UPS will switching to and switching back, so there have two power interruption in very short time. If your PSU haven't enough hold-up time or UPS switching time too long, then problem will happen.

 

image.png.dc70f8f8addff05be91c3ed6b4a936a3.png

So what's the solution? Do I need to switch the UPS to a different type? You mentioned line interactive. I see there are online and double conversion UPS. Would you recommend me replace this one and get an online UPS? Or is there another solution? 

In my opinion, line-interactive type UPS are most common and practical, other type UPS are expensive and use lot of electricity.

 

So, the best way is to test power interruption periodic, make system ( and disks ) in full load  to draw maximum power ( but don't put disk in mount state ).

Edited by Vr2Io

  • Author

Do you have any recommendations on how to do this test? I'm not sure what I should be looking for either. I can switch the power off while under full load. But I already know that when I switch over I get write errors. Are you suggesting the UPS should be replaced? 

1st, make system start in maintenance mode

 

image.png.aecb005ddffe3baf91b776138f5dceec.png

 

2nd, Spindown all disks and take the minimum power usage.

  

image.png.aea1e8efbdbc460fd2d6885b3b7119d9.png image.png.e064b73ce788d6c8f6d527a6356c2ba7.png

 

3rd, Spinp all disks and take the idle power usage.

 

image.png.dd7e7646fe2f99eba2985f6777daf89e.png

 

4th, Perform parity / disks check without correction

 

image.png.34fa5577927be136ab5ee0f5c919904a.png image.png.201beb6da71708545aa447238032db97.png image.png.83238eab4ab7071066d699df183f1764.png

 

5th, Your could also stress the CPU by install plugin "core-freq'" and run stress test by shortkey "O" - Atomic Burn

image.png.226076db92ce7eff0c3f24a946016969.png image.png.f518b0566b2b5293d5d626e74b99d615.png

 

In each power state, press UPS test button to verify which power usage level start have problem. As mention before, PSU also could be problem source. So you need test carefully and systematic.

Edited by Vr2Io

  • Author

Is this:
image.png.a19fbb3310b2d560561b6714584e8481.png
Something I can add to unraid or is it available on a newer version? I'll give it a try when I'm finished rebuilding the disks. 

11 minutes ago, topmoviesonlime said:

Is this:
image.png.a19fbb3310b2d560561b6714584e8481.png
Something I can add to unraid or is it available on a newer version? I'll give it a try when I'm finished rebuilding the disks. 

You need buy a power measurement device, you can install a plugin to show the reading in Unraid.

 

 

But I add-on use homeassistant to capture those data and got in advance.

 

image.thumb.png.c9c0ae8a10882e4afe11b3ba7495bd12.png

Edited by Vr2Io

  • Author

I'm pretty sure I'm a dolt. The UPS has 6 battery protected outlets and 6 surge protected outlets. I had some of my array plugged into the surge protector portion only. Appreciate your time with this! 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.