A few quick questions

Status
Not open for further replies.

platinumjsi

Dabbler
Joined
Oct 13, 2015
Messages
49
Hi Guys,

New here and new to FreeNas, Finally got my box set up as I want it but I have a few small issues left I was hoping you could help with.

I will say this is a small setup for a home media server.

First question, I have started copying over data from my old Windows box and I notice the size on disk value is a lot higher than the size value, any idea why this could be?, Picture below, the data on the left is from the data on the FreeNas box, on the right from the Windows box, data is identical.

https://i.imgur.com/1exVAKc.png

Checking volumes on the webgui FreeNas is reporting that the dataset this is in is 92gb in size?
So I assume that there is not actually 133gb of data on the drives?, should I be worried? a setting wrong somewhere perhaps?

Next I have a folder that keeps reappearing, I delete it, Windows has no issue with that, I hit F5 and its back? Creating other new folders and deleting them work fine?
This was a folder I was using for a test share in the past so not sure if that's the issue?

Next when I try to create dataset called test I am told I cant because it already exists, however looking in volume manager there isn't one listed? I did have one previously that I deleted called test, something gone wrong in the deletion process?


Lastly I have created a guest share to a folder in my dataset, when I browse to my freenas box from a machine I havent authenticated on I get asked for credentials when clicking the box, I cant even see the guest share? Typing guest into the username and leaving the password blank works and I can read the files of the shared folder and then get asked for credentials if I try to access the main share. Also if I then enter the credentials for the main share it fails, I have to clear connections in windows with the Net Use / delete command and log in with my credentials by clicking the freenas box.

Is this normal? I would expect to be able to click the freenas box, see the shares, get asked for credentials for my share and get access to the guest share?

Thanks in advance guys :)
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
First question, I have started copying over data from my old Windows box and I notice the size on disk value is a lot higher than the size value, any idea why this could be?, Picture below, the data on the left is from the data on the FreeNas box, on the right from the Windows box, data is identical.

https://i.imgur.com/1exVAKc.png

Checking volumes on the webgui FreeNas is reporting that the dataset this is in is 92gb in size?
So I assume that there is not actually 133gb of data on the drives?, should I be worried? a setting wrong somewhere perhaps?

Long story short, there's not actually 133GB of data.

In more detail, this is most likely a bug with Windows 8 and up, where it's reporting 1MB as the minimum size on disk. A folder with lots of small files can therefore balloon in size to multiple GBs. On Windows 7, size on disk is apparently reported correctly. Others on the forum have seen the same thing. At the end of the day, you shouldn't be looking at what Windows is saying, but check on the FreeNAS system itself, and what it's saying.

Next I have a folder that keeps reappearing, I delete it, Windows has no issue with that, I hit F5 and its back? Creating other new folders and deleting them work fine?
This was a folder I was using for a test share in the past so not sure if that's the issue?

Next when I try to create dataset called test I am told I cant because it already exists, however looking in volume manager there isn't one listed? I did have one previously that I deleted called test, something gone wrong in the deletion process?

This is odd. I'm wondering if they are related. Can you post you debug info? The instructions are in the forum rules.

Lastly I have created a guest share to a folder in my dataset, when I browse to my freenas box from a machine I havent authenticated on I get asked for credentials when clicking the box, I cant even see the guest share? Typing guest into the username and leaving the password blank works and I can read the files of the shared folder and then get asked for credentials if I try to access the main share. Also if I then enter the credentials for the main share it fails, I have to clear connections in windows with the Net Use / delete command and log in with my credentials by clicking the freenas box.

Is this normal? I would expect to be able to click the freenas box, see the shares, get asked for credentials for my share and get access to the guest share?

It sounds like you are confused about what a guest share should be. A guest share, in FreeNAS parlance, would be a share than anyone has access to. You should not need to put in credentials to access a guest share.

Also, I would say it's best practices to only share the root of a dataset, not a subfolder in that dataset.
 

platinumjsi

Dabbler
Joined
Oct 13, 2015
Messages
49
Ok thanks so I wont worry about what Windows is reporting then :)

There is a number of files outputted when I run debug, do you want the lot? Should I PM it you? I assume it may contain data about my system best not shared with everyone?

The share I only really need about 4 times a year, I have all my files in there and want to give read only access to a couple of folders a few times a year, this works but it would be better if users could see and read the new share and not the main one without needed to type guest in at the promt, no biggie though, just used to it working like that coming from a Windows background, I understand things work differently and will continue my research and hopefully I can get things working as I want :)
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
I'm pretty sure the debug output is sanitized, but I'm really only after your dataset information. You can just paste the output of the following two commands (make sure you put them in code tags), and that would be enough for now:

