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.

Bootup after Dirty Shutdown

Featured Replies

When unRAID is booted after a "dirty" shutdown (i.e., after a power failure) it proceeds to immediately perform a parity check.  It begins BEFORE the drives have had a chance to process their journal logs and apply transactions to the disks.  This creates race conditions and delays writing of the journal transactions until AFTER the parity has already been checked on the early sectors of the disk.  This can require a SECOND parity check to correct sync errors.

 

I request that unRAID wait until all pending journal transactions are applied before starting to performing parity checks.

I don't think this is an issue.  If a parity check detects bad parity it will only write the correct parity to the parity disk - it will not write any data disk.  Any writes that take place during the parity check will update parity in the usual manner even when parity check is running.

Tom, I believe I was the source of the concern here, and I'm perfectly willing to trust you.  However, I wondered if you had seen the related thread below, especially his first syslog at the end, which made me very nervous about what might be happening.  A few posts later, he mentions that a second Parity Check immediately following had one more parity error in the same region, where the first parity check and transaction replaying *may* have coincided.  I commented that it seemed safer to me to wait on drive being completely ready before beginning the Parity Check, but if you can confirm it's safe, then I'm happy.

 

http://lime-technology.com/forum/index.php?topic=1562.0

 

This is off-topic to this thread, but we had a second concern as to why data did not seem to have been flushed to disk, even though it had idled long enough to spin down.  It doesn't seem as if there should be any transactions left, after a few seconds of inactivity.

 

This is off-topic to this thread, but we had a second concern as to why data did not seem to have been flushed to disk, even though it had idled long enough to spin down.  It doesn't seem as if there should be any transactions left, after a few seconds of inactivity.

The journal entries seem to have been flushed/written, but the subsequent "commit" entry did not seem to be, even though the disk was idle long enough to spin down before the power failure occurred.  That was puzzling.

 

As you said, it probably warrants a separate thread.

 

Joe L.

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.