Can't access my fileshare

Status
Not open for further replies.

nikgundlach

Cadet
Joined
Aug 2, 2018
Messages
7
I Installed FreeNas 11.1 with 1, 2tb drive. It was working great, and I copied a bunch of data that I had over the drive. I then shut down FreeNas, installed 2 more 2tb hard drives. Turned the system on and now I can't access my data on the original drive. So I didn't set up any of the other drives, didn't import or run the wizard because I don't want to loose the data that is on the Original drive. Like a dummy I didn't backup the data I xfered. So I reinstalled FreeNas 11.1 and imported the drive. So now I can map the drive in windows, however non of the data is there. I can see that drive has used 28% space, and I can see the multiple folders that I created, for example \mnt\games, but I just can't access them from windows. What am I doing wrong? I'm so frustrated I feel like it should be a stupid easy fix. Any help is appreciated, and I'm new to the FreeNas thing and to posting on forums so please forgive me.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
STAHP PUSHING BUTTONS!
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Ok now that I have that out of the way. I need to output of a few commands. Please use code tags when posting command output. Its the cmd button on the top of the post that your writing.
lspci
gpart list
zpool list -v
I should also point out that you need to include you FULL EXACT DETAILS of your system when requesting assistance. This includes at least the things you see in my signature.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Side note, the linked documentation does not tell you where to access this spiffy shell window. Just incase you don't already see it, it close to the bottom on the left hand menu.
 

nikgundlach

Cadet
Joined
Aug 2, 2018
Messages
7
I'm currently at work, I can get the info that is in your signature this evening. As far as the shell goes I know where to find it, and I'll post the output when I get home as well. Thank you for your help :)
 

nikgundlach

Cadet
Joined
Aug 2, 2018
Messages
7
System is as follows:
Dell Inpiron 570
09146-1 Motherboard
BIOS A05
Processor AMD Athlon II X2 250
8GB 1066 DDR 3 Ram
1 2TB Seagate HDD
 

nikgundlach

Cadet
Joined
Aug 2, 2018
Messages
7
Code:
[root@freenas ~]# lspci																											
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS880 Host Bridge														  
00:01.0 PCI bridge: Dell Device 9602																								
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3)								
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]					  
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller							  
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller										  
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller								
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller							  
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller										  
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller								
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)											  
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)											  
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller									
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge												
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor HyperTransport Configuration						  
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Address Map											
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor DRAM Controller										
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Miscellaneous Control								
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 10h Processor Link Control										  
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4200]									
01:05.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] RS880 HDMI Audio [Radeon HD 4200 Series]							  
02:00.0 Ethernet controller: Broadcom Limited NetLink BCM57788 Gigabit Ethernet PCIe (rev 01)		

Code:
first: 40																														  
entries: 152																														
scheme: GPT																														
Providers:																														
1. Name: ada2p1																													
   Mediasize: 2147483648 (2.0G)																									
   Sectorsize: 512																												
   Stripesize: 4096																												
   Stripeoffset: 0																												
   Mode: r1w1e1																													
   rawuuid: ee5d69ee-98d6-11e8-ac86-d4bed9c4ad5d																					
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b																					
   label: (null)																													
   length: 2147483648																											  
   offset: 65536																													
   type: freebsd-swap																											  
   index: 1																														
   end: 4194431																													
   start: 128																													  
2. Name: ada2p2																													
   Mediasize: 1998251360256 (1.8T)																								
   Sectorsize: 512																												
   Stripesize: 4096																												
   Stripeoffset: 0																												
   Mode: r0w0e0																													
   rawuuid: ee731434-98d6-11e8-ac86-d4bed9c4ad5d																					
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b																					
   label: (null)																													
   length: 1998251360256																											
   offset: 2147549184																											  
   type: freebsd-zfs																												
   index: 2																														
   end: 3907029119																												
   start: 4194432																												 
Consumers:																														
1. Name: ada2																													  
   Mediasize: 2000398934016 (1.8T)																								
   Sectorsize: 512																												
   Stripesize: 4096																												
   Stripeoffset: 0																												
   Mode: r1w1e2

