CIFS share files missing

Status
Not open for further replies.

StrayKat

Cadet
Joined
Aug 16, 2015
Messages
4
Warning upfront - I am a newbie to FreeNAS.

I had no problems creating my ZFS volumes, creating my CIFS shares and transferring my files over. When I transferred all my media files, I verified that they had in fact transferred over. It ran great for awhile, and then I tried to set up some Jails and plugins. Now after doing so, I have noticed that most of my media files have disappeared. I have since tried getting rid of the jails and updated freeNAS, but have not been able to "unhide" these files. The folder structure is still there, but the files are not. The space is still being used up on the drives, but I can not see the files.

Any suggestions on how to access these files? Let me know what you need for diagnostics and/or what commands to run in shell and I will run and copy/paste results. Thanks in advance for your help!!!
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Most likely a permission problem. I think the best way to solve this one is if you provide the debug file you download from the GUI. Who knows what changes and caused the problem so a debug file is the quickest way to see current state.
 

StrayKat

Cadet
Joined
Aug 16, 2015
Messages
4
Attached is my debug file. Thanks! :)
 

Attachments

  • debug-katsnas-20150817052957.tgz
    565.7 KB · Views: 225

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
FreeNas version: 9.2.1.9
Memory: 4GB
CPU: AMD Dual core

You have 2 pools with one drive each so you don't have any redundancy.

So without digging any deeper you need to read the minimum hardware requirements. Your system is not a good choice for running freenas and you need to change it.

as for your permission issue I'm not sure and would need to keep looking but with this poor or hardware I don't think the time to do that is worth while.
 

StrayKat

Cadet
Joined
Aug 16, 2015
Messages
4
Alright, thanks. I'll be back when I can get my mobo to recognize all 8GB that I have in there...I've got 4 sticks of 2GB each, all tested and good.
 

StrayKat

Cadet
Joined
Aug 16, 2015
Messages
4
FreeNas version: 9.2.1.9
Memory: 4GB
CPU: AMD Dual core

You have 2 pools with one drive each so you don't have any redundancy.

So without digging any deeper you need to read the minimum hardware requirements. Your system is not a good choice for running freenas and you need to change it.

as for your permission issue I'm not sure and would need to keep looking but with this poor or hardware I don't think the time to do that is worth while.


Alright, we're back in business (I hope) ... issues fixed with my mobo. It's now recognizing all 8MB RAM. Attached is my latest debug report. I'm still having the same issues trying to access my files as described above. Any help and suggestions will be greatly appreciated! Thank you! :)
 

Attachments

  • debug-freenas-20150906131321.tgz
    232.4 KB · Views: 216

Peter Jakab

Dabbler
Joined
Jun 18, 2015
Messages
37
Alright, we're back in business (I hope) ... issues fixed with my mobo. It's now recognizing all 8MB RAM. Attached is my latest debug report. I'm still having the same issues trying to access my files as described above. Any help and suggestions will be greatly appreciated! Thank you! :)

Hi!

Meet with 8GB of RAM is not mean your fully match with ALL HW recommendation:
- 4*2GB RAM modul how I see not ECC so this mean good for testing but not for production (if you have critical data - like my family pictures and video). Non-ECC RAM with single bit error will kill your complete zpool without any notification. Why because uses as write cache and also correct for wrong data in scrubs.
- Marvel LAN is not best in performance, but if you just test it: no problem. I also have in my old NAS but slow. I measures about 30-40MByte/sec on Marvel and 70MByte/sec on Intel PRO/1000 CT Gigabit (limited by my HW). On my big PC over 110MByte/sec possible. If you copy lot of big (>10GB files) you understand.
- Desktop motherboard have high current consumption (lot of not used feature running) and less speed then server motherboard based. good for temp testing but not for long term. I have 91 Watt idle consumption in my new server based HW my old one consume about 4 times more.
- Two single disk zpool is nice for testing but not for production system. In my new test system I uses mirror for testing main volume and 4disk zpool raidz2 for performance/reliability testing. I recommend you least start with testing 2 mirror or 3disk raidz1 and later just use minimal 4disk raidz2 (recommended 6 disk for speed or 8 disk for size) for production. But this is depend on you budget (you are not able add later on just initially so think before do). Actually any disk error could kill your data. I purchased 4 enterprise grade 500GB disk for performance tests in after market (cheap cost).
- For long term production dual USB boot disk recommended (thanks for mirror capability of 9.3). I have bad USB disk in past but I was config backup also. All USB have to die (just depend on time). Same size/model recommended. And third USB example I have 4GB for bootimage.
- Am I see correct e-mail not configured yet? Please also test it and use it (scrub, smart errors, any alerts/errors and recommended updates etc.)
- Be familiar with SMART commands (check status of disk like smartctl -a)
- Also you need think about different/new house which have fans front of the disks. Why because you actually overheating your disk. Recommended below 40Celsius