zpool status -v
zfs list
 

platinumjsi

Dabbler
Joined
Oct 13, 2015
Messages
49
Code:
pool: RaidZ2_Files
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
RaidZ2_Files ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/98dc8ce5-710e-11e5-b31d-d0509979a56b ONLINE 0 0 0
gptid/99be3bbb-710e-11e5-b31d-d0509979a56b ONLINE 0 0 0
gptid/9a93eb77-710e-11e5-b31d-d0509979a56b ONLINE 0 0 0
gptid/9b68ad3c-710e-11e5-b31d-d0509979a56b ONLINE 0 0 0
gptid/9c40e3d0-710e-11e5-b31d-d0509979a56b ONLINE 0 0 0
gptid/9d0f4bfc-710e-11e5-b31d-d0509979a56b ONLINE 0 0 0

errors: No known data errors

pool: freenas-boot
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
freenas-boot ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
da0p2 ONLINE 0 0 0
da1p2 ONLINE 0 0 0

errors: No known data errors


Code:
NAME USED AVAIL REFER MOUNTPOINT
RaidZ2_Files 92.4G 13.9T 192K /mnt/RaidZ2_Files
RaidZ2_Files/.system 14.0M 13.9T 208K legacy
RaidZ2_Files/.system/configs-5ece5c906a8f4df886779fae5cade8a5 280K 13.9T 280K legacy
RaidZ2_Files/.system/cores 1.38M 13.9T 1.38M legacy
RaidZ2_Files/.system/rrd-5ece5c906a8f4df886779fae5cade8a5 192K 13.9T 192K legacy
RaidZ2_Files/.system/samba4 9.21M 13.9T 9.21M legacy
RaidZ2_Files/.system/syslog-5ece5c906a8f4df886779fae5cade8a5 2.76M 13.9T 2.76M legacy
RaidZ2_Files/Files 91.4G 13.9T 91.4G /mnt/RaidZ2_Files/Files
RaidZ2_Files/jails 984M 13.9T 240K /mnt/RaidZ2_Files/jails
RaidZ2_Files/jails/.warden-template-pluginjail 576M 13.9T 576M /mnt/RaidZ2_Files/jails/.warden-template-pluginj
ail
RaidZ2_Files/jails/plexmediaserver_1 408M 13.9T 978M /mnt/RaidZ2_Files/jails/plexmediaserver_1
freenas-boot 739M 13.4G 31K none
freenas-boot/ROOT 723M 13.4G 25K none
freenas-boot/ROOT/FreeNAS-9.3-STABLE-201509282017 721M 13.4G 515M /
freenas-boot/ROOT/Initial-Install 1K 13.4G 510M legacy
freenas-boot/ROOT/Wizard-2015-10-10_16:14:54 1K 13.4G 510M legacy
freenas-boot/ROOT/Wizard-2015-10-10_16:21:44 1K 13.4G 510M legacy
freenas-boot/ROOT/Wizard-2015-10-10_18:35:24 1K 13.4G 511M legacy
freenas-boot/ROOT/Wizard-2015-10-11_14:46:54 1K 13.4G 513M legacy
freenas-boot/ROOT/Wizard-2015-10-11_15:51:03 1K 13.4G 513M legacy
freenas-boot/ROOT/Wizard-2015-10-11_16:05:42 1K 13.4G 513M legacy
freenas-boot/ROOT/Wizard-2015-10-11_16:34:12 1K 13.4G 513M legacy
freenas-boot/ROOT/Wizard-2015-10-11_17:26:18 1K 13.4G 513M /
freenas-boot/ROOT/Wizard-2015-10-11_20:32:33 1K 13.4G 513M /
freenas-boot/ROOT/Wizard-2015-10-11_20:57:12 1K 13.4G 513M /
freenas-boot/ROOT/Wizard-2015-10-12_19:26:05 1K 13.4G 514M /
freenas-boot/ROOT/Wizard-2015-10-12_21:48:04 1K 13.4G 514M /
freenas-boot/ROOT/default 2.52M 13.4G 513M legacy
freenas-boot/grub 13.8M 13.4G 6.80M legacy
[root@freenas ~]#
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
So, it looks like you only have one dataset: Files. Is that correct? My guess is that you would be well served to make multiple child datasets.

There is clearly not a test dataset on your system, so yeah, it could have been something gone wrong in the delete process.
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
Yeah, I'd say that means FreeNAS thinks that it's still there. Must be something in its database. I'm not sure how to remove it manually without causing more problems.
 
Status
Not open for further replies.
Top