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.

[6.11.5] /var/log is getting full (currently 100 % used)

Featured Replies

Hello,

 

My array is experienced several different errors?  I've replaced 3 HDD's with BRAND NEW drives since I started using UNRAID for the first time.  What do I need to do to have a reliable, error-free experience?

 

Thank you.

 

Diagnostics attached.

taflix-unraid-diagnostics-20221226-2105.zipimage.thumb.png.76c66abf9a749f72b665805ddd488237.png

Edited by taflix

Solved by JorgeB

  • Community Expert

Looks more like a cable/connection problem, check/replace cables and/or try a different PSU.

  • Author
15 hours ago, JorgeB said:

Looks more like a cable/connection problem, check/replace cables and/or try a different PSU.

 

Thanks, I'll replace them.  What do I do in the software after I replace them?

  • Community Expert

Reboot will reset syslog. Post new diagnostics after checking connections. Be sure to check SATA and power, both ends, including splitter.

  • 2 weeks later...
  • Author
On 12/27/2022 at 7:12 PM, trurl said:

Reboot will reset syslog. Post new diagnostics after checking connections. Be sure to check SATA and power, both ends, including splitter.

 

Hello, I plugged everything back in and now I'm getting this?

 

Quote

Stopped. Invalid configuration.

 

image.png.e121c694fe58140f999f94efc85d3d05.png

 

Disk 5 is not a new drive but UNRAID thinks that it's a new drive?

Edited by taflix

  • Community Expert
On 12/27/2022 at 9:12 PM, trurl said:

Post new diagnostics after checking connections

 

  • Community Expert

Diags after the it happened but disk5 got disabled when disk1 was invalid suggesting you still have hardware issues, we can force enable disk5 to rebuild disk1, but if you are still having the power/connection issues it can happen again, did you already try doing something to solve that, like checking/replacing cables or PSU?

  • Author
6 hours ago, JorgeB said:

Diags after the it happened but disk5 got disabled when disk1 was invalid suggesting you still have hardware issues, we can force enable disk5 to rebuild disk1, but if you are still having the power/connection issues it can happen again, did you already try doing something to solve that, like checking/replacing cables or PSU?

Yes, I did all that.  That's what it took days to reply because I was waiting for parts from Amazon.

 

 

  • Community Expert

You can try this, it will only work if parity is still valid:

 

