deldran Posted February 3, 2017 Share Posted February 3, 2017 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 Quote Link to comment
Squid Posted February 3, 2017 Share Posted February 3, 2017 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. Quote Link to comment
deldran Posted February 3, 2017 Author Share Posted February 3, 2017 Thanks for the reply. Here is the info you asked for. screen capture tool syslog.txt unraid-diagnostics-20170203-1018.zip Quote Link to comment
JorgeB Posted February 3, 2017 Share Posted February 3, 2017 Based on the screenshot I would guess a btrfs issue, do a file system check (read only) on each disk. Quote Link to comment
Squid Posted February 3, 2017 Share Posted February 3, 2017 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 Quote Link to comment
deldran Posted February 3, 2017 Author Share Posted February 3, 2017 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 Quote Link to comment
Squid Posted February 3, 2017 Share Posted February 3, 2017 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... Quote Link to comment
JorgeB Posted February 3, 2017 Share Posted February 3, 2017 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 Quote Link to comment
deldran Posted February 3, 2017 Author Share Posted February 3, 2017 Does the check repair errors it encounters? Sent from my XT1650 using Tapatalk Quote Link to comment
deldran Posted February 3, 2017 Author Share Posted February 3, 2017 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 Quote Link to comment
John_M Posted February 3, 2017 Share Posted February 3, 2017 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. Quote Link to comment
deldran Posted February 4, 2017 Author Share Posted February 4, 2017 Is there a way to reformat the drive in unRAID? Sent from my XT1650 using Tapatalk Quote Link to comment
deldran Posted February 4, 2017 Author Share Posted February 4, 2017 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 Quote Link to comment
JorgeB Posted February 4, 2017 Share Posted February 4, 2017 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. Quote Link to comment
deldran Posted February 4, 2017 Author Share Posted February 4, 2017 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 Quote Link to comment
JorgeB Posted February 4, 2017 Share Posted February 4, 2017 Can you have a mixed format in the array. Yes, not a problem. Quote Link to comment
Recommended Posts
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.