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.

Having two issues. Mover hangs and the server won't reboot

Featured Replies

I started noticing some issues with my Plex server. Things like transcoder timeouts. Fast forward to now.

 

Running 6.9.1.

 

I tried to shutdown the server the other day. It hung forever, but the UI was still up. I noticed the mover was running so I issued the 'mover stop' command which worked fine. However, the server refused to shut down cleanly (and still does). I just noticed the mover hung again, so I'm hoping you guys can help.

truffle-diagnostics-20210322-1650.zip

  • Author

Okay, it seems the Mover isn't working because the files were somehow moved to the array, but never removed from the cache drive. Is there a way to clean this up without resorting to doing it manually?

  • Community Expert

Mover won't move existing files, and if files exist on source and dest you need to manually delete one of them.

  • Author

Right. This has suddenly happened to a bunch of files. I'd like to know why, and if possible, a way to fix it without having to compare directories manually.

57 minutes ago, flyize said:

Right. This has suddenly happened to a bunch of files. I'd like to know why, and if possible, a way to fix it without having to compare directories manually.

 

Suppose you have a Cache:yes User share called, say "Media". If you have an application that writes new files to /mnt/cache/Media they will be moved to the array when the Mover runs. However, if a file of the same name already exists on the array you will have a duplicate that can't be moved. The solution would be to make sure the application writes to /mnt/user/Media instead. Then, when a file with the same name as an existing one is stored the old file will be overwritten. I'm not saying that's necessarily what's happening in your case, but it would explain what you're seeing.

 

  • Author

I think I understand all that. With the exception of the last couple of weeks, everything has worked well for months. (And I haven't changed anything that I'm aware of.)

Edited by flyize

Did you had unclean shutdowns or cache FS issues ? This might have caused a copied files not being deleted from the source.

  • Author

Yeah, the server won't shutdown cleanly. I'm not sure if these items are related, which is why I mentioned it.

If the server fails to shut down cleanly it should leave a log on the boot flash device, in the logs directory (i.e. /boot/logs from the Unraid command line).

 

  • Author

I *think* I got it working.

 

Not sure if this was required but I got it booted in safe mode, brought the array up in maintenance mode, and ran xfs_repair on all the drives. Everything seems to shutdown and reboot normally now.

 

I was also able to use a 'finddupes' script here to locate all the duplicate files and remove them from the cache drive.

Did xfs_repair find any file system corruption? I see no evidence of it in your diagnostics but I do see a lot of this:

 

Mar 19 17:30:36 Truffle kernel: EDAC sbridge: Seeking for: PCI ID 8086:0e79
Mar 19 17:30:36 Truffle kernel: EDAC sbridge: Seeking for: PCI ID 8086:0e6a
Mar 19 17:30:36 Truffle kernel: EDAC sbridge: Seeking for: PCI ID 8086:0e6b

 

I don't know if it's bad or benign (either way, it's verbose) and a quick search didn't reveal much. I know that EDAC is usually associated with ECC RAM but this seems to be scanning the PCI bus. The 8086 manufacturer IDs suggest Intel but the unit IDs don't match anything in your lspci.txt. Maybe someone else can shed some light.

 

  • Author

I didn't see any obvious errors to suggest file system corruption, no.

 

edit: This suggests that I have ECC enabled in the BIOS. The server doesn't have KVM, should I drag it down and check to see if ECC is enabled?

http://forums.debian.net/viewtopic.php?f=5&t=141551

Edited by flyize

  • 2 weeks later...
  • Author

Okay, I'm still seeing this issue. I was unable to reboot last night and had to power the server off and back on. Now I turned on the Mover, and it's hung. Can anyone help?

 

 

truffle-diagnostics-20210406-0841.zip

  • Author

It appears that it took the Mover about 3 hours to move a 2GB file. What could be going on here?

  • Community Expert

Unrelated but your appdata share has files on the array.

 

1 hour ago, flyize said:

It appears that it took the Mover about 3 hours to move a 2GB file. What could be going on here?

Don't see anything like that in your previous diagnostics. Post new diagnostics.

  • Author

Attached. Although after some thought, I have an idea what the issue might be. I added a new drive. Unfortunately its a shingled drive. I think when Mover runs, it very quickly overwhelms the cache on the SMR drive (cache drive is 1TB). Does that seem logical? If so, would that somehow prevent the machine from properly rebooting?

truffle-diagnostics-20210406-1522.zip

3 hours ago, flyize said:

its a shingled drive. I think when Mover runs, it very quickly overwhelms the cache on the SMR drive (cache drive is 1TB). Does that seem logical?

 

The Mover makes sequential writes to the array, not random ones, so the persistent cache should see little use. If the drive can write directly to a shingled band it will do so. SMR disks work rather better in Unraid than in typical RAID applications, which is fortunate because you don't have just one, you have several. Parity 2 is one of them so maybe that's the problem. I don't mind using them as data disks (where there's an advantage to doing so) but I'm less enthusiastic about using them for parity.

 

  • Author
30 minutes ago, John_M said:

 

The Mover makes sequential writes to the array, not random ones, so the persistent cache should see little use. If the drive can write directly to a shingled band it will do so. SMR disks work rather better in Unraid than in typical RAID applications, which is fortunate because you don't have just one, you have several. Parity 2 is one of them so maybe that's the problem. I don't mind using them as data disks (where there's an advantage to doing so) but I'm less enthusiastic about using them for parity.

 

Well that's interesting. Is it worth moving disks around so that I don't an SMR drive in parity?

 

edit: Mover is still running from this morning. It looks like its taking about 1.5 hours to move a ~2GB file.

Edited by flyize

  • Community Expert

That's too slow even for SMR, but that specific model has been known to suffer from very bad performance in some cases, you'd need to do some tests to see if it's a specif disk, but yeah if possible avoid SMR for parity, at least it will make it easier to test write performance between SMR and CMR array disks.

  • Author

Can I just remove the 2nd parity drive without having to rebuild parity?

 

edit: Also, I just disabled Docker and VMs, and now the Mover is flying again. Any chance that would offer clues as to what is going on?

Edited by flyize
updates

  • Community Expert
12 minutes ago, flyize said:

I just disabled Docker and VMs, and now the Mover is flying again.

Mover can't move open files

 

14 minutes ago, flyize said:

Can I just remove the 2nd parity drive without having to rebuild parity?

If the problem disk is parity2 then stop the array, unassign parity2, start the array.

  • Author

It *was* moving files, just very slowly. With Docker/VMs disabled, its moving them much faster.

  • Author

As for just ripping parity2 out, I get this message

 

[quote]Start will disable the missing disk and then bring the array on-line. Install a replacement disk as soon as possible.[/quote]

 

Can someone confirm that parity will be maintained by the other parity drive?

  • Community Expert
26 minutes ago, flyize said:

Can someone confirm that parity will be maintained by the other parity drive?

yes

 

If you aren't planning to replace parity2 then New Config without it and check the box saying parity is valid.

  • Author
34 minutes ago, trurl said:

yes

 

If you aren't planning to replace parity2 then New Config without it and check the box saying parity is valid.

My plan was going to be to move parity2 into the array, unbalance data off a non-SMR drive, then add that drive as parity2. Will that work?

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.