SMART DATA
/dev/ada1 WDC WD1600JS-75NCB1
190 Airflow_Temperature_Cel -O---K 051 045 045 Past 49
194 Temperature_Celsius -O---K 098 092 000 - 49
and
Current Temperature: 49 Celsius
Power Cycle Max Temperature: 52 Celsius
Lifetime Max Temperature: 55 Celsius

/dev/ada0 WDC WD1001FALS-00J7B0
194 Temperature_Celsius -O---K 104 100 000 - 46
and
Current Temperature: 46 Celsius
Power Cycle Min/Max Temperature: 39/48 Celsius
Lifetime Min/Max Temperature: 45/50 Celsius

I don't see to much usefully info in debug about your actual jails and access rights.
SMB2 service configured
netbios name: FREENAS
Samba share name: Media
path = /mnt/Media
guest ok = no
ea support = yes
store dos attributes = yes

I see two user:
root
Kat

I see you tested plugins:
couchpotato
sabnzbd
sickbeard
transmission
plexmediaserver

and created several datasets:
zfs create Media/movies
zfs create Media/TV
zfs create Media/Downloads
zfs create Media/Torrent-files
zfs create Media/series

but jls show no running jail at moment
+--------------------------------------------------------------------------------+
+ jls +
+--------------------------------------------------------------------------------+
JID IP Address Hostname Path

Jackson list for you:
0. If you are not familiar with Unix linux access rights learn it now: https://www.freebsd.org/doc/handbook/permissions.html
1. You need configure and enable SSH Service.
2. Login via ssh as root
3. Check access rights:
ls -la /mnt/Media and below (check also folder and file access rights)
4. chown and chmod your friends to correct it learn to use them. Be care also possible folder don't have access right for root user also. General userID=root and group=wheel if you have least read access right for others you can see those folders and files.
5. You can use also samba GUI guest access rights initially and secure down later.
6. If your files also not their could be not copied successfully. Why can space not free meanwhile the files not exist simple check your Storage/Snapshots. I see you create one of them. If I create snapshots and delete files then I don't get free space back but file not visible. Restore Snapshot (will kill new files!) or remove them (free up space).
7. Let be familiar with non critical test data before your put production traffic over that.
8. I recommend to you do not use same folder for Samba and also jail. I have /mnt/z2test volume which have folder below /mnt/z2test/z2winshare this is the samba root. The jail are in /mnt/z2test/jails (so not visible by windows - mean virus infect of your winshare not kill jails also). MiniDLNA also good to have dedicated folder /mnt/z2test/z2winshare/MYMedia (to have also samba access for put movies up). If you have more complex system you can use the Jail/Add Storage mapping in GUI. Just learn how to works.
Separating of function give you benefit of smooth file access and folder size controls. z2winshare limited to 80% of z2test volume size mean full fill the samba share not cause broken down in jails.
9. Learn, learn and learn. That is the happy FreeNAS user way.

FYI. I have Transmission jail running parallel with MiniDLNA jail. They share same files over softlinks (meanwhile my son see on DLNA TV, Transmission seed same physical file and Samba with group authentication could copy from the disk). So this is 3 different userID/group uses same file without any problems. It is complex access rights situation but just I spent lot of times in past to learn how to do.

Good Luck and Good Job to investigate:
Jackson how is write too much
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
This sounds like like a permissions issue. User will be unable to see files if he does not have the following Access Control Entries for the file and its UNC path,
  • List folder / read data
  • Read Attributes
  • Read Extended Attributes
  • Read Permissions
 
Status
Not open for further replies.
Top