February 3, 20179 yr 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
February 3, 20179 yr 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.
February 3, 20179 yr Author Thanks for the reply. Here is the info you asked for. screen capture tool syslog.txt unraid-diagnostics-20170203-1018.zip
February 3, 20179 yr Community Expert Based on the screenshot I would guess a btrfs issue, do a file system check (read only) on each disk.
February 3, 20179 yr 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
February 3, 20179 yr 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
February 3, 20179 yr 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...
February 3, 20179 yr 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
February 3, 20179 yr Author Does the check repair errors it encounters? Sent from my XT1650 using Tapatalk
February 3, 20179 yr 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
February 3, 20179 yr 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.
February 4, 20179 yr Author Is there a way to reformat the drive in unRAID? Sent from my XT1650 using Tapatalk
February 4, 20179 yr 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
February 4, 20179 yr 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.
February 4, 20179 yr 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
Archived
This topic is now archived and is closed to further replies.