September 10, 20169 yr Author I had one hell of a night with this this thing. Every single time I try to copy files from the cache drive to disk1 or vice versa, the whole system crashes. I was using SSH and just using the cp command, I tried mc, and even through Windows. No matter what the system crashes. I am waiting for the parity check to complete and I will turn on tailing and post log. And on top of all that, my dockers are all gone, despite having all the appdata in the correct folders.
September 10, 20169 yr Author Now I can't even mount my array without the whole server crashing. This is the log I get on the TV hooked up to unRAID.
September 10, 20169 yr Community Expert A XFS disk is making unRAID crash, can't see from the screenshot which one it is, but you only have one right?
September 10, 20169 yr Author Johnnie, I have disk1 and cache that are both xfs. I can get the array up in maintenance mode so I will run xfs repair again and turn on tailing before starting the array up to get a better log. I spend a better part of the night trying to back up my vm's from the failing cache drive and it kept crashing. Maybe that drive is the culprit, I just need that windows vm img off there.
September 10, 20169 yr Community Expert The screenshot cuts the start of the crash, I only noticed now /mnt/cache is mentioned at the, so it's almost certainly that one the problem.
September 10, 20169 yr Author Well my dockers are already gone; the only two I cared about were Plex and OpenVPN anyways. OPlex doesnt take much to setup and I hear OpenVPN-AS plugin is way better than the docker verison so that leaves my two VM's to salvage. My main concern is WIndows, which is a 50GB image. And ideas on how I can mount this and salvage that file or is it beyond the capabilities of unRAID?
September 10, 20169 yr Author So xfs repair is like the chkdisk for FAT systems? I am running the tail -f /var/log/syslog command from the console but when I pull the flash to veiw the log on my computer, the log is from yesterday and not capturing the most recent events. I was reading the tips on this post http://lime-technology.com/forum/index.php?topic=39257 and it doesn't mention any other steps to save the syslog.txt to the flash. Shouldn't there be something else in the syntax specifying that the log needs saved to the flash drive?
September 10, 20169 yr Community Expert So xfs repair is like the chkdisk for FAT systems? I am running the tail -f /var/log/syslog command from the console but when I pull the flash to veiw the log on my computer, the log is from yesterday and not capturing the most recent events. I was reading the tips on this post http://lime-technology.com/forum/index.php?topic=39257 and it doesn't mention any other steps to save the syslog.txt to the flash. Shouldn't there be something else in the syntax specifying that the log needs saved to the flash drive? Read that link again, and follow the link to the wiki like it recommends.
September 10, 20169 yr Author Thanks trurl! tail -f --lines=100 /var/log/syslog >/boot/syslogtail.txt I must have skimmed right over that link, my apologies. Its moot at this point as I have fixed the issue but I will add it to my notes in case the filesystem gets corrupt as I start trying to salvage my VM images again.
September 10, 20169 yr Author Everything is backed up fine from the cache drive except for the Windows VM img, which is the most critical file. root@Tower:/mnt# cp -r -v cache/VM/"Windows 7 Pro"/ /mnt/disk1/Backup/ 'cache/VM/Windows 7 Pro/' -> '/mnt/disk1/Backup/Windows 7 Pro' 'cache/VM/Windows 7 Pro/Windows ' -> '/mnt/disk1/Backup/Windows 7 Pro/Windows ' 'cache/VM/Windows 7 Pro/Windows /vdisk1.img' -> '/mnt/disk1/Backup/Windows 7 Pro/Windows /vdisk1.img' cp: error reading 'cache/VM/Windows 7 Pro/Windows /vdisk1.img': Input/output error root@Tower:/mnt# cp -r -v cache/VM/"Windows 7 Pro"/ /mnt/disk1/Backup/ 'cache/VM/Windows 7 Pro/Windows /vdisk1.img' -> '/mnt/disk1/Backup/Windows 7 Pro/Windows /vdisk1.img' cp: error reading 'cache/VM/Windows 7 Pro/Windows /vdisk1.img': Input/output error Does anyone have an ideas on how I can get this Windows image off of this failing disk? Should I just back up from inside the VM and then reinstall Windows on the new cache drive, then restore said backup?
September 10, 20169 yr Everything is backed up fine from the cache drive except for the Windows VM img, which is the most critical file. root@Tower:/mnt# cp -r -v cache/VM/"Windows 7 Pro"/ /mnt/disk1/Backup/ 'cache/VM/Windows 7 Pro/' -> '/mnt/disk1/Backup/Windows 7 Pro' 'cache/VM/Windows 7 Pro/Windows ' -> '/mnt/disk1/Backup/Windows 7 Pro/Windows ' 'cache/VM/Windows 7 Pro/Windows /vdisk1.img' -> '/mnt/disk1/Backup/Windows 7 Pro/Windows /vdisk1.img' cp: error reading 'cache/VM/Windows 7 Pro/Windows /vdisk1.img': Input/output error root@Tower:/mnt# cp -r -v cache/VM/"Windows 7 Pro"/ /mnt/disk1/Backup/ 'cache/VM/Windows 7 Pro/Windows /vdisk1.img' -> '/mnt/disk1/Backup/Windows 7 Pro/Windows /vdisk1.img' cp: error reading 'cache/VM/Windows 7 Pro/Windows /vdisk1.img': Input/output error Does anyone have an ideas on how I can get this Windows image off of this failing disk? Should I just back up from inside the VM and then reinstall Windows on the new cache drive, then restore said backup? Have you stopped the VM and then tried to copy the image?
September 10, 20169 yr Author Squid, yes I did a clean shut down and I turn off auto load. All of the other files/VMs have copied aside from this. Im guessing my VM img is written across some of these bad sectors on the drive. Is there a way to have unRAID ignore the bad sectors while copying, or perhaps another tool I can use that will ignore them? So far I have come across a utility called dd that may do what I am looking for. http://aeroquartet.com/wordpress/2012/06/06/how-to-copy-a-file-with-io-errors/ Ever have experience with this?
September 10, 20169 yr Squid, yes I did a clean shut down and I turn off auto load. All of the other files/VMs have copied aside from this. Im guessing my VM img is written across some of these bad sectors on the drive. Is there a way to have unRAID ignore the bad sectors while copying, or perhaps another tool I can use that will ignore them? So far I have come across a utility called dd that may do what I am looking for. http://aeroquartet.com/wordpress/2012/06/06/how-to-copy-a-file-with-io-errors/ Ever have experience with this? No experience. I'm going to leave this one for other people to help
September 10, 20169 yr Community Expert Never tryed myself but using DD like the link you posted should work.
September 11, 20169 yr I backup my Windows VMs from within the VM all the time. I use WHS v1 and Acronis True Image to give me backups all the time. Acronis and its "Universal Restore" is how I got one of my Windows VMs from ESXi to unRAID.
Archived
This topic is now archived and is closed to further replies.