Code:
root@freenas ~]# zpool list -v																									
NAME									 SIZE  ALLOC   FREE  EXPANDSZ   FRAG	CAP  DEDUP  HEALTH  ALTROOT						
Serverstorage						   1.81T   509G  1.32T		 -	 0%	27%  1.00x  ONLINE  /mnt							
  gptid/3d0e5588-969a-11e8-a394-d4bed9c4ad5d  1.81T   509G  1.32T		 -	 0%	27%										  
freenas-boot							28.5G   849M  27.7G		 -	  -	 2%  1.00x  ONLINE  -							  
  da4p2								 28.5G   849M  27.7G		 -	  -	 2%						
 
Last edited by a moderator:

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
I see you are using the CMD tags.just like I said. Now forget that and use the code tag. OOPS :confused:
Ok thats a good start, we know the disk has a ZFS slice on it and the pool is showing up and is ONLINE. Now let get more information:
ls -lah /mnt/*/
This will show us all of your mounted pools, datasets, and top level folders. If we see what we need, it should be trivial to use that path to make a SMB share.
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
If you're still stuck please post a screenshot of your smb shares.
 

nikgundlach

Cadet
Joined
Aug 2, 2018
Messages
7
Code:
[root@freenas ~]# ls -lah /mnt/*/											   
total 18																		
drwxr-xr-x  3 1000  wheel	 3B Aug  6 16:07 .								 
drwxr-xr-x  3 root  wheel   128B Aug  6 16:07 ..								
drwxrwxr-x+ 9 1000  wheel	10B Aug  5 18:18 storage						   
[root@freenas ~]#	
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Is there anything under the storage folder?
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Next time I'll just go for the ls -R and sort it out later...
 

nikgundlach

Cadet
Joined
Aug 2, 2018
Messages
7
Code:
[root@freenas ~]# ls -lah /mnt/																									 
total 12																															
drwxr-xr-x   3 root  wheel   128B Aug  6 16:23 .																					
drwxr-xr-x  20 root  wheel	27B Aug  6 16:24 ..																				   
-rw-r--r--   1 root  wheel	 5B Aug  5 11:54 md_size																			 
drwxr-xr-x   3 Nik   wheel	 3B Aug  6 16:07 Serverstorage																		
[root@freenas ~]# ls -lah /mnt/Serverstorage/storage																				
total 266																														   
drwxrwxr-x+  9 Nik   wheel	10B Aug  5 18:18 .																					
drwxr-xr-x   3 Nik   wheel	 3B Aug  6 16:07 ..																				   
-rw-rw-rw-   1 root  wheel	 0B Aug  5 10:48 .windows																			 
drwxrwxr-x+  3 Nik   wheel	 3B Aug  3 20:39 Antivirus																			
drwxrwxr-x+  2 1001  1001	 10B Aug  5 18:18 Dylan																				
drwxrwxr-x+ 33 Nik   wheel	34B Aug  3 21:01 Games																				
drwxrwxr-x+  2 Nik   wheel	 5B Aug  3 20:46 Movies																			   
drwxrwxr-x+  5 Nik   wheel	 6B Aug  3 20:56 OS																				   
drwxrwxr-x+  6 Nik   wheel	11B Aug  3 20:40 Powersaves For AMIIBO																
drwxrwxr-x+  3 Nik   wheel	 3B Aug  3 20:45 TV Shows 
 

kdragon75

Wizard
Joined
Aug 7, 2016
Messages
2,457
Code:
[root@freenas ~]# ls -lah /mnt/*/											  
total 18																		
drwxr-xr-x  3 1000  wheel	 3B Aug  6 16:07 .								
drwxr-xr-x  3 root  wheel   128B Aug  6 16:07 ..								
drwxrwxr-x+ 9 1000  wheel	10B Aug  5 18:18 storage						  
[root@freenas ~]#	
I just noticed the "total 18". That's odd it did not output the level above... It did on mine.

So what do your samba shares look like?
 

nikgundlach

Cadet
Joined
Aug 2, 2018
Messages
7
I'm installing ubuntu to try and access the zfs drive and see if I can recover the data, if I can't I'll just cut my losses and format the HDD's and start over, but this time I'll make sure to backup my data :)
 

garm

Wizard
Joined
Aug 19, 2017
Messages
1,556
No, don’t move the drives.. the data is there but you proabobly have a simple permission issue. If you start moving the drives to a different OS just to do some troubleshooting you will increase the risk of killing your data.

There is nothing Ubuntu will give you that FreeNAS and an SSH session won’t give you..
 
Status
Not open for further replies.
Top