SOLVED Error Received: Please help Guru

Status
Not open for further replies.

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
Hi FreeNAS Gurus,

I'm new to FreeNAS and I setup one for our family business. Currently, I received an error and one folder is currently not readable (See attached file)?
Screen Shot 2018-03-14 at 9.27.07 AM.png


Screen Shot 2018-03-14 at 9.27.19 AM.png


What can I do to restore it? We have important files there. :(

Under Storage> Volume Manager>, When I clicked Manual Setup, I saw that storage (see attached file).
Screen Shot 2018-03-14 at 9.34.09 AM.png


Can I add it? Are my files in there? Can you recommend this to restore my files?

Thank you in advance!

Michelle
 
Last edited by a moderator:

Zredwire

Explorer
Joined
Nov 7, 2017
Messages
85
Did this happen right after a reboot or power failure?
 
Joined
Apr 9, 2015
Messages
1,258
I would suggest posting hardware information and the output of 'zpool status' in code tags.

The images show nothing that will help troubleshoot really.
 

Redcoat

MVP
Joined
Feb 18, 2014
Messages
2,925
For hardware information, please give the details of the server motherboard, CPU, memory, the hard drives used for devastator, and the boot drive/device that has the FreeNAS OS on it. Also, what version of FreeNAS is in use. A good start for this information is on the System, Information page of the FreeNAS GUI, like this:

upload_2018-3-14_4-57-37.png


For the output of "zpool status", open the Shell window from the list on the LHS of the GUI, use the size dropdown at the bottom to maximize the size of the window, type "zpool status" on the command line (no quotes) and hit Enter. You should see information similar to this below:

upload_2018-3-14_5-0-30.png


Click the "code" button on the line above your message to get the code tags to appear .

Copy and paste the information from the shell display in between the tags:
Code:
[root@freenasmini ~]# zpool status																								
  pool: Volume1																													
 state: ONLINE																													
  scan: scrub repaired 0 in 0 days 03:32:22 with 0 errors on Thu Mar  1 07:32:34 2018											
config:																															
																																
	   NAME											STATE	 READ WRITE CKSUM												
	   Volume1										 ONLINE	   0	 0	 0												
		 raidz2-0									  ONLINE	   0	 0	 0												
		   gptid/9be4e735-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0												
		   gptid/9c5d498b-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0												
		   gptid/9cd608c6-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0												
		   gptid/9d534430-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0												
																																
errors: No known data errors																										
																																
  pool: freenas-boot																												
 state: ONLINE																													
status: One or more devices are configured to use a non-native block size.														
	   Expect reduced performance.																								
action: Replace affected devices with devices that support the																	
	   configured block size, or migrate data to a properly configured															
	   pool.																													
  scan: scrub repaired 0 in 0 days 00:01:12 with 0 errors on Tue Mar 13 03:46:12 2018											
config:																															
																																
	   NAME										  STATE	 READ WRITE CKSUM													
	   freenas-boot								  ONLINE	   0	 0	 0													
		 gptid/1ed7c42c-8ec4-11e4-869d-d0509946c5e6  ONLINE	   0	 0	 0  block size: 512B configured, 4096B native		
																																
errors: No known data errors																										
[root@freenasmini ~]#
 

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
For hardware information, please give the details of the server motherboard, CPU, memory, the hard drives used for devastator, and the boot drive/device that has the FreeNAS OS on it. Also, what version of FreeNAS is in use. A good start for this information is on the System, Information page of the FreeNAS GUI, like this:

View attachment 23337

For the output of "zpool status", open the Shell window from the list on the LHS of the GUI, use the size dropdown at the bottom to maximize the size of the window, type "zpool status" on the command line (no quotes) and hit Enter. You should see information similar to this below:

View attachment 23338

Click the "code" button on the line above your message to get the code tags to appear .

Copy and paste the information from the shell display in between the tags:
Code:
[root@freenasmini ~]# zpool status																							   
  pool: Volume1																												   
 state: ONLINE																												   
  scan: scrub repaired 0 in 0 days 03:32:22 with 0 errors on Thu Mar  1 07:32:34 2018										   
config:																														   
																															   
	   NAME											STATE	 READ WRITE CKSUM											   
	   Volume1										 ONLINE	   0	 0	 0											   
		 raidz2-0									  ONLINE	   0	 0	 0											   
		   gptid/9be4e735-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0											   
		   gptid/9c5d498b-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0											   
		   gptid/9cd608c6-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0											   
		   gptid/9d534430-bd6a-11e4-8c34-d0509946c5e6  ONLINE	   0	 0	 0											   
																															   
errors: No known data errors																									   
																															   
  pool: freenas-boot																											   
 state: ONLINE																												   
status: One or more devices are configured to use a non-native block size.													   
	   Expect reduced performance.																							   
action: Replace affected devices with devices that support the																   
	   configured block size, or migrate data to a properly configured														   
	   pool.																												   
  scan: scrub repaired 0 in 0 days 00:01:12 with 0 errors on Tue Mar 13 03:46:12 2018										   
config:																														   
																															   
	   NAME										  STATE	 READ WRITE CKSUM												   
	   freenas-boot								  ONLINE	   0	 0	 0												   
		 gptid/1ed7c42c-8ec4-11e4-869d-d0509946c5e6  ONLINE	   0	 0	 0  block size: 512B configured, 4096B native	   
																															   
errors: No known data errors																									   
[root@freenasmini ~]#
Noted.

See details below.
Screen Shot 2018-03-14 at 10.54.53 PM.png


Screen Shot 2018-03-14 at 10.58.19 PM.png


I hope you guys can help me restore my files.

Thanks,
Michelle
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
What about the output of zpool import? And if you have important files there, why are you using single-disk pools without any redundancy?
 

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
What about the output of zpool import? And if you have important files there, why are you using single-disk pools without any redundancy?

Hi danb35,

Please see zpool import results. Do I have a chance of recovery? :(

Screen Shot 2018-03-15 at 9.10.27 AM.png

I hope you have better resolution. I'm still not declaring as data loss but I need to report tomorrow. :(

Looking forward to a positive response...
 

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
Based on the details I posted here, can we say that I can proceed to Manual Setup? That I will see my data there knowing it says that "corrupted data". At least, I have files to see there... :(
Screen Shot 2018-03-15 at 9.21.55 AM.png


Thanks in Advance!
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
Unlikely.

No, "manual setup" would create a new volume, destroying any data on your existing drive.

What's the result of doing zpool import -Ffn Sales? And I again ask,

Screen Shot 2018-03-15 at 9.46.53 AM.png


if the status is true, am I gonna see my files to its state as of Sat Mar 3? After this command, Can I see my files already?

I'm using single-disk pools because I ran out of money. :( After we recover this, I'll make sure I'll do that recommendation.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
if the status is true, am I gonna see my files to its state as of Sat Mar 3?
That's what it looks like. The -n flag on that command told the system to just see if it could import the pool, not to actually import it. To import the pool, do zpool import -Ff Sales. If that succeeds, then do zpool export Sales, and then use the Import Volume button in the GUI to import the pool.
I'm using single-disk pools because I ran out of money.
No matter how limited the budget (which I do understand), storing important data on a pool without redundancy or backups is a bad idea--you really need both. Redundancy will protect against disk failure, but not against things like inadvertently deleting the wrong file.
 

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
That's what it looks like. The -n flag on that command told the system to just see if it could import the pool, not to actually import it. To import the pool, do zpool import -Ff Sales. If that succeeds, then do zpool export Sales, and then use the Import Volume button in the GUI to import the pool.
No matter how limited the budget (which I do understand), storing important data on a pool without redundancy or backups is a bad idea--you really need both. Redundancy will protect against disk failure, but not against things like inadvertently deleting the wrong file.

Screen Shot 2018-03-15 at 11.31.06 AM.png

I hope this command succeeds?

From Import Volume, I can't get further...
Screen Shot 2018-03-15 at 11.29.17 AM.png

Screen Shot 2018-03-15 at 11.29.52 AM.png

Screen Shot 2018-03-15 at 11.29.52 AM.png


Should I use Import Disks?
Screen Shot 2018-03-15 at 11.34.24 AM.png



I understand, moving forward, I'll do that after this incident.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
Yes, that's showing success.

No, that would be for importing data from a disk with a different format. It might be that the GUI is confused about whether the pool is already imported. Can you just reboot?

Hi danb35,

I'll schedule a planned downtime after 5 hours and give you update.
Hope everything will be fine. :)
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
In the meantime, do zpool import Sales and see if you can see your data from the CLI. I wouldn't expect it to be visible in your shared drives and such, but you can still confirm the data is there.
 

tikas tribe

Dabbler
Joined
Mar 3, 2018
Messages
10
Hi danb35,

I'll schedule a planned downtime after 5 hours and give you update.
Hope everything will be fine. :)


Hi danb35,

After server reboot, I finally saw our Sales files! I did not proceed with the GUI because it works!
Screen Shot 2018-03-15 at 9.43.40 PM.png


Thank you so much danb35! I hope this incident and procedure we did can help other members in the future.
Thank you forum gurus!!! This is closed.




OT: I have other issue but I'll create another thread for this.
Screen Shot 2018-03-15 at 9.43.33 PM.png
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Glad this is resolved. The issue with Finance looks like there is some data loss, but it will remain to be seen how much.
 

wblock

Documentation Engineer
Joined
Nov 14, 2014
Messages
1,506
Please back up your data immediately, then consider hard drive redundancy and backup procedures for the future. Also, putting the error message encountered in the Subject of the thread will help to attract readers experienced with that error.
 
Status
Not open for further replies.
Top