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.

NAS does not want to boot correctly anymore

Featured Replies

Hello community,

 

yesterday my NAS suddenly froze during use. No web UI, no share access and no SSH access. Because nothing else worked, I restarted the PC manually. After restarting I only got the message "cache - too many missing/wrong devices" in the UI when starting the array. After that I tried it with a reboot. After this reboot all disks were suddenly no longer available. After another reboot nothing worked, no UI and no SSH connection possible. Today I connected the PC to the screen to see what happens. After the boot sequence shows some disturbing errors the output ends with "Logger: send Message failed: Bad file descriptor". I can then log in via ssh, but the system does not respond to any input. When I start in safe mode I get a UI again. At first there is nothing to see. No missing disks or other notifications. When I try to start the array I get the error "cache - too many missing/wrong devices" again. Also in maintenance mode the array can not be started.
 

I must mention that I installed two cache ssd, which should provide redundancy. One of the two SSDs apparently even broke a few weeks ago, as it is no longer listed. Even changing the slots did not change anything. Therefore, the NAS has been running only with "cache 2" lately. Since I suspected that for some reason the cache must be suddenly populated again, so that the NAS can start I have an old SSD connected and wanted to restore "cache". But when I want to start the array again, it remains with the error message. 

Since I would probably create more problems if I tried anything now, I would like to ask for help. I have no idea what the logs are supposed to tell me. does anyone have any ideas?

 

Bildschirmfoto 2023-08-22 um 22.01.34.png

Bildschirmfoto 2023-08-22 um 22.01.47.png

Bildschirmfoto 2023-08-22 um 22.02.13.png

nas-diagnostics-20230822-2225.zip syslog-6.txt IMG_9691.HEIC

Solved by JorgeB

  • Community Expert

Post the output of:

btrfs fi show

 

  • Author

Hey, this is the output

 

Label: none  uuid: def06ab6-5d13-4d32-8a61-08a2ab429729
        Total devices 1 FS bytes used 488.04GiB
        devid    2 size 931.51GiB used 829.06GiB path /dev/nvme0n1p1

 

  • Community Expert

Pool is reporting being a single device, since it's devid #2 likely devid #1 was removed sometime in the past, unassign all pool devices, start array, stop array, assign only nvme0n1, start array, post new diags.

  • Author

I followed the instruction and now I can start the array in safe mode. Unfortunately, this is limited to safe mode. When I boot normally the boot process hangs again with the message "Logger: send Message failed: Bad file descriptor". as I write this text a new message has actually appeared and I can use the terminal. A look at /boot looks scary. 

IMG_9699.jpeg

IMG_9698.jpeg

IMG_9697.jpeg

Bildschirmfoto 2023-08-24 um 00.24.53.png

  • Community Expert

Run chkdsk on the flash drive, or backup the /config folder and recreate.

  • Author

I ran chkdsk /f /r and /x on the flash drive. It found some sector errors in ./git and repaired them, nothing else was found. After booting in normal mode I have the corrupted directories again, but in safe mode I don't see any errors like the ones in normal mode. I was also able to copy all files from the drive to my Mac and Windows PC without any warnings.

I could now format the USB stick and copy the data back to it, but I am not sure if the USB stick is the cause of the error.

 

save mode.png

normal mode.png

unraid flash chkdsk.PNG

Edited by andr0id

  • Community Expert
  • Solution

Thy re-formatting the same flash drive and recreate it manually or using the USB tool, then restore only the /config folder from the backup, if after that you still have issues in normal mode, and not in safe mode, it's likely another issue.

  • Author

Oh, it seems that the problem is solved. I can start Unraid and the array. No errors seem to appear in the system logs either. Thank you very much!!!

 

One last question: Is the way I configured the cache with two drives (Cache and Cache2) (see screenshot above) the right way to prevent data loss if one of the two cache SSDs dies? 

  • Community Expert

Yes, if they are using the default raid1 profile, in doubt you can post new diags to confirm.

  • 1 year later...

Btw, I'm also getting the logger: send message failed: Bad file descriptor error on boot but the system boots just fine (at least that I know of). What does that error imply?

PS: I'm using Unraid inside Proxmox.

  • Community Expert

That should be harmless, but you can try booting in safe mode to rule out a plugin issue.

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.