9.2.1.1 Sharing Issues (using UFS)

Status
Not open for further replies.

thepin

Cadet
Joined
Feb 22, 2014
Messages
8
Hi,

Have fresh installed 9.2.1.1.
Trying to add a volume using UFS Volume Manager, fails with error "Unable to GPT format the disk ada0".

Can successfully add the volume using Import Volume option.

Can also successfully add CIFS share. However the CIFS service cannot be started.

Error from /var/log/messages:

: FAILED
Feb 23 20:28:35 freenas notifier: No system pool configured!
Feb 23 20:28:35 freenas notifier: winbindd not running? (check /winbindd.pid).
Feb 23 20:28:35 freenas notifier: smbd not running? (check /smbd.pid).
Feb 23 20:28:35 freenas notifier: nmbd not running? (check /nmbd.pid).
Feb 23 20:28:35 freenas notifier: Performing sanity check on Samba configuration
: FAILED

I've tried to locate smb.conf but could not find it!

Any work arounds?
 

untg

Cadet
Joined
Feb 24, 2014
Messages
4
So, I just downloaded and installed FreeNAS and had the same issue, I created a share then tried to start SMB and it wouldn't start.
I would first try setting up a system pool however the way I solved it initially was to create the smb4.conf file under /etc/local/smb4.conf.
I then ran smbd in debug mode and had to create a few directories, which probably gets done once you create a system pool.

Anyways, here is my smb4.conf, I have a Data share which you 100% would probably want to change:

Code:
[global]
    server max protocol = SMB3
    encrypt passwords = yes
    dns proxy = no
    strict locking = no
    oplocks = yes
    deadtime = 15
    max log size = 51200
    load printers = no
    printing = bsd
    printcap name = /dev/null
    disable spoolss = yes
    getwd cache = yes
    guest account = nobody
    map to guest = Bad User
    obey pam restrictions = Yes
    directory name cache size = 0
    panic action = /usr/local/libexec/samba/samba-backtrace
    server string = FreeNAS Server
    store dos attributes = yes
    map archive = no
    map readonly = no
    map hidden = no
    map system = no
    hostname lookups = yes
    time server = yes
    local master = yes
    server role = standalone
    netbios name = FREENAS
    workgroup = WORKGROUP
    security = user
    pid directory = /var/run/samba
    smb passwd file = /var/etc/private/smbpasswd
    private dir = /var/etc/private
    create mask = 0666
    directory mask = 0777
    client ntlmv2 auth = yes
    dos charset = CP437
    unix charset = UTF-8
    log level = 1
 
 
[Data]
    path = /mnt/Data
    printable = no
    veto files = /.snap/.windows/.zfs/
    writeable = yes
    browseable = yes
    inherit owner = no
    inherit permissions = no
    recycle:repository = .recycle/%U
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:touch = yes
    recycle:directory_mode = 0777
    recycle:subdir_mode = 0700
    vfs objects = zfsacl streams_xattr aio_pthread
    hide dot files = no
    guest ok = yes
    inherit acls = Yes
    nfs4:mode = special
    nfs4:acedup = merge
    nfs4:chown = yes
    zfsacl:acesort = dontcare
 

thepin

Cadet
Joined
Feb 22, 2014
Messages
8
Thanks untg,

I think your solution works for ZFS? But I need to use UFS as I only have 2gb of memory!
In the end I have reverted back to version 9.2.0 as for someone like me it just too difficult to get it up and running.
 
Status
Not open for further replies.
Top