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.

Array started but all disks missing?

Featured Replies

I woke up this morning to login to the webUI and see that all my disks are gone. I tried to go into tools to run diagnostics but it hangs when I click on the tools tab. All dockers seem to work fine and I can even watch videos on plex, and I can SSH into my server. Still have no idea the cause of this problem and haven't restarted my server yet. I've also tried tried to type diagnostics in ssh but it's giving me an error that there is not enough free diskspace. I've tried multiple browsers, cleared cache and it still shows the same results.

 

YCSOnho.png

 

DF command gives:

D74cTyL.png

 

Diagnostics command gives:

mo0VwkK.png

 

 

Edited by bobokun

Before you reboot, do this from the command line

 

cp /var/log/syslog /boot/syslog.txt

 

and then post the file.

Something has filled your RAM memory, it says your rootfs (16GB) is 100% used.

 

Usual culprits are wrong path definitions for dockers.

  • Author
17 minutes ago, Squid said:

Before you reboot, do this from the command line

 

 


cp /var/log/syslog /boot/syslog.txt

 

 

and then post the file.

 

syslog.txt

  • Author
10 minutes ago, bonienl said:

Something has filled your RAM memory, it says your rootfs (16GB) is 100% used.

 

Usual culprits are wrong path definitions for dockers.

Not sure why it's only 16GB...I have 32GB of RAM installed 

4xIldon.png

3 minutes ago, bobokun said:

Not sure why it's only 16GB...I have 32GB of RAM installed 

 

It is 16GB for rootfs, the remaining 16GB is for the other filesystems.

 

Your syslog has many warnings like this "... failed parsing crontab for user root: docker exec $DOCKER_NAME pihole..."

At some point this is causing out of memory issues and consequently all kinds of errors. Did you create some cronjob?

  • Author

Yes I got the cronjob script based on what was recommended by @spants in the pihole docker support thread:

 

Edited by bobokun

12 minutes ago, bobokun said:

Yes I got the cronjob script based on what was recommended by @spants in the pihole docker support thread:

 

I think its safe to say that you did it wrong.  You should post what you actually did.

 

Curiously, you also have "uninitialized csrf_token" errors, and I've been wondering how its possible to actually get that error, and perhaps full rootfs is one way.

 

  • Author
1 minute ago, Squid said:

I think its safe to say that you did it wrong.  You should post what you actually did.

 

Curiously, you also have "uninitialized csrf_token" errors, and I've been wondering how its possible to actually get that error, and perhaps full rootfs is one way.

 

So there was two ways I did this. I probably only need to do one. The first method I did this was create a file called pihole.cron in the /boot/config/plugins/pihole directory. The second method was to do it through userscripts. Both the scripts in user.scripts plugin and the one pihole.cron have the same script.

 

 YkVC5Pt.png

G00R6J5.png

 

53 minutes ago, bobokun said:

The first method I did this was create a file called pihole.cron in

That's the problem.

 

Your pihole.cron file should be something like

1 2 * * *  /boot/myscripts/piholescript


 

Where the 1 2 * * * is a cron expression for whenever to run, followed by a space followed by a path to the script to actually run.

 

Saving the script itself as a .cron file winds up having cron trying to parse the file which won't work.

 

To be honest though, I'm not quite sure how that would result in rootfs getting full (I've never tried making the mistake on purpose), and my gut is still @bonienl suggestion of 

1 hour ago, bonienl said:

Usual culprits are wrong path definitions for dockers.

But, fix the cron thing first so at least the syslog gets cleaned up.

you are going to have to reboot the server though.  

Edited by Squid

  • Author
1 minute ago, Squid said:

That's the problem.

 

Your pihole.cron file should be something like

 


1 2 * * *  /boot/myscripts/piholescript[code]


 

Where the 1 2 * * * is a cron expression for whenever to run, followed by a space followed by a path to the script to actually run.

 

Saving the script itself as a .cron file winds up having cron trying to parse the file which won't work.

 

To be honest though, I'm not quite sure how that would result in rootfs getting full (I've never tried making the mistake on purpose), and my gut is still @bonienl suggestion of 

But, fix the cron thing first so at least the syslog gets cleaned up.

you are going to have to reboot the server though.  

Thanks for the explanation. I'm still new to using unraid so I didn't realize that the output of pihole.cron is not the script itself. I'll use method 2 instead through userscripts and delete the pihole.cron file. That should fix the cron issue

  • Author
6 hours ago, bonienl said:

Did you start one or more preclear actions?

 

yes I was in the process of preclearing two drives

Archived

This topic is now archived and is closed to further replies.

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.