Jump to content

Copying files to share, power outage, now 377GB disappeared


Recommended Posts

I just setup unraid a day ago. I didn't assign a parity drive yet because I want to copy everything over first then do the parity calculation last. This is for speed purposes.

 

I've been copying files over starting five hours ago. Everything was going well until the power went out. When I rebooted I noticed that only 125GB out of 500GB of my copied files remained. All the folders are intact, but most of them are empty. I understand losing the file that was copied last, but not 375GB worth that was successfully copied? Is this normal? I thought with this file system once the data is successfully copied to disk, it's safe.

 

Also, the free space count is wrong. It's telling me 12GB is used when 125GB is actually used. The read and write values also appear to have been reset to something that was set about 10 hours ago.

 

I've attached a syslog, but it's probably useless as it only contains data since I've rebooted following the power loss. I've attached a SMART report for the disk in question as well. Something notable in the SMART report:

Offline data collection status:  (0x84)	Offline data collection activity
				was suspended by an interrupting command from host.

 

which is different than the SMART report for my idle disk2 which wasn't involved in the copying process:

Offline data collection status:  (0x82)	Offline data collection activity
				was completed without error.

 

I don't know if I'm dealing with data corruption, or now a faulty drive. Should I delete everything and start the copy process over again?

 

By the way, I was using TeraCopy to do this.

syslog.txt

smart-disk1.txt

Link to comment

Now I just realized that I can no longer write to the share or disk1. I can't create files/folders nor can I delete any of the files/folders. The syslog logs my delete attempt as failed due to it being a "Read-only file system". That started happening after the power outage.

 

Something else. For some reason the free space size (1,957,920,540) now exceeds the disk size (1,953,514,552).

 

Finally, I tried to stop the array and now unraid looks to be timing out. I'm just getting "Loading..." in my browser. The tower is inaccessible. I'll have to disconnect the server and give it a hard power down.

Link to comment

After rebooting the server a "Tower login: REISERFS error" message was displayed. After checking the wiki I found the Check Disk Filesystems page. I followed the instructions there and it seems to have fixed everything.

 

So I'm up and running again. I still do have the concern of why 375GB worth of copied files were lost. If anyone could touch upon that I'd appreciate it. I'm concerned that a future power failure could result in large data loss again.

Link to comment

After rebooting the server a "Tower login: REISERFS error" message was displayed. After checking the wiki I found the Check Disk Filesystems page. I followed the instructions there and it seems to have fixed everything.

 

So I'm up and running again. I still do have the concern of why 375GB worth of copied files were lost. If anyone could touch upon that I'd appreciate it. I'm concerned that a future power failure could result in large data loss again.

Did you look in the lost+found folder that reiserfsck creates???

 

For the future, get a UPS so the array will be able to cleanly stop in a power failure.    APC brand is very easy to set up and configure via the unMENU add-on package-manager.

It looks like this:

szy8vb.jpg

Link to comment
Did you look in the lost+found folder that reiserfsck creates???

Unfortunately, there was no lost+found folder to be found after I performed the "reiserfsck --fix-fixable" command. I didn't think I'd find it considering the free space stats correctly reflected the the 377GB as gone.

 

For the future, get a UPS so the array will be able to cleanly stop in a power failure.    APC brand is very easy to set up and configure via the unMENU add-on package-manager.

It looks like this:

You're right about that. I'm thinking about getting the APC BR1500LCD 1500VA 865 Watts but the price tag is making me squirm. I'd like to find a more affordable APC solution, but it seems like this brand and "BACK-UPS" series is recommended on these forums.

Link to comment

That is the one I have APC BR1500LCD it does its job nicely.  I like the idea that the server will power down safely in a power outage.

This is less than 10% cost of my server with drives.

 

After doing some UPS reading throughout this forum I came across this March 20, 2010 thread that discussed the $40 APC Back-UPS ES 550. It's not as fancy as the $200 APC BR1500LCD, but vca says it works with unraid with his 6 drive setup. He stated the following:

 

I'm quite happy with the APC Back-UPS ES 550, the unMENU extension package has an easy installation procedure to support this UPS.  I've got an unRAID box with eight WD Green drives in it, and with all of them spun up at once the UPS reports that it is running at 37% of full load and expects to be able to run about 13.9 minutes on battery.  This UPS has a user replaceable battery pack, which appears to cost about 60% of the cost of a new unit.

 

This 330 watt APC powers a 6-drive unraid system for 14 minutes at 37% load. For real? This seems too good to be true. If my system had 10 drives and the powerdown script has to spin them up before shutting down, can this UPS unit really get the job done? I don't want to unnecessarily spend $200 on the 865 watt APC when I can get something 5 times less expensive.

Link to comment

That is the one I have APC BR1500LCD it does its job nicely.  I like the idea that the server will power down safely in a power outage.

This is less than 10% cost of my server with drives.

 

After doing some UPS reading throughout this forum I came across this March 20, 2010 thread that discussed the $40 APC Back-UPS ES 550. It's not as fancy as the $200 APC BR1500LCD, but vca says it works with unraid with his 6 drive setup. He stated the following:

 

I'm quite happy with the APC Back-UPS ES 550, the unMENU extension package has an easy installation procedure to support this UPS.  I've got an unRAID box with eight WD Green drives in it, and with all of them spun up at once the UPS reports that it is running at 37% of full load and expects to be able to run about 13.9 minutes on battery.  This UPS has a user replaceable battery pack, which appears to cost about 60% of the cost of a new unit.

 

This 330 watt APC powers a 6-drive unraid system for 14 minutes at 37% load. For real? This seems too good to be true. If my system had 10 drives and the powerdown script has to spin them up before shutting down, can this UPS unit really get the job done? I don't want to unnecessarily spend $200 on the 865 watt APC when I can get something 5 times less expensive.

My server has a few more drives.  I use the APC Back-UPS ES 750. It is their "450" Watt model.  I got it on sale for around $50 a few years ago.

 

The status report from it lists:

MODEL    : Back-UPS ES 750

LINEV    : 122.0 Volts

LOADPCT  :  37.0 Percent Load Capacity

TIMELEFT :  10.9 Minutes

 

It will sound an overload alarm for about a half second if asked to spin up all the drives when initially powering up the server, but since I have only 11 drives in my protected array it does just fine when spinning the 11 drives all up at a single time.  (I have a total of 16 drives in my server)  The 11 minutes of run-time is sufficient to shut my server down in an outage.

 

Perhaps you too can use something like it.  (APC UPS are available on e-bay all the time.  Just get one with new batteries,as they lose their ability yo hold a charge after 3 to 5 years of life.)

 

Joe L.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...