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.

High CPU usage, server unresponsive

Featured Replies

I've had unraid running for 6 months or so now, mainly as a plex server but with a few other dockers as well. I don't have a cache drive, but that hasn't been a problem until now.

Recently I added an LSI 9211-8i HBA and an old 8tb SMR seagate drive I had laying around. After the upgrade I started getting performance issues, getting worse over time. Currently when I have any docker containers running, the dashboard shows high cpu usage but htop and iotop show nothing.

I tried removing the hba and running all my drives on the motherboard sata ports. This didn't help. I tried removing the new drive, thinking a bad drive could be the problem. No change. I tried running a benchmark on my drives with the diskspeed app. My parity drive was limited to around 150mbps, but the others seemed to be normal.

 

The system log is showing a lot of ata errors, but I don't understand what they mean. 

Any ideas?

Capture.PNG

paragon-unraid-diagnostics-20220829-1604.zip

  • Community Expert

Check/replace cables on parity disk.

  • Author

Tried switching the parity drive to a different cable and sata port. Same error, just on ata5 now instead of 6. I did have the parity drive connected to the HBA at first, but it showed read errors until I moved it back to the motherboard port. Is it likely to be a bad drive? 

  • Author

Planning to remove the parity drive, I reconnected the 8tb drive I had removed earlier. Unraid said it was unmountable and started a parity check/rebuild. However this was going at around 200kb/sec, so I canceled, reset the config and removed the parity drive. That seemed to fix all my performance issues.

So I'm left with a tb or so of replaceable data missing from the 8tb drive. Is that data recoverable, or should I just format the drive and call it lost?

  • Community Expert

Please post current diags.

  • Author

I can find no option to run a check on disk 4, either in normal mode or maintenance mode.

  • Community Expert

With the array stopped click on disk4 and set the filesystem to xfs.

  • Author
Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
Log inconsistent or not a log (last==0, first!=1)
empty log check failed
zero_log: cannot find log head/tail (xlog_find_tail=22)
        - scan filesystem freespace and inode maps...
agf_freeblks 241067421, counted 240994714 in ag 0
finobt ir_freecount/free mismatch, inode chunk 0/128, freecount 20 nfree 18
agi_freecount 15, counted 16 in ag 0
agi_freecount 15, counted 20 in ag 0 finobt
sb_ifree 409, counted 410
sb_fdblocks 1619703759, counted 1719929369
        - found root inode chunk
Phase 3 - for each AG...
        - scan (but don't clear) agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
Metadata corruption detected at 0x435c43, xfs_inode block 0x80/0x4000
bad CRC for inode 128
bad magic number 0xdab2 on inode 128
bad next_unlinked 0xff7fa63e on inode 128
Bad flags2 set in inode 128
bad CRC for inode 129
bad CRC for inode 133
bad CRC for inode 134
bad version number 0x43 on inode 134
inode identifier 1078070150 mismatch on inode 134
bad CRC for inode 128, would rewrite
bad magic number 0xdab2 on inode 128, would reset magic number
bad next_unlinked 0xff7fa63e on inode 128, would reset next_unlinked
Bad flags2 set in inode 128
would fix bad flags2.
root inode 128 has bad type 0xa000
would reset to directory
Bad extent size 1191182336 on inode 128, would reset to zero
bad attr fork offset 65 in inode 128, max=42
would clear root inode 128
bad CRC for inode 129, would rewrite
would clear realtime bitmap inode 129
bad CRC for inode 133, would rewrite
would have cleared inode 133
bad CRC for inode 134, would rewrite
bad version number 0x43 on inode 134, would reset version number
inode identifier 1078070150 mismatch on inode 134
would have cleared inode 134
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
root inode would be lost
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 2
bad CRC for inode 128, would rewrite
bad magic number 0xdab2 on inode 128,        - agno = 4
        - agno = 6
        - agno = 7
        - agno = 3
        - agno = 1
 would reset magic number
bad next_unlinked 0xff7fa63e on inode 128,        - agno = 5
entry "The Sandman" in shortform directory 8594108544 references free inode 176
would have junked entry "The Sandman" in directory inode 8594108544
 would reset next_unlinked
Bad flags2 set in inode 128
would fix bad flags2.
Would clear next_unlinked in inode 128
root inode 128 has bad type 0xa000
would reset to directory
Bad extent size 1191182336 on inode 128, would reset to zero
bad attr fork offset 65 in inode 128, max=42
would clear root inode 128
bad CRC for inode 129, would rewrite
would clear realtime bitmap inode 129
entry "Heroes.S02E03.1080p.Bluray.x264-hV.mkv" at block 0 offset 152 in directory inode 132 references free inode 134
	would clear inode number in entry at offset 152...
bad CRC for inode 133, would rewrite
would have cleared inode 133
bad CRC for inode 134, would rewrite
bad version number 0x43 on inode 134, would reset version number
inode identifier 1078070150 mismatch on inode 134
would have cleared inode 134
No modify flag set, skipping phase 5
Inode allocation btrees are too corrupted, skipping phases 6 and 7
Maximum metadata LSN (1:260039) is ahead of log (0:0).
Would format log to cycle 4.
No modify flag set, skipping filesystem flush and exiting.

 

  • Community Expert

Run it again without -n or nothing will be done, if it asks for -L use it.

  • Author

Great, that did it. Thanks!

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.