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.12.3) USB Boot Drive Read Only after every reboot/shutdown

Featured Replies

Almost everytime I reboot/shutdown my server comes back-up with no GUI, no shares mounted. SSH is available and 'diagnostics' command results is a 'directory' doesn't exist error. USB drive chkdisk repair results in a successful boot.

 

Diagnostics file is attached - I believe this one was captured automatically during post Tip and Tweaks install.

 

TL;DR

 

Server was off for c12 months during our house renovation. Upon reboot I've had multiple issues. First seemed to be related to docker not being terminated on array stop/reboot/shutdown. I found the forum post, used the commands to stop and then was able to clean reboot/shutdown. Server upgraded to latest stable.

 

I set-about reformatting my cache to ZFS using spaceinvader video. Created a pool, but on copying back to the cache pool 1 of the drives had significant ATA issues, that drive eventually disappeared (I suspect went bad, but I've now pulled the SATA cable on it). So back to a single drive cache.

 

Current situation is as above. I've carried out most suggestions from the 'Unclean Shutdown Thread", docker is disabled, no VMs, Tips & Tweaks plugin is installed to capture diagnostics on shutdown and time-outs set at 7 mins. There isn't a delay in unmounting drives however I feel like something is hanging on reboot/shutdown that results in the usb drive being mounted "read-only" on almost every reboot. Fixed by pulling the usb and doing a repair in windows but obviously not sustainable.

 

Any/All help is much appreciated. I'm a long time unraid user and these are the first stability issues i've experienced.

 

TIA

tower-diagnostics-20230827-1032.zip

Edited by air_marshall

  • air_marshall changed the title to (6.12.3) USB Boot Drive Read Only after every reboot/shutdown
  • Community Expert

Make sure the flash drive is using a USB 2.0 port, also try recreating the flash drive, backup current one, format and re-create the flash drive manually or by using the USB tool, then restore the /config folder from the backup.

  • Author

Good thinking. Done.

 

First reboot from freshly prepared and restored stick has given the same result. Server GUI not accessible. Shares not mounted. SSH available. Looks like USB is read-only again.

 

root@Tower:~# diagnostics
mkdir: cannot create directory ‘/boot/logs’: Input/output error
Starting diagnostics collection... tail: cannot open '/boot/bz*.sha256' for reading: No such file or directory
sed: can't read /tower-diagnostics-20230829-0942/config/go.txt: No such file or directory
done.
ZIP file '/boot/logs/tower-diagnostics-20230829-0942.zip' created.

 

Last lines of syslog using

 

Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30620) failed
Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30621) failed
Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30622) failed
Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30623) failed
Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30624) failed
Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30625) failed
Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30626) failed
Aug 29 09:42:42 Tower kernel: FAT-fs (sda1): Directory bread(block 30627) failed

 

Does this mean the USB is bad OR files in the USB config folder are corrupted?

 

Diagnostics file attached from last shutdown before erasing and reinstalling usb.

 

USB 2 port is in use.

 

Best path forward at this point?

 

 

tower-diagnostics-20230829-0914-shutdown.zip

  • Community Expert

Try a new flash drive.

  • Community Expert
1 hour ago, air_marshall said:

Does this mean the USB is bad

Suggests this as it indicates that blocks on the flash drive are failing when trying to read them.   

 

Sometimes manually rewriting all the bz* type files on the flash drive from a zip of the release works to help with reading borderline sectors but not if the drive is really going bad.

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.