Help SOS

Status
Not open for further replies.

compufreak

Dabbler
Joined
Aug 27, 2018
Messages
10
Hi I am brand new to FreeNAS, and basically know the absolute minimum. All went well until about 3 a week ago when something happened to one of my HDD's. Not sure how to check and I get the following error on then when I expand my Volumes -- MainDataStore 0 (error) - Error getting available space? Status = Unknown - All my SMB shares are missing and I have about 6TB of Data on those drives? Does this mean I have lost all my data?

I also getting Critical alert : The volume MainDataStore is UNKNOWN:

I am running

FreeNAS-11.2-BETA1 on da0 - My USB Stick SANDISK 8GB
ASROCK H110M MB
16GB RAM DDR3 1600
Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz
4 x 2TB HDD's (2x 2TB WD Green SATA 3Gb/s 64 MB Cache - ada0 & ada2 respectively, and 2x 2TB, SEAGATE Video 3.5-Inch 2 TB 5900 RPM 64 MB Cache, ada1 & ada3, respectively)

I also ran this....

Code:
[root@FreakFreeNas ~]#  zpool status -v										
  pool: freenas-boot															
 state: ONLINE																
  scan: scrub repaired 0 in 0 days 00:03:19 with 0 errors on Thu Aug 23 03:48:19
 2018																		
config:																		
																				
		NAME		STATE	 READ WRITE CKSUM								
		freenas-boot  ONLINE	   0	 0	 0								
		  da0p2	 ONLINE	   0	 0	 0								
																				
errors: No known data errors																								
[root@FreakFreeNas ~]#  zpool list											
NAME		   SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG	CAP  DEDUP  HEALT
H  ALTROOT																	
freenas-boot  7.19G  1.70G  5.49G		-		 -	  -	23%  1.00x  ONLIN
E  -							



I am totally out of my depth and scared that all my data is lost?



ANY HELP WILL BE APPRECIATED...

Tx
 
Last edited:

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
First things first, the only zpool showing is your boot device. Your Vdev of 4
drives is not listed, this is bad.
Do you know the configuration of your pool AND how are they connected.
You would be doing yourself a favor by giving more details. See Forum Rules
link at the top of the page and provide as much detail as possible.
DO NOT ATTEMPT TO FIX THIS UNTIL YOU UNDERSTAND WHATS GOING ON. YOUR DATA MAY STILL BE THERE, BUT MAKING HASTY
DECISIONS MAY MAKE IT DISAPPEAR. TAKE DEEP BREATH!
 

compufreak

Dabbler
Joined
Aug 27, 2018
Messages
10
Thank you for the reply, I have followed a tutorial and created The Volume MainDataStore, then I Created four datasets each under the MainDataStore, Then created SMB Shares for those. As far as raid goes I am at a loss? If i click on storage - View Disks I can see al four drives. 2x 2TB WD Green WD20EARS SATA 3Gb/s 64 MB Cache - ada0 & ada2 respectively, and 2x 2TB, SEAGATE Video 3.5-Inch 2 TB 5900 RPM 64 MB Cache, ada1 & ada3, respectively and da0 - My USB Stick SANDISK 8GB.

If i click on Volume Manager it show Available disks 1 - 2.0 TB (4 drives, show) - It also show all 4 drives under Import Disk in the selection dropdown.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Pleas provide the output of glabel list. This will tell us what partitions are on all of your visible disks.
 

compufreak

Dabbler
Joined
Aug 27, 2018
Messages
10
Geom name: ada1p2
Providers:
1. Name: gptid/0dc9ffc6-785b-11e8-b301-7085c25a34a9
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 3902834688
length: 1998251360256
index: 0
Consumers:
1. Name: ada1p2
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0

Geom name: ada2p2
Providers:
1. Name: gptid/0e952137-785b-11e8-b301-7085c25a34a9
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 3902834688
length: 1998251360256
index: 0
Consumers:
1. Name: ada2p2
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0

