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.

System crashing while moving data

Featured Replies

Hello Everyone.

 

I am in the process of migrating my windows based media server/desktop to unraid.  I have all my media files on an 8TB usb3.0 hard drive.  I have mounted this and via rsync have been copying the ~7.2TB of data into my 8TB pool.  I am 6.6TB into it and all the sudden if i start an rsync the system hangs and the only way to recover is a hard boot.

 

I get some text on the console monitor and then it just hangs.  The only thing I can think of is possibly an ntfs issue since the system crashed and that drive was not properly unmounted.

 

My pool is 3 drives.  2 3TB drives and 1 2TB drive.  all drives are using Btrfs.

 

I have also attached my diagnostics ZIP.

 

Any help would be appreciated.  would really prefer not to go back to windows at this point.

unraid-diagnostics-20170203-0630.zip

Install fix common problems plugin, put it into troubleshooting mode.  Do whatever you do to cause the crash.

 

Upload the last Diagnostics file and the syslog.txt file from the flash drive (logs folder) and take a picture and upload it of whatever is on the screen.

  • Community Expert

Based on the screenshot I would guess a btrfs issue, do a file system check (read only) on each disk.

Agree.  And I don't think the diagnostics you posted were the latest and greatest that was in the logs folder on the flash drive as it didn't correlate to the syslog.txt file

  • Author

sorry about that, this should be the correct one.

 

I started running a BTRFS scrub on my disks.  Hopefully it doesn't take forever, would like to get this finished up by the weekend.

unraid-diagnostics-20170203-0705.zip

sorry about that, this should be the correct one.

 

I started running a BTRFS scrub on my disks.  Hopefully it doesn't take forever, would like to get this finished up by the weekend.

It matches, but no more useful information...  Do the scrubs, see what happens...
  • Community Expert

Scrub is not the best option for this, scrub finds data corruption, not necessarily file system corruption, start the array in maintenance mode and run:

 

btrfs check /dev/mdX

 

Replace X with each disk, this should be also much faster than scrub.

 

PS: you can cancel the scrubs by running:

 

btrfs scrub cancel /mnt/diskX

 

 

 

  • Author

Does the check repair errors it encounters?

 

Sent from my XT1650 using Tapatalk

 

 

  • Author

Never mind.  My 2 TB drive is not happy.  I tried using the "--repair" switch on the check command and it was unable to repair it.

 

So now my question is this.  If I reformat that drive.  Will it break other data in the share were I am keeping my data?

 

My thought on fixing this is the following.

 

1.) Reformat the drive

2.) Perform rsync to move data from usb3 drive back into my Media share.

 

In theory rsync should see the missing files and move them again.

 

Will this work how I expect it to?

 

Sent from my XT1650 using Tapatalk

 

 

Since you have no parity disk that's about your only option. Assuming the disk is ok and error free when you re-format it then, yes, rsync will only copy the files that are missing from your user share.

 

  • Author

Is there a way to reformat the drive in unRAID?

 

Sent from my XT1650 using Tapatalk

 

 

  • Author

I figured out how.  I stopped the array.  Made the problem drive an XFS drive.  Started array.  Formatted it.  Shut down array, made it btrfs, started formatted.  Rsync is running now.

 

Sent from my XT1650 using Tapatalk

 

 

  • Community Expert

Just some observations:

 

Most users prefer XFS for data disks, it's more stable and has better recovering tools.

 

Also as you already found out, btrfs check --repair doesn't always work and is recommended only as a last resort, there are other recovery tools, like btrfs restore but may require the disk to be formatted  (after restoring data to another disk) to completely fix the file system.

 

Having said that, I really like some of the BTRFS features and already converted most of my servers from XFS (and plan on converting the remaining), just make sure you're using it on a stable and UPS protected server and are aware of its shortcomings.

 

  • Author

Thanks for the heads up.

 

Can you have a mixed format in the array.  If I wanted to move to XFS I could make my 8TB disks XFS when I add them, then drop the btrfs disks.

 

Sent from my XT1650 using Tapatalk

 

 

  • Community Expert

Can you have a mixed format in the array.

 

Yes, not a problem.

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.