-Tools -> New Config -> Retain current configuration: All -> Apply
-Check all assignments and assign any missing disk(s) if needed
-IMPORTANT - Check both "parity is already valid" and "maintenance mode" and start the array (note that the GUI will still show that data on parity disk(s) will be overwritten, this is normal as it doesn't account for the checkbox, but it won't be as long as it's checked)
-Stop array
-Unassign disk1
-Start array (in normal mode now) and post new diags
 

  • Author
On 1/8/2023 at 4:09 AM, JorgeB said:

You can try this, it will only work if parity is still valid:

 

-Tools -> New Config -> Retain current configuration: All -> Apply
-Check all assignments and assign any missing disk(s) if needed
-IMPORTANT - Check both "parity is already valid" and "maintenance mode" and start the array (note that the GUI will still show that data on parity disk(s) will be overwritten, this is normal as it doesn't account for the checkbox, but it won't be as long as it's checked)
-Stop array
-Unassign disk1
-Start array (in normal mode now) and post new diags
 

 

Hello,

 

It will not allow me to start the array while Disk 1 is not assigned?

 

image.thumb.png.33a119e573e99498d44804652aa930d1.png

Edited by taflix

  • Community Expert
27 minutes ago, taflix said:

It will now allow me to start the array while Disk 1 is not assigned?

It should as long as you click the checkbox to confirm this is what you want to do.

  • Community Expert

Emulated disk1 unmountable. Is it supposed to be XFS?

 

Post a screenshot of Main - Array Devices

  • Author
On 1/17/2023 at 6:47 AM, trurl said:

Emulated disk1 unmountable. Is it supposed to be XFS?

 

Post a screenshot of Main - Array Devices

 

Thank you.

 

I don't know if it's XFS, how do I look that up?

 

image.png.1c3447fa4c79ff22ea5e87cc58bb4ee6.png

Edited by taflix

  • Community Expert

What is the point of this latest screenshot? What have you done?

 

We need the array started with nothing assigned as disk1 so we can try to repair the emulated filesystem of disk1.

  • Author
6 hours ago, trurl said:

What is the point of this latest screenshot? What have you done?

 

We need the array started with nothing assigned as disk1 so we can try to repair the emulated filesystem of disk1.

 

I have done what you asked, post a screen shot of Main - Array Devices

Started the array with nothing assigned as Disk1

 

image.thumb.png.399fcc30de4f76b6be34522cc3f44e8f.png

 

Next step, please?

Edited by taflix

  • Community Expert

Stop array, leave disk1 unassigned, click on disk1 slot to get to its page, set the filesystem to XFS.

 

Start array in maintenance mode, check filesystem on emulated disk1.

 

Capture the output and post it.

  • Author
20 minutes ago, trurl said:

Stop array, leave disk1 unassigned, click on disk1 slot to get to its page, set the filesystem to XFS.

 

Start array in maintenance mode, check filesystem on emulated disk1.

 

Capture the output and post it.

 

Thank you, here are the results:

 

Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
agf_freeblks 30707057, counted 27561294 in ag 0
agf_longest 30497022, counted 27351294 in ag 0
agi_freecount 72, counted 73 in ag 0
agi_freecount 72, counted 73 in ag 0 finobt
sb_ifree 1076, counted 1077
sb_fdblocks 848592036, counted 887661172
        - 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
entry "           �" in shortform directory 128 references invalid inode 35325186126341231
entry #2 extends past end of dir in shortform dir 128, would junk 1 entries
would have corrected entry count in directory 128 from 3 to 2
would have corrected directory 128 size from 70 to 48
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 1
        - agno = 3
entry "           �" in shortform directory 128 references invalid inode 35325186126341231
        - agno = 6
entry #2 extends past end of dir in shortform dir 128        - agno = 4
        - agno = 2
        - agno = 7
, would junk 1 entries
would have corrected entry count in directory 128 from 3 to 2
        - agno = 5
would have corrected directory 128 size from 70 to 48
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
No modify flag set, skipping phase 5
Phase 6 - check inode connectivity...
        - traversing filesystem ...
Metadata corruption detected at 0x467810, inode 0x80 data fork
couldn't map inode 128, err = 117
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
disconnected dir inode 132, would move to lost+found
disconnected dir inode 12889078397, would move to lost+found
Phase 7 - verify link counts...
Metadata corruption detected at 0x467810, inode 0x80 data fork
couldn't map inode 128, err = 117, can't compare link counts
Maximum metadata LSN (1:196355) is ahead of log (1:134657).
Would format log to cycle 4.
No modify flag set, skipping filesystem flush and exiting.
  • Community Expert

Do it again without -n. If it asks for it use -L. Post output

  • Author
4 hours ago, trurl said:

Do it again without -n. If it asks for it use -L. Post output

 

Done and here it is.

 

Phase 1 - find and verify superblock...
Phase 2 - using internal log
        - zero log...
        - scan filesystem freespace and inode maps...
agf_freeblks 30707057, counted 27561294 in ag 0
agf_longest 30497022, counted 27351294 in ag 0
agi_freecount 72, counted 73 in ag 0
agi_freecount 72, counted 73 in ag 0 finobt
sb_ifree 1076, counted 1077
sb_fdblocks 848592036, counted 887661172
        - found root inode chunk
Phase 3 - for each AG...
        - scan and clear agi unlinked lists...
        - process known inodes and perform inode discovery...
        - agno = 0
entry "           �" in shortform directory 128 references invalid inode 35325186126341231
entry #2 extends past end of dir in shortform dir 128, junking 1 entries
corrected entry count in directory 128, was 3, now 2
corrected directory 128 size, was 70, now 48
        - agno = 1
        - agno = 2
        - agno = 3
        - agno = 4
        - agno = 5
        - agno = 6
        - agno = 7
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
        - process newly discovered inodes...
Phase 4 - check for duplicate blocks...
        - setting up duplicate extent list...
        - check for inodes claiming duplicate blocks...
        - agno = 0
        - agno = 2
        - agno = 4
        - agno = 3
        - agno = 6
        - agno = 7
        - agno = 5
        - agno = 1
        - agno = 8
        - agno = 9
        - agno = 10
        - agno = 11
        - agno = 12
Phase 5 - rebuild AG headers and trees...
        - reset superblock...
Phase 6 - check inode connectivity...
        - resetting contents of realtime bitmap and summary inodes
        - traversing filesystem ...
        - traversal finished ...
        - moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
Maximum metadata LSN (1:196429) is ahead of log (1:134657).
Format log to cycle 4.
done
  • Community Expert

Start array in normal mode and post new diags.

  • Community Expert
5 hours ago, JorgeB said:

Start array in normal mode and post new diags.

leave disk1 unassigned

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.