Geom name: ada3p2
Providers:
1. Name: gptid/0f6fa279-785b-11e8-b301-7085c25a34a9
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 3902834688
length: 1998251360256
index: 0
Consumers:
1. Name: ada3p2
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0

Geom name: da0p1
Providers:
1. Name: gptid/445d453e-7af4-11e8-b3b5-7085c25a34a9
Mediasize: 524288 (512K)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 20480
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 1024
length: 524288
index: 0
Consumers:
1. Name: da0p1
Mediasize: 524288 (512K)
Sectorsize: 512
Stripesize: 0
Stripeoffset: 20480
Mode: r0w0e0

Geom name: ada1p1
Providers:
1. Name: gptid/0db49000-785b-11e8-b301-7085c25a34a9
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 4194304
length: 2147483648
index: 0
Consumers:
1. Name: ada1p1
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0

Geom name: ada0p1
Providers:
1. Name: gptid/0ca382e7-785b-11e8-b301-7085c25a34a9
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 4194304
length: 2147483648
index: 0
Consumers:
1. Name: ada0p1
Mediasize: 2147483648 (2.0G)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0

Geom name: ada0p2
Providers:
1. Name: gptid/0cb7712d-785b-11e8-b301-7085c25a34a9
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
secoffset: 0
offset: 0
seclength: 3902834688
length: 1998251360256
index: 0
Consumers:
1. Name: ada0p2
Mediasize: 1998251360256 (1.8T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
 

compufreak

Dabbler
Joined
Aug 27, 2018
Messages
10
root@FreakFreeNas:~ #
Code:
zpool import

pool: MainDataStore
id: 6812181877472997218
state: UNAVAIL
status: One or more devices are missing from the system.
action: The pool cannot be imported. Attach the missing
devices and try again.
see: http://illumos.org/msg/ZFS-8000-3C
config:

MainDataStore UNAVAIL insufficient replicas
5363083855383850422 UNAVAIL cannot open
gptid/0dc9ffc6-785b-11e8-b301-7085c25a34a9 ONLINE
gptid/0e952137-785b-11e8-b301-7085c25a34a9 ONLINE
gptid/0f6fa279-785b-11e8-b301-7085c25a34a9 ONLINE
root@FreakFreeNas:~ #

I seems that ada0p2 is the missing drive? How do I know which drive that is?
 
Last edited:

compufreak

Dabbler
Joined
Aug 27, 2018
Messages
10
Just a question if I load FreeNAS from scratch on a new USB, will my data then be destroyed? Or can I import the volume and datasets after re-install?
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
So you set up your four-disk pool as a stripe (similar to RAID 0), which means you have no redundancy at all--if (when) any single disk fails, you lose the pool and all the data on it. If you can't bring that disk back online, your data is gone.
 

compufreak

Dabbler
Joined
Aug 27, 2018
Messages
10
How can I do a check disk or similar? The disk is listed in BIOS and is available? Can you please help me with what I need to do to achieve this?
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Shut down your machine and check your power/data cables are not loose.
You still have not told us anything about your drives physical connections,
are they SATA, are they connected to the motherboard, etc.

All went well until about 3 a week ago when something happened to one of my HDD's.
Could you please explain this statement.
 

compufreak

Dabbler
Joined
Aug 27, 2018
Messages
10
Sorry about that, yes they are SATA Drives all connected directly to the motherboard. The BIOS reports all the drives and smart is enabled on all of them. On the POST screen the drives are all present and accounted for.

Code:
HEALTHY (2.1 TiB (28%) Used / 5.15 TiB Free)


Replaced the SATA cables and all drives and data is visible. Thanks. i am moving my data to an alternative location and then will do a setup from scratch, and readup on redundancy for the FreeNAS and set it up correctly next time round.

Thank you guys....
 
Status
Not open for further replies.
Top