Multiple directories with same name

Status
Not open for further replies.

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
I am completely new to to FreeNas. I'd actually pay someone to help at this point as I have definitely messed up my install.

Specifically: I have about 1.2 TB of data on a 6b zRaid install. I somehow duplicated afp share points, or something, and now the box thinks it's full. I can't mount the whole volume on my my mac to get rid of the duplicates. I realize I have no idea how FreeBSD/Freenas handles directories, it's obviously different from what I've worked with before.

I fully accept that I am way over my head and I hope someone might be able to help and do so understanding that I know I don't what I'm doing..... I had it all working fine at one point using the wizard.

I really don't want to create a new volume as I'll lose data at this point.

Thanks for any help.
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Your very FIRST step should be to get some form of a backup of your data.
Even if you are having no issues, your FreeNAS machine should never be
depended upon for 100% data integrity.
 

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
Thanks BigDave. The main problem I have to solve to do that is to get an afp share that will allow me to back up that data.
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Perhaps a factory restore (takes your configuration back to default settings) is a consideration.
Then starting from a clean state to create a proper AFP share?
Let's wait until someone confirms this, my confidense is low with regards to shares:confused:
 

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
I really appreciate the suggestion.
Let's see if that's the route.....
Thanks again.
 

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
I'll clarify - I've made several afp share points and they are now conflicting with each other. Somehow the content on the NAS got duplicated and it now is giving an error as 90% full.
Please message me if you are in the Glendale/Burbank area, I'd be willing to pay an expert to fix this
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
What does zfs list, zpool status show you? Post output in code tags please so it preserves formatting. Next try to explain what afp shares you have created.
 

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
What does zfs list, zpool status show you? Post output in code tags please so it preserves formatting. Next try to explain what afp shares you have created.
How do I get that data? Please let me know and I'll forward it.
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Using the shell in the GUI you can enter those commands and should get output.
 

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
Using the shell in the GUI you can enter those commands and should get output.

Sweet and Low, thanks for the explanation. Hopefully I pasted this correctly. I put screenshots of the multiple directories, followed by the current AFP share..... The only directory I really need is called 'Nic' inside of 'Nicbox'

Code:
nt/Nasbox/Nicbox                                                               
Nasbox/jails                                             1.43G   805K   165K  /m
nt/Nasbox/jails                                                                
Nasbox/jails/.warden-template-pluginjail                  506M   805K   498M  /m
nt/Nasbox/jails/.warden-template-pluginjail                                    
Nasbox/jails/.warden-template-pluginjail--x64             506M   805K   498M  /m
nt/Nasbox/jails/.warden-template-pluginjail--x64                               
Nasbox/jails/plexmediaserver_2                            452M   805K   941M  /m
nt/Nasbox/jails/plexmediaserver_2                                              
freenas-boot                                              729M  13.7G    31K  no
ne                                                                             
freenas-boot/ROOT                                         713M  13.7G    25K  no
ne                                                                             
freenas-boot/ROOT/FreeNAS-9.3-STABLE-201508250051         708M  13.7G   515M  /
freenas-boot/ROOT/Initial-Install                           1K  13.7G   508M  le
gacy                                                                           
freenas-boot/ROOT/Wizard-2015-08-30_17:57:33                1K  13.7G   516M  /
freenas-boot/ROOT/Wizard-2015-08-31_20:43:05                1K  13.7G   516M  /
freenas-boot/ROOT/Wizard-2015-09-01_08:12:26                1K  13.7G   516M  /
freenas-boot/ROOT/default                                5.62M  13.7G   514M  le
gacy                                                                           
freenas-boot/grub                                        13.6M  13.7G  6.79M  le
gacy                                                                           
[root@freenas ~]#                                                              

      Nasbox                                          ONLINE       0     0   
0                                                                             
          raidz1-0                                      ONLINE       0     0   
0                                                                             
            gptid/720be5fa-38a1-11e5-9655-6805ca360343  ONLINE       0     0   
0                                                                             
            gptid/726528ca-38a1-11e5-9655-6805ca360343  ONLINE       0     0   
0                                                                             
            gptid/72bcc823-38a1-11e5-9655-6805ca360343  ONLINE       0     0   
0                                                                             
                                                                               
errors: No known data errors                                                   
                                                                               
  pool: freenas-boot                                                           
state: ONLINE                                                                 
  scan: scrub repaired 0 in 0h0m with 0 errors on Sun Aug 30 03:45:50 2015     
config:                                                                        
                                                                               
        NAME        STATE     READ WRITE CKSUM                                 
        freenas-boot  ONLINE       0     0     0                               
          da0p2     ONLINE       0     0     0                                 
                                                                               
errors: No known data errors                                                   
[root@freenas ~]#                

Screen Shot 2015-09-06 at 9.53.23 PM.png
Screen Shot 2015-09-06 at 9.53.00 PM.png
Screen Shot 2015-09-06 at 9.52.16 PM.png
Screen Shot 2015-09-06 at 9.52.08 PM.png
Screen Shot 2015-09-06 at 9.53.23 PM.png
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
lol, I have no clue what you have done to yourself. Can you explain exactly step by step what buttons you clicked in the GUI?

My thoughts are this:
1. you are sharing your root dataset, this is bad and don't do it.
2. I have no clue how or why you have created so many nested directories.
3. it looks like you only have one dataset created but i could be wrong since it's clear your copy past of zfs list didn't work very well.

You best bet would be to provide the debug file you can download from the GUI. This will give more information to what the picture looks like. You could also do a factory reset and don't wipe your data. After doing the reset you can just auto import your pool and create a single share so you can access your data.
 

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
Sweet and Low - thanks. I appreciate that you see how excellently I muffed this.
1. How do I not share my root dataset?
2. How do I provide the debug file (sorry to not know probably the most obvious stuff....)
I'll wait on your reply until I try what you suggested.
Thanks again. What I think I really need is a very simple guide to Freenas/FreeBSD, beyond the documentation in the GUI - any suggestions?
 

nic_greene

Dabbler
Joined
Sep 5, 2015
Messages
41
Basically I kept creating and deleting AFP shares.... I think I have no clue how ZFS works with data, because it created that monster, and I was thinking it's like creating a folder..... not
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
http://doc.freenas.org/

can you read this please? It will make your life and my life better.

A afp share is just a view into your remote filesystem. It is not a folder on freenas but it does look like a folder to your mac. They way you should have it configured is create a dataset for each type of data you have. For example create backup, media, user home directories datasets. Now create a new aft share for each of those. You will also want to have a jails dataset for your plex server but don't ever share that dataset or modify it in any way. If you can see the jail files from your mac something is wrong.
 
Status
Not open for further replies.
Top