Need help with permissions

Status
Not open for further replies.

Simmers1974

Dabbler
Joined
Feb 18, 2015
Messages
33
Today i started to setup freenas using one hard drive. I've set up the drive and set windows shares but i can't add to the share. I see it in windows and enter the shared folder but can create a folder or put anything in it. I've quite new to this and really need help.

Snap1_zpsfm81mfxg.jpg
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553

Simmers1974

Dabbler
Joined
Feb 18, 2015
Messages
33
Hi more help needed. I created datasets for my shares and have created a user and group. On my laptop i now can acces the nas and read & write to it but i have 3 htpc's and all 3 can read the data on the nas but non will let me write to it. I'm really pulling my hair out with it, any help would be great.
 

Simmers1974

Dabbler
Joined
Feb 18, 2015
Messages
33
I'm still having trouble with my shares. today my laptop crashed and i had to reinstall windows and now i now can't write to my nas on that but could before. Why would this happen.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Okay. I'm looking through this. There are several problems:

[HARDWARE]
1) You have three zpools. All of them consist of a single disk. You have absolutely zero redundancy for your entire server.
2) You do not have SMART tests configured.
3) /dev/ada0 (your anime-share drive) has the following entry in smartctl output:
Code:
188 Command_Timeout         -O--CK   100   097   000    -    4295032849

This can indicate problems with power or data cable to drive.
4) /dev/ada1 (a WD Red Drive) is reporting multiple uncorrectable errors. It's power_cycle_count is low (81), but load_cycle_count high (181556) . This may indicate a firmware problem - needs to be wdidled. I would run a long smart test on the drive.

[SAMBA CONFIG]
You have configured your samba server to allow guest access with the user account "nobody". Your shares are owned by "Voyagerxp". You can change the user account associated with guest access to "Voyagerxp" and restart CIFS.... BUT... I see a samba panic in your logs. As well as multiple NT_STATUS_IO_TIMEOUT commands related to your Shares. So you probably have hardware problems.

[CONCLUSION]
If I were you, I'd back up my data immediately and get perform long smart tests on your drives. Swap cables connected to /dev/ada0 and see if the Command_Timout count continues to rise.
 

Simmers1974

Dabbler
Joined
Feb 18, 2015
Messages
33
/dev/ada0 (your anime-share drive) is now saying CRITICAL: The volume Anime (ZFS) state is UNKNOWN.Does this mean the data is gone. Hope not as i really need it. I've started to copy the data from the WD Red Drive to another disk so i can perform long smart tests on my drives. Then if all's good start from scratch.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
/dev/ada0 (your anime-share drive) is now saying CRITICAL: The volume Anime (ZFS) state is UNKNOWN.Does this mean the data is gone.

Once you are done backing up your data, try powering off your server and swapping out power and data cables for /dev/ada0. Most likely the drive has failed and your data is gone (unless you want to pay for data recovery).
 

Simmers1974

Dabbler
Joined
Feb 18, 2015
Messages
33
Thanks, what is the aim using WDidle3?. Should i be disabling or changing the speed on my wd red, at the moment its going through a long smart test.
 

Simmers1974

Dabbler
Joined
Feb 18, 2015
Messages
33
Right i've tested the drives and all came back fine and replaced the cables on ada0 (anime-share drive). I've added my drives and volumes, created datasets, snapshots and shares. I've kept the user and group as root, wheel and gave guest permissions but i still can't write to my shares from windows. Why or what would be wrong.
 
Last edited:

Robert Trevellyan

Pony Wrangler
Joined
May 16, 2014
Messages
3,778
what is the aim using WDidle3
The purpose is to increase the delay before the heads are parked. It was originally made available for use with WD Green drives, which shipped with very aggressive head parking and were rapidly racking up high load cycle counts. Later, some WD Red dries were shipped with aggressive head parking. Any WD Red drives shipped relatively recently should not need any adjustment, but it doesn't hurt to check them.
 
Status
Not open for further replies